better Ecore_X.h detection
authordoursse <doursse>
Sun, 12 Feb 2006 22:21:29 +0000 (22:21 +0000)
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 12 Feb 2006 22:21:29 +0000 (22:21 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@20422 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.in

index f9550fd..f6b31d4 100644 (file)
@@ -123,7 +123,10 @@ AC_PATH_GENERIC(ecore, 0.9.9,
   [ ],
   [ AC_MSG_ERROR(Ecore isn't installed)]
 )
+save_CPPFLAGS=$CPPFLAGS
+CPPFLAGS="$CPPFLAGS $ECORE_CFLAGS"
 AC_CHECK_HEADERS(Ecore_X.h Ecore_Fb.h)
+CPPFLAGS=$save_CPPFLAGS
 
 AC_PATH_GENERIC(embryo, 0.9.1,
   [ ],