Remove --with-enlightenment-config, set E_CONFIG variable if needed.

SVN revision: 32790
This commit is contained in:
Sebastian Dransfeld 2007-11-20 06:23:48 +00:00
parent 36b6dbc3c9
commit b0821168d7
1 changed files with 1 additions and 10 deletions

View File

@ -40,16 +40,7 @@ AM_GNU_GETTEXT_VERSION(0.14)
# Checks for libraries.
AC_PATH_PROG(EDJE_CC, "edje_cc", "", $PATH)
AC_ARG_WITH(enlightenment-config,
AS_HELP_STRING([--with-enlightenment-config=E_CONFIG], [use enlightenment-config specified]),
[
E_CONFIG=$withval;
echo "using "$E_CONFIG" for enlightenment-config";
], [
PROG="enlightenment-config";
AC_PATH_PROG(E_CONFIG, $PROG, "", $PATH)
]
)
AC_PATH_PROG(E_CONFIG, "enlightenment-config", "", $PATH)
e_cflags=`$E_CONFIG --cflags`
e_libs=`$E_CONFIG --libs`
e_modules=`$E_CONFIG --module-dir`