evas_cflags="";
evas_libs="";
-AC_ARG_WITH(evas-config,
-[ --with-evas-config=EVAS_CONFIG use evas-config specified ],
-[
- EVAS_CONFIG=$withval;
- echo "using "$EVAS_CONFIG" for evas-config";
-],[
- PROG="evas-config";
- AC_PATH_PROG(EVAS_CONFIG, $PROG, "", $PATH)
+AC_ARG_WITH(evas-config, [ --with-evas-config=EVAS_CONFIG use evas-config specified ],
+[ EVAS_CONFIG=$withval;
+ echo "using "$EVAS_CONFIG" for evas-config"; ],
+[ if test -z "$EVAS_CONFIG"; then
+ AC_PATH_PROG(EVAS_CONFIG, "evas-config", "", $PATH)
+ fi
])
have_ecore_evas="no"
)
if test "x$have_ecore_config" = "xyes"; then
- AC_ARG_WITH(eet-config,
- [ --with-eet-config=EET_CONFIG use eet-config specified ],
- [
- PROG_EET_CONFIG=$withval;
- echo "using "$PROG_EET_CONFIG" for eet-config";
- ],[
- PROG="eet-config";
- AC_PATH_PROG(PROG_EET_CONFIG, $PROG, "", $PATH)
+ AC_ARG_WITH(eet-config, [ --with-eet-config=EET_CONFIG use eet-config specified ],
+ [ EET_CONFIG=$withval;
+ echo "using "$EET_CONFIG" for eet-config"; ],
+ [ if test -z "$EET_CONFIG"; then
+ AC_PATH_PROG(PROG_EET_CONFIG, "eet-config", "", $PATH)
+ fi
])
- if [ test -z "$EET_CONFIG" ]; then EET_CONFIG=$PROG_EET_CONFIG; fi
eet_cflags=`$EET_CONFIG --cflags`
eet_libs=`$EET_CONFIG --libs`
AM_CONDITIONAL(BUILD_ECORE_CONFIG, true)