[Gnucash-changes] r13195 - gnucash/trunk - check that we can find g-wrap-wct.h.

Derek Atkins warlord at cvs.gnucash.org
Fri Feb 10 10:32:40 EST 2006


Author: warlord
Date: 2006-02-10 10:32:39 -0500 (Fri, 10 Feb 2006)
New Revision: 13195
Trac: http://svn.gnucash.org/trac/changeset/13195

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/configure.in
Log:
check that we can find g-wrap-wct.h.
detects that we're running on a "broken" system like Ubuntu.
This is in response to #330539.



Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-02-10 15:04:12 UTC (rev 13194)
+++ gnucash/trunk/ChangeLog	2006-02-10 15:32:39 UTC (rev 13195)
@@ -6,6 +6,11 @@
 	* Makefile.am:
 	  added README.dependencies to the dist.  Fixes #330614.
 
+	* configure.in:
+	  check that we can find g-wrap-wct.h.
+	  detects that we're running on a "broken" system like Ubuntu.
+	  This is in response to #330539.
+
 2006-02-09  David Hampton  <hampton at employees.org>
 
 	* src/bin/gnucash-bin.c: Pass argc by reference instead of value

Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2006-02-10 15:04:12 UTC (rev 13194)
+++ gnucash/trunk/configure.in	2006-02-10 15:32:39 UTC (rev 13195)
@@ -277,6 +277,18 @@
 
 AC_GWRAP_CHECK_GUILE($G_WRAP_MODULE_DIR)
 
+save_CPPFLAGS=$CPPFLAGS
+CPPFLAGS="$CPPFLAGS $G_WRAP_COMPILE_ARGS"
+AC_CHECK_HEADER(g-wrap-wct.h,,
+	[AC_MSG_ERROR([
+
+   cannot find g-wrap-wct.h where g-wrap claims it should be.
+   are you on Debian or Ubuntu and still using g-wrap 1.9.6-2?
+   See:  http://bugzilla.gnome.org/show_bug.cgi?id=330539
+
+])])
+CPPFLAGS=$save_CPPFLAGS
+
 AC_SUBST(G_WRAP_CONFIG)
 AC_SUBST(G_WRAP_COMPILE_ARGS)
 AC_SUBST(G_WRAP_LINK_ARGS)



More information about the gnucash-changes mailing list