r14857 - gnucash/trunk - Allow the user to override the guile flags. Necessary when build-time guile and run-time guile are different, i.e. when cross-compiling.
Christian Stimming
cstim at cvs.gnucash.org
Mon Sep 18 11:45:10 EDT 2006
Author: cstim
Date: 2006-09-18 11:45:10 -0400 (Mon, 18 Sep 2006)
New Revision: 14857
Trac: http://svn.gnucash.org/trac/changeset/14857
Modified:
gnucash/trunk/configure.in
Log:
Allow the user to override the guile flags. Necessary when build-time guile and run-time guile are different, i.e. when cross-compiling.
Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in 2006-09-18 15:31:41 UTC (rev 14856)
+++ gnucash/trunk/configure.in 2006-09-18 15:45:10 UTC (rev 14857)
@@ -268,8 +268,24 @@
### Guile and g-wrap version checks (should this be something other than
### the Gnome check?)
+# If the user has given these values, cache them to override the
+# detected values.
+if test "x$GUILE_LIBS" != x; then
+ saved_GUILE_LIBS="$GUILE_LIBS"
+fi
+if test "x$GUILE_INCS" != x; then
+ saved_GUILE_INCS="$GUILE_INCS"
+fi
GUILE_LIBS=""
GNOME_CHECK_GUILE
+
+if test "x$saved_GUILE_LIBS" != x; then
+ GUILE_LIBS="$saved_GUILE_LIBS"
+fi
+if test "x$saved_GUILE_INCS" != x; then
+ GUILE_INCS="$saved_GUILE_INCS"
+fi
+
AS_SCRUB_INCLUDE(GUILE_INCS)
AC_SUBST(GUILE_LIBS)
More information about the gnucash-changes
mailing list