check for (g-wrap) module (#347680)

Apparently some distributions ship g-wrap-config separately
 from the g-wrap.scm guile module.
 BP
 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14518 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2006-07-16 16:17:58 +00:00
parent 73d62be3a3
commit 10e122f19e
2 changed files with 24 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
2006-07-16 Derek Atkins <derek@ihtfp.com>
* configure.in:
check for (g-wrap) module (#347680)
Apparently some distributions ship g-wrap-config separately
from the g-wrap.scm guile module.
2006-07-16 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-main-window.c: Do not move windows on

View File

@@ -313,6 +313,22 @@ AC_SUBST(G_WRAP_LIB_DIR)
AS_SCRUB_INCLUDE(CFLAGS)
AC_MSG_CHECKING([for (g-wrap) guile module])
if LD_LIBRARY_PATH=$G_WRAP_LIB_DIR:$LD_LIBRARY_PATH \
GUILE_LOAD_PATH=$G_WRAP_MODULE_DIR \
${GUILE} -c "(use-modules (g-wrap))" > /dev/null 2>&1
then
AC_MSG_RESULT(yes)
else
AC_MSG_ERROR([
Cannot find the (g-wrap) guile module.
Are you sure you have g-wrap compile-time environment installed?
See http://bugzilla.gnome.org/show_bug.cgi?id=347680
])
fi
AC_MSG_CHECKING([for (g-wrap gw-glib-spec) guile module])
if LD_LIBRARY_PATH=$G_WRAP_LIB_DIR:$LD_LIBRARY_PATH \
GUILE_LOAD_PATH=$G_WRAP_MODULE_DIR \
@@ -324,6 +340,7 @@ else
Cannot find the (g-wrap gw-glib-spec) guile module.
Are you sure you have g-wrap installed with glib support?
See http://bugzilla.gnome.org/show_bug.cgi?id=347404
])
fi