mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
812bd9a1f0
commit
5c9a63d5a0
16
configure.in
16
configure.in
@ -268,8 +268,24 @@ esac
|
|||||||
### Guile and g-wrap version checks (should this be something other than
|
### Guile and g-wrap version checks (should this be something other than
|
||||||
### the Gnome check?)
|
### 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=""
|
GUILE_LIBS=""
|
||||||
GNOME_CHECK_GUILE
|
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)
|
AS_SCRUB_INCLUDE(GUILE_INCS)
|
||||||
AC_SUBST(GUILE_LIBS)
|
AC_SUBST(GUILE_LIBS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user