diff options
author | EDT 1998 Gregory McLean <gregm@comstar.net> | 1998-06-10 11:01:17 +0800 |
---|---|---|
committer | Gregory McLean <gregm@src.gnome.org> | 1998-06-10 11:01:17 +0800 |
commit | 5cf80158a15ca567982097afc188655ae00b0897 (patch) | |
tree | 216c7634133b247d7863cead10541ada115f4274 | |
parent | 33705048a78a130b25528344f0117544635f496a (diff) | |
download | gsoc2013-evolution-5cf80158a15ca567982097afc188655ae00b0897.tar.gz gsoc2013-evolution-5cf80158a15ca567982097afc188655ae00b0897.tar.zst gsoc2013-evolution-5cf80158a15ca567982097afc188655ae00b0897.zip |
quick and dirty check for devel gtk and define HAVE_DEVGTK if its found.
Tue Jun 9 22:55:20 EDT 1998 Gregory McLean <gregm@comstar.net>
* 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
-rw-r--r-- | macros/gnome-x-checks.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
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) |