Allow the user to override the guile flags. Necessary when build-time guile and run-time guile are different, i.e. when cross-compiling.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14857 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-09-18 15:45:10 +00:00
parent 812bd9a1f0
commit 5c9a63d5a0

View File

@ -268,8 +268,24 @@ esac
### 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)