[Gnucash-changes] r14023 - gnucash/trunk - When searching for the
g-wrap runtime module, look in the G_WRAP_MODULE_DIR.
Chris Shoemaker
chris at cvs.gnucash.org
Thu May 11 17:21:43 EDT 2006
Author: chris
Date: 2006-05-11 17:21:42 -0400 (Thu, 11 May 2006)
New Revision: 14023
Trac: http://svn.gnucash.org/trac/changeset/14023
Modified:
gnucash/trunk/configure.in
Log:
When searching for the g-wrap runtime module, look in the G_WRAP_MODULE_DIR.
Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in 2006-05-11 05:04:56 UTC (rev 14022)
+++ gnucash/trunk/configure.in 2006-05-11 21:21:42 UTC (rev 14023)
@@ -304,14 +304,19 @@
AS_SCRUB_INCLUDE(CFLAGS)
-GUILE_MODULE_AVAILABLE(have_gwrap_runtime, [(g-wrap runtime)])
-if test "$have_gwrap_runtime" = "no"; then
- AC_MSG_WARN([
+AC_MSG_CHECKING([for (g-wrap runtime) guile module])
+if GUILE_LOAD_PATH=$G_WRAP_MODULE_DIR \
+ ${GUILE} -c "(use-modules (g-wrap runtime))" > /dev/null 2>&1
+then
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_RESULT(no)
+ AC_MSG_WARN([
Unable to find the g-wrap runtime module, a.k.a. guile-g-wrap.
You won't be able to run GnuCash without it!
-])
+ ])
fi
### Check size of long_long - some guile's are broken.
More information about the gnucash-changes
mailing list