Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : screenshot
Dir : e_modules/screenshot
Modified Files:
configure.in
Log Message:
Pretty standard patch set from Lutin for recent pkg-config changes in EFL...
committing in bulk.
===================================================================
RCS file: /cvs/e/e_modules/screenshot/configure.in,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- configure.in 30 Mar 2007 20:40:29 -0000 1.24
+++ configure.in 25 Apr 2007 09:22:07 -0000 1.25
@@ -96,22 +96,9 @@
#AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
#AC_SUBST(dlopen_libs)
-AC_ARG_WITH(edje-config,
-[ --with-edje-config=EDJE_CONFIG use edje-config specified ],
-[
- EDJE_CONFIG=$withval;
- echo "using "$EDJE_CONFIG" for edje-config";
-/
-],[
- PROG="edje-config";
- AC_PATH_PROG(EDJE_CONFIG, $PROG, "", $PATH)
-])
-edje_cflags=`$EDJE_CONFIG --cflags`
-edje_libs=`$EDJE_CONFIG --libs`
-AC_SUBST(edje_cflags)
-AC_SUBST(edje_libs)
+PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
-edje_cc="`$EDJE_CONFIG --prefix`/bin/edje_cc"
+edje_cc="$(pkg-config --variable=prefix edje)/bin/edje_cc"
AC_ARG_WITH(edje-cc,
[ --with-edje-cc=PATH specify a specific path to edje_cc],
[
@@ -119,7 +106,7 @@
edje_cc=$v
echo " Enlightenment edje_cc explicitly set to "$edje_cc;
],[
- edje_cc="`$EDJE_CONFIG --prefix`/bin/edje_cc"
+ edje_cc="$(pkg-config --variable=prefix edje)/bin/edje_cc"
])
AC_SUBST(edje_cc)
-------------------------------------------------------------------------
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