mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Warn if no g-wrap runtime module is available during configure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14022 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
19
configure.in
19
configure.in
@@ -304,6 +304,16 @@ AC_SUBST(G_WRAP_LIB_DIR)
|
||||
|
||||
AS_SCRUB_INCLUDE(CFLAGS)
|
||||
|
||||
GUILE_MODULE_AVAILABLE(have_gwrap_runtime, [(g-wrap runtime)])
|
||||
if test "$have_gwrap_runtime" = "no"; then
|
||||
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.
|
||||
AC_MSG_CHECKING(if guile long_long is at least as big as gint64)
|
||||
GNC_OLDCFLAGS="$CFLAGS"
|
||||
@@ -380,14 +390,7 @@ AC_SUBST(GNC_TEST_SRFI_LOAD_CMD)
|
||||
gnc_have_guile_www=no
|
||||
|
||||
AC_MSG_CHECKING([if guile needs our copy of (guile www)])
|
||||
if ${GUILE} -c "(use-modules (www main))" > /dev/null 2>&1
|
||||
then
|
||||
gnc_have_guile_www=yes
|
||||
AC_MSG_RESULT(no)
|
||||
else
|
||||
gnc_have_guile_www=no
|
||||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
GUILE_MODULE_AVAILABLE(gnc_have_guile_www,[(www main)])
|
||||
|
||||
AM_CONDITIONAL(GNC_HAVE_GUILE_WWW, test "${gnc_have_guile_www}" = yes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user