Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e
Modified Files:
configure.in
Log Message:
Use pkg-config for ecore stuff.
===================================================================
RCS file: /cvs/e/e16/e/configure.in,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -3 -r1.214 -r1.215
--- configure.in 11 Jul 2007 08:32:23 -0000 1.214
+++ configure.in 18 Jul 2007 11:16:34 -0000 1.215
@@ -139,17 +139,10 @@
[ --enable-ecore use ecore functions (for testing only - DO NOT
USE!) @<:@default=no@:>@],,
enable_ecore=no)
if test "x$enable_ecore" = "xyes"; then
- AC_CHECK_LIB(ecore_x, ecore_x_init,
- [
- AC_DEFINE(USE_ECORE, 1, [Ecore list support])
- AC_DEFINE(USE_ECORE_X, 1, [Ecore_x support])
- ],[
- AC_MSG_ERROR([Cannot find ecore libraries])
- ])
- ECORE_LIBS=`ecore-config --libs-x`
- ECORE_CFLAGS=`ecore-config --cflags`
- AC_SUBST(ECORE_LIBS)
- AC_SUBST(ECORE_CFLAGS)
+ PKG_CHECK_MODULES(ECORE, ecore-x,
+ AC_DEFINE(USE_ECORE, 1, [Use libecore])
+ AC_DEFINE(USE_ECORE_X, 1, [Use libecore_x]),
+ enable_ecore=no)
fi
# Is this reasonably correct?
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs