diff --git a/autogen.sh b/autogen.sh index 9067b2a..fc56cda 100755 --- a/autogen.sh +++ b/autogen.sh @@ -123,7 +123,7 @@ do echo "Making $dr/aclocal.m4 writable ..." test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 fi - if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then + if grep "^AC_PROG_LIBTOOL" configure.in >/dev/null; then echo "Running libtoolize..." #libtoolize --force --copy fi diff --git a/configure.in b/configure.in index 8eeeec8..7717ea8 100644 --- a/configure.in +++ b/configure.in @@ -72,6 +72,15 @@ AC_SUBST(ODBC_INC) dnl check for glib/gtk/gnome AM_PATH_GLIB_2_0(2.0.0) + +if test "$no_glib" == yes; then + echo + echo "glib 2.0 is required by MDB Tools." + echo "It can be downloaded at www.gtk.org." + echo + exit 1 +fi + AM_PATH_GTK_2_0(2.0.0) AM_CONDITIONAL(HAVE_GTK, test x$no_gtk = xtrue) AC_SUBST(HAVE_GTK)