[Gnucash-changes] r14024 - gnucash/trunk - Look for g-wrap's (g-wrap gw standard) or (g-wrap gw-standard) since

Chris Shoemaker chris at cvs.gnucash.org
Thu May 11 18:25:56 EDT 2006


Author: chris
Date: 2006-05-11 18:25:55 -0400 (Thu, 11 May 2006)
New Revision: 14024
Trac: http://svn.gnucash.org/trac/changeset/14024

Modified:
   gnucash/trunk/configure.in
Log:
   Look for g-wrap's (g-wrap gw standard) or (g-wrap gw-standard) since 
   g-wrap 1.9.6 doesn't have (g-wrap runtime).


Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2006-05-11 21:21:42 UTC (rev 14023)
+++ gnucash/trunk/configure.in	2006-05-11 22:25:55 UTC (rev 14024)
@@ -304,19 +304,29 @@
 
 AS_SCRUB_INCLUDE(CFLAGS)
 
-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
+AC_MSG_CHECKING([for (g-wrap gw-standard) guile module])
+if LD_LIBRARY_PATH=$G_WRAP_LIB_DIR:$LD_LIBRARY_PATH \
+  GUILE_LOAD_PATH=$G_WRAP_MODULE_DIR \
+        ${GUILE} -c "(use-modules (g-wrap gw-standard))" > /dev/null 2>&1
 then
   AC_MSG_RESULT(yes)
 else
   AC_MSG_RESULT(no)
-  AC_MSG_WARN([
+  AC_MSG_CHECKING([for (g-wrap gw standard) guile module])
+  if LD_LIBRARY_PATH=$G_WRAP_LIB_DIR:$LD_LIBRARY_PATH \
+    GUILE_LOAD_PATH=$G_WRAP_MODULE_DIR \
+        ${GUILE} -c "(use-modules (g-wrap gw standard))" > /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. 
+    Unable to find the g-wrap standard module, a.k.a. guile-g-wrap. 
     You won't be able to run GnuCash without it!
 
-  ])
+    ])
+  fi
 fi
 
 ### Check size of long_long - some guile's are broken.



More information about the gnucash-changes mailing list