Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : libs/imlib2_loaders

Dir     : e17/libs/imlib2_loaders


Modified Files:
        configure.in 


Log Message:
Patch from Jerome Pinot to fix EDB detection. Makes use of pkg_check_modules
now.

===================================================================
RCS file: /cvs/e/e17/libs/imlib2_loaders/configure.in,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- configure.in        10 Jul 2007 00:13:26 -0000      1.50
+++ configure.in        15 Jul 2007 01:41:20 -0000      1.51
@@ -125,23 +125,9 @@
 
 found_edb=no
 if test "x$edb" != "xno" ; then
-       AC_ARG_WITH(edb-config, [  --with-edb-config=EDB_CONFIG    use 
edb-config specified ],
-       [ EDB_CONFIG=$withval;
-         echo "using "$EDB_CONFIG" for edb-config"; ],
-       [ if test -z "$EDB_CONFIG"; then
-           AC_PATH_PROG(EDB_CONFIG, "edb-config", "", $PATH)
-         fi
-       ])
-       if test "x$EDB_CONFIG" != "x" ; then
-               EDB_CFLAGS=`$EDB_CONFIG --cflags`
-               EDB_LIBS=`$EDB_CONFIG --libs`
-
-               SAVE_CFLAGS=$CFLAGS
-               CFLAGS="$CFLAGS $EDB_CFLAGS"
-               AC_CHECK_HEADER([Edb.h],[found_edb=yes])
-               CFLAGS=$SAVE_CFLAGS
-       fi
+        PKG_CHECK_MODULES(EDB, edb, found_edb=yes, found_edb=no)
 fi
+
 if test "x$edb$found_edb" = "xyesno" ; then
        AC_MSG_ERROR(Edb support was requested but not found)
 elif test "x$found_edb" = "xno" ; then
@@ -149,7 +135,6 @@
        EDB_CFLAGS=""
        EDB_LIBS=""
 fi
-
 
 found_eet=no
 if test "x$eet" != "xno" ; then



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to