[gnumeric] compilation: improve gda check.



commit a1683d505f8ddda526033d1e185d09837f4c03b6
Author: Morten Welinder <terra gnome org>
Date:   Wed Nov 18 21:25:55 2009 -0500

    compilation: improve gda check.

 ChangeLog    |    5 +++++
 configure.in |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2a627f1..6072458 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-18  Morten Welinder  <terra gnome org>
+
+	* configure.in (gnomedb_msg): Disable gda if we don't have
+	required header.
+
 2009-11-17  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* autogen.sh: allow dirs on PATH to have spaces withou causing warning
diff --git a/configure.in b/configure.in
index bb96368..8eeeb75 100644
--- a/configure.in
+++ b/configure.in
@@ -416,6 +416,9 @@ if test "$try_gda" = true; then
 	PKG_CHECK_MODULES(GDA, [libgda-4.0 >= 4.1.1],
 		[gda_msg=yes],
 		[gda_msg="NO.  libgda problem"])
+	AC_CHECK_HEADER(libgda/control-center/gdaui-login-dialog.h,
+			[],
+			[gda_msg="NO.  libgda problem"])
 	if test "$gda_msg" = yes; then
 		PKG_CHECK_MODULES(GNOMEDB, [libgnomedb-4.0 >= 3.99.6],
 			[gnomedb_msg="yes"],



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