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
This commit is contained in:
Derek Atkins 2006-02-10 15:32:39 +00:00
parent c4dd2190b2
commit 72a28d2063
2 changed files with 17 additions and 0 deletions

View File

@ -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@employees.org>
* src/bin/gnucash-bin.c: Pass argc by reference instead of value

View File

@ -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)