From 72a28d2063ad1dfe761cd7942db0e8528f259447 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Fri, 10 Feb 2006 15:32:39 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13195 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 5 +++++ configure.in | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9aec0ad826..bdbd41519d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * src/bin/gnucash-bin.c: Pass argc by reference instead of value diff --git a/configure.in b/configure.in index 6d1dbb7d69..666f769244 100644 --- a/configure.in +++ b/configure.in @@ -277,6 +277,18 @@ AC_MSG_RESULT($G_WRAP_MODULE_DIR) 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)