+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-07-24 Jody Goldberg <jgoldberg@home.com>
* psiconv.m4 : Add psion macros from Frodo Looijaard <frodol@dds.nl>
export PATH
fi
-(autoconf --version) < /dev/null > /dev/null 2>&1 || {
+(autoconf2.50 --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`autoconf' installed to compile $PKG_NAME."
echo "Download the appropriate package for your distribution,"
echo "Running automake --gnu $am_opt ..."
automake --add-missing --gnu $am_opt ||
{ echo "**Error**: automake failed."; exit 1; }
- echo "Running autoconf ..."
- autoconf || { echo "**Error**: autoconf failed."; exit 1; }
+ echo "Running autoconf2.50 ..."
+ autoconf2.50 || { echo "**Error**: autoconf failed."; exit 1; }
) || exit 1
fi
done
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"
])
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)
AC_SUBST(GUILE_LIBS)
AM_CONDITIONAL(GUILE, test x$ac_cv_guile_found = xyes)
+fi
])