aaaaaaaaaah fiks fiks

SVN revision: 10198
This commit is contained in:
Carsten Haitzler 2004-05-13 08:48:35 +00:00
parent 470f2d0df9
commit 55effd2d02
1 changed files with 11 additions and 17 deletions

View File

@ -552,23 +552,17 @@ if test "x$have_ecore_config" = "xyes"; then
AC_PATH_PROG(PROG_CONFIG, $PROG, "", $PATH)
])
if [ test -z "$EDB_CONFIG" ]; then EDB_CONFIG=$PROG_CONFIG; fi
AC_CHECK_LIB(edb, e_db_open,
[
edb_cflags=`$EDB_CONFIG --cflags`
edb_libs=`$EDB_CONFIG --libs`
AM_CONDITIONAL(BUILD_ECORE_CONFIG, true)
ecore_config_libs="-lecore_config";
AC_DEFINE(BUILD_ECORE_CONFIG, 1, [Build Ecore_Config Module])
AC_SUBST(edb_libs)
AC_SUBST(edb_cflags)
],
[
AC_MSG_RESULT(I can't find Edb, so I won't build ecore_config.)
AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
have_ecore_config="no"
]
)
if test -x "$EDB_CONFIG"; then
edb_cflags=`$EDB_CONFIG --cflags`
edb_libs=`$EDB_CONFIG --libs`
AM_CONDITIONAL(BUILD_ECORE_CONFIG, true)
ecore_config_libs="-lecore_config";
AC_DEFINE(BUILD_ECORE_CONFIG, 1, [Build Ecore_Config Module])
AC_SUBST(edb_libs)
AC_SUBST(edb_cflags)
else
AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
fi
else
AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
fi