And make ecore_config build contigent upon detection of Edb

SVN revision: 8198
This commit is contained in:
xcomputerman 2003-12-23 07:34:27 +00:00 committed by xcomputerman
parent a74a6b6a87
commit 020f67bffc
1 changed files with 7 additions and 4 deletions

View File

@ -486,8 +486,6 @@ AC_ARG_ENABLE(ecore-config,
)
if test "x$have_ecore_config" = "xyes"; then
AM_CONDITIONAL(BUILD_ECORE_CONFIG, true)
AC_DEFINE(BUILD_ECORE_CONFIG)
ecore_config_libs="-lecore_config";
AC_ARG_WITH(edb-config,
[ --with-edb-config=EDB_CONFIG use edb-config specified ],
@ -504,10 +502,15 @@ if test "x$have_ecore_config" = "xyes"; then
[
edb_cflags=`edb-config --cflags`
edb_libs=`edb-config --libs`
AM_CONDITIONAL(BUILD_ECORE_CONFIG, true)
AC_DEFINE(BUILD_ECORE_CONFIG)
AC_SUBST(edb_libs)
AC_SUBST(edb_cflags)
],
[echo "I can't find Edb, so I won't build ecore_config."
AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
]
)
AC_SUBST(edb_libs)
AC_SUBST(edb_cflags)
else
AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
fi