summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-02-26 17:03:47 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-02-26 17:03:47 +0000
commite32c86a1e3fa14872d528aa1e1bacca4f46698e5 (patch)
tree66727a757a828f1eadd460b517f546dbd4d38030
parent630d9f29e6f5a06c901970b39f65cd7d5be16154 (diff)
downloadatk-e32c86a1e3fa14872d528aa1e1bacca4f46698e5.tar.gz
Bail if AM_PATH_GLIB_2_0 fails.
Mon Feb 25 19:09:39 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Bail if AM_PATH_GLIB_2_0 fails.
-rw-r--r--ChangeLog4
-rw-r--r--configure.in6
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 462f0a7..7d6e3c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Feb 25 19:09:39 2002 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Bail if AM_PATH_GLIB_2_0 fails.
+
2002-02-26 Tor Lillqvist <tml@iki.fi>
* atk/Makefile.am: Do use -no-undefined on Win32, otherwise
diff --git a/configure.in b/configure.in
index e886fd5..186ee21 100644
--- a/configure.in
+++ b/configure.in
@@ -96,7 +96,11 @@ AC_SUBST(GLIB_PACKAGES)
dnl This PATH_GLIB is somewhat redundant, but does a sanity compile and
dnl importantly defines the GLIB_GENMARSHAL variable for subst into the
dnl Makefile
-AM_PATH_GLIB_2_0($GLIB_REQUIRED_VERSION)
+AM_PATH_GLIB_2_0($GLIB_REQUIRED_VERSION, :,
+ AC_MSG_ERROR([
+*** GLIB $GLIB_REQUIRED_VERSION or better is required. The latest version of
+*** GLIB is always available from ftp://ftp.gtk.org/.]),
+ gobject gmodule)
PKG_CHECK_MODULES(DEP, glib-2.0 >= $GLIB_REQUIRED_VERSION $GLIB_PACKAGES, , AC_MSG_ERROR([
*** GLib not found. You can find it on ftp://ftp.gtk.org