From 473fe5d0fcc9f1b042b2fbfe574f75452ef3a647 Mon Sep 17 00:00:00 2001 From: Stuart Parmenter Date: Tue, 4 Aug 1998 23:44:57 +0000 Subject: make it require GTK >= 1.1.1 dnl'd the dev_gtk since they will have to 1998-08-04 Stuart Parmenter * gnome-x-checks.m4: (AM_PATH_GTK) make it require GTK >= 1.1.1 dnl'd the dev_gtk since they will have to anyways. svn path=/trunk/; revision=298 --- macros/ChangeLog | 5 +++++ macros/gnome-x-checks.m4 | 26 ++++++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/macros/ChangeLog b/macros/ChangeLog index f737deeaf4..4ba49339e7 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,8 @@ +1998-08-04 Stuart Parmenter + + * gnome-x-checks.m4: (AM_PATH_GTK) make it require GTK >= 1.1.1 + dnl'd the dev_gtk since they will have to anyways. + 1998-08-04 Sebastian Wilhelmi * gnome.m4: (GNOME_INIT_HOOK): Call $1 also, if `gnome-config' is diff --git a/macros/gnome-x-checks.m4 b/macros/gnome-x-checks.m4 index 149d557030..eb1d157f1a 100644 --- a/macros/gnome-x-checks.m4 +++ b/macros/gnome-x-checks.m4 @@ -15,7 +15,7 @@ dnl gnome_cv_passdown_{x_libs,X_LIBS,X_CFLAGS} dnl AC_DEFUN([GNOME_X_CHECKS], [ - AM_PATH_GTK(1.0.1,,AC_MSG_ERROR(GTK not installed, or gtk-config not in path)) + AM_PATH_GTK(1.1.1,,AC_MSG_ERROR(GTK not installed, or gtk-config not in path)) dnl Hope that GTK_CFLAGS have only -I and -D. Otherwise, we could dnl test -z "$x_includes" || CPPFLAGS="$CPPFLAGS -I$x_includes" @@ -34,17 +34,19 @@ AC_DEFUN([GNOME_X_CHECKS], LDFLAGS="$saved_ldflags $GTK_LIBS" - AC_MSG_CHECKING([whether to use features from (unstable) GTK+ 1.1.x]) - AC_EGREP_CPP(answer_affirmatively, - [#include - #ifdef GTK_HAVE_FEATURES_1_1_0 - answer_affirmatively - #endif - ], dev_gtk=yes, dev_gtk=no) - if test "$dev_gtk" = "yes"; then - USE_DEVGTK=true - fi - AC_MSG_RESULT("$dev_gtk") +dnl We are requiring GTK >= 1.1.1, which means this will be fine anyhow. + +dnl AC_MSG_CHECKING([whether to use features from (unstable) GTK+ 1.1.x]) +dnl AC_EGREP_CPP(answer_affirmatively, +dnl [#include +dnl #ifdef GTK_HAVE_FEATURES_1_1_0 +dnl answer_affirmatively +dnl #endif +dnl ], dev_gtk=yes, dev_gtk=no) +dnl if test "$dev_gtk" = "yes"; then +dnl USE_DEVGTK=true +dnl fi +dnl AC_MSG_RESULT("$dev_gtk") GNOME_HAVE_SM=true case "$GTK_LIBS" in -- cgit