aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-guile-checks.m4
diff options
context:
space:
mode:
authorJ.H.M. Dassen (Ray) <jdassen@debian.org>2001-08-02 23:35:57 +0800
committerJody Goldberg <jody@src.gnome.org>2001-08-02 23:35:57 +0800
commit121e5ccbef65715653ba9d70b894a973e71fb927 (patch)
tree2064d967865983a0ed703714d4c4eca5faf8b55e /macros/gnome-guile-checks.m4
parent5e9131af978c73da0167e20d483845a72e0a42cc (diff)
downloadgsoc2013-evolution-121e5ccbef65715653ba9d70b894a973e71fb927.tar
gsoc2013-evolution-121e5ccbef65715653ba9d70b894a973e71fb927.tar.gz
gsoc2013-evolution-121e5ccbef65715653ba9d70b894a973e71fb927.tar.bz2
gsoc2013-evolution-121e5ccbef65715653ba9d70b894a973e71fb927.tar.lz
gsoc2013-evolution-121e5ccbef65715653ba9d70b894a973e71fb927.tar.xz
gsoc2013-evolution-121e5ccbef65715653ba9d70b894a973e71fb927.tar.zst
gsoc2013-evolution-121e5ccbef65715653ba9d70b894a973e71fb927.zip
Made "--without-guile" work. Added $guile_msg for reporting back.
2001-08-02 J.H.M. Dassen (Ray) <jdassen@debian.org> * gnome-guile-checks.m4: Made "--without-guile" work. Added $guile_msg for reporting back. 2001-08-02 J.H.M. Dassen (Ray) <jdassen@debian.org> * configure.in: Use the new improved (functional) guile tests. svn path=/trunk/; revision=11574
Diffstat (limited to 'macros/gnome-guile-checks.m4')
-rw-r--r--macros/gnome-guile-checks.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/gnome-guile-checks.m4 b/macros/gnome-guile-checks.m4
index 1086d30a4e..102351cffd 100644
--- a/macros/gnome-guile-checks.m4
+++ b/macros/gnome-guile-checks.m4
@@ -6,6 +6,18 @@ dnl
AC_DEFUN([GNOME_CHECK_GUILE],
[
+dnl AC_MSG_WARN([Withval is: $withval])
+ guile_msg = 'Huh?'
+if test x$withval = xno ; then
+ guile_msg = 'disabled'
+ GUILE_LIBS=
+ GUILE_INCS=
+ AC_SUBST(GUILE_LIBS)
+ AC_SUBST(GUILE_INCS)
+ AM_CONDITIONAL(GUILE, /bin/false)
+else
+ guile_msg="no"
+
saved_ldflags="$LDFLAGS"
saved_cppflags="$CPPFLAGS"
LDFLAGS="$LDFLAGS $GNOME_LIBDIR"
@@ -100,6 +112,8 @@ AC_DEFUN([GNOME_CHECK_GUILE],
])
AC_MSG_RESULT($ac_cv_guile_found)
+ guile_msg=$ac_cv_guile_found
+
if test x$ac_cv_guile_found = xno ; then
if test x$1 = xfail ; then
AC_MSG_ERROR(Can not find Guile on this system)
@@ -116,4 +130,5 @@ AC_DEFUN([GNOME_CHECK_GUILE],
AC_SUBST(GUILE_LIBS)
AM_CONDITIONAL(GUILE, test x$ac_cv_guile_found = xyes)
+fi
])