Enlightenment CVS committal Author : devilhorns Project : e_modules Module : forecasts
Dir : e_modules/forecasts Modified Files: configure.in Log Message: Pkg-config patches from Lutin. =================================================================== RCS file: /cvs/e/e_modules/forecasts/configure.in,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- configure.in 31 Mar 2007 09:06:30 -0000 1.4 +++ configure.in 25 Apr 2007 09:14:01 -0000 1.5 @@ -103,22 +103,13 @@ #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` +PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0]) +edje_cflags=$EDJE_CFLAGS +edje_libs=$EDJE_LIBS AC_SUBST(edje_cflags) AC_SUBST(edje_libs) -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], [ @@ -126,7 +117,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