[libgda] Removed unnecessary test in configure.ac



commit 09df6f292001479d307dfae277f3b27665516d80
Author: Vivien Malerba <malerba gnome-db org>
Date:   Thu Sep 30 18:02:55 2010 +0200

    Removed unnecessary test in configure.ac

 configure.ac |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 77dbd3f..2806bef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -414,10 +414,7 @@ then
     PKG_CHECK_MODULES(JSON_GLIB, $JSON_GLIB_MODULES,
 	AC_DEFINE(HAVE_JSON_GLIB, [], [Defined if JSON support is enabled])
 	have_json=yes,
-	if test "$enable_json" = "yes"; then
-		AC_MSG_ERROR([JSON support requested but not found])
-	fi
-	have_json=no
+	AC_MSG_ERROR([JSON support requested but not found])
     )
 fi
 AM_CONDITIONAL(HAVE_JSON_GLIB, [test "$have_json" = "yes"])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]