From 020f67bffcb5cb12e443ed3a1f566704616e1460 Mon Sep 17 00:00:00 2001 From: xcomputerman Date: Tue, 23 Dec 2003 07:34:27 +0000 Subject: [PATCH] And make ecore_config build contigent upon detection of Edb SVN revision: 8198 --- legacy/ecore/configure.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/legacy/ecore/configure.in b/legacy/ecore/configure.in index 7582c56995..ba40cc155a 100644 --- a/legacy/ecore/configure.in +++ b/legacy/ecore/configure.in @@ -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