Enlightenment CVS committal Author : devilhorns Project : e_modules Module : alarm
Dir : e_modules/alarm Modified Files: configure.in Log Message: Patch from Lutin for new pkg-config changes...so that modules will build against recent EFL pkg-config stuff. More of these to come. =================================================================== RCS file: /cvs/e/e_modules/alarm/configure.in,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- configure.in 4 Feb 2007 02:42:58 -0000 1.2 +++ configure.in 24 Apr 2007 12:18:41 -0000 1.3 @@ -101,22 +101,10 @@ #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], [ @@ -124,7 +112,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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs