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:
Chris Shoemaker
2006-05-11 05:04:56 +00:00
parent 8cc53fa2ae
commit a8f8c51858

View File

@@ -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)