aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-x-checks.m4
diff options
context:
space:
mode:
authorlukka <lukka@src.gnome.org>1999-07-07 02:46:29 +0800
committerlukka <lukka@src.gnome.org>1999-07-07 02:46:29 +0800
commit535718bfa6f5ca7eecac5d812a27102d3716d34f (patch)
tree700282b8decb0ea25ebed268a69c3cea0e567969 /macros/gnome-x-checks.m4
parentf34b65450dcd995244584a06bc976243680bf041 (diff)
downloadgsoc2013-evolution-535718bfa6f5ca7eecac5d812a27102d3716d34f.tar.gz
gsoc2013-evolution-535718bfa6f5ca7eecac5d812a27102d3716d34f.tar.zst
gsoc2013-evolution-535718bfa6f5ca7eecac5d812a27102d3716d34f.zip
Forbid compiling gnome with gtk 1.3 as it doesn't work
svn path=/trunk/; revision=1007
Diffstat (limited to 'macros/gnome-x-checks.m4')
-rw-r--r--macros/gnome-x-checks.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/macros/gnome-x-checks.m4 b/macros/gnome-x-checks.m4
index 1e397ef8e3..df033d5a0c 100644
--- a/macros/gnome-x-checks.m4
+++ b/macros/gnome-x-checks.m4
@@ -33,6 +33,19 @@ AC_DEFUN([GNOME_X_CHECKS],
LDFLAGS="$saved_ldflags $GTK_LIBS"
+dnl Check that we *don't* get GTK 1.3.* yet
+
+ AC_MSG_CHECKING([whether we have GTK > 1.2])
+ AC_EGREP_CPP(answer_affirmatively,
+ [#include <gtk/gtk.h>
+ #if GTK_MINOR_VERSION > 2
+ answer_affirmatively
+ #endif
+ ], [AC_MSG_ERROR([Aborting, the current versions
+ of gnome are not yet compatible with the unstable GTK 1.3 release.
+ Please use GTK 1.2.])])
+
+
dnl We are requiring GTK >= 1.1.1, which means this will be fine anyhow.
USE_DEVGTK=true