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
This commit is contained in:

committed by
Gregory McLean

parent
33705048a7
commit
5cf80158a1
@ -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)
|
||||
|
Reference in New Issue
Block a user