From 5cf80158a15ca567982097afc188655ae00b0897 Mon Sep 17 00:00:00 2001 From: EDT 1998 Gregory McLean Date: Wed, 10 Jun 1998 03:01:17 +0000 Subject: quick and dirty check for devel gtk and define HAVE_DEVGTK if its found. Tue Jun 9 22:55:20 EDT 1998 Gregory McLean * macros/gnome-x-checks.m4: quick and dirty check for devel gtk and define HAVE_DEVGTK if its found. This should save us a bunch of work next time we go to do a release we won't have to chase around code that only works on the devel version of gtk. * libgnomeui/* bracketed all code that requires the devel branch of gtk.. I think I got it all. * acconfig.h : new tag HAVE_DEVGTK, use this to mark your changes that require the dev branch of gtk. svn path=/trunk/; revision=256 --- macros/gnome-x-checks.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'macros') diff --git a/macros/gnome-x-checks.m4 b/macros/gnome-x-checks.m4 index 7b43a5744d..28fa1eea84 100644 --- a/macros/gnome-x-checks.m4 +++ b/macros/gnome-x-checks.m4 @@ -47,6 +47,8 @@ AC_DEFUN([GNOME_X_CHECKS], ;; esac + AC_CHECK_HEADER(gtk/gtkaccelgroup.h, AC_DEFINE(HAVE_DEVGTK)) + if test "$GNOME_HAVE_SM" = true; then AC_CHECK_HEADERS(X11/SM/SMlib.h,,GNOME_HAVE_SM=false) fi @@ -55,7 +57,6 @@ AC_DEFUN([GNOME_X_CHECKS], AC_DEFINE(HAVE_LIBSM) fi - XPM_LIBS="" AC_CHECK_LIB(Xpm, XpmFreeXpmImage, [XPM_LIBS="-lXpm"], , $x_libs) AC_SUBST(XPM_LIBS) -- cgit