changed things to use GTK_HAVE_ACCEL_GROUP instead of HAVE_DEVGTK...
installed headers depending on config.h stuff is bad. -Yosh svn path=/trunk/; revision=258
This commit is contained in:
@ -15,7 +15,7 @@ dnl gnome_cv_passdown_{x_libs,X_LIBS,X_CFLAGS}
|
|||||||
dnl
|
dnl
|
||||||
AC_DEFUN([GNOME_X_CHECKS],
|
AC_DEFUN([GNOME_X_CHECKS],
|
||||||
[
|
[
|
||||||
AM_PATH_GTK(1.0.0,,AC_MSG_ERROR(GTK not installed, or gtk-config not in path))
|
AM_PATH_GTK(1.0.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 Hope that GTK_CFLAGS have only -I and -D. Otherwise, we could
|
||||||
dnl test -z "$x_includes" || CPPFLAGS="$CPPFLAGS -I$x_includes"
|
dnl test -z "$x_includes" || CPPFLAGS="$CPPFLAGS -I$x_includes"
|
||||||
@ -47,7 +47,7 @@ AC_DEFUN([GNOME_X_CHECKS],
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_CHECK_HEADER(gtk/gtkaccelgroup.h, USE_DEVGTK=true; AC_DEFINE(HAVE_DEVGTK))
|
AC_CHECK_HEADER(gtk/gtkaccelgroup.h, USE_DEVGTK=true)
|
||||||
|
|
||||||
if test "$GNOME_HAVE_SM" = true; then
|
if test "$GNOME_HAVE_SM" = true; then
|
||||||
AC_CHECK_HEADERS(X11/SM/SMlib.h,,GNOME_HAVE_SM=false)
|
AC_CHECK_HEADERS(X11/SM/SMlib.h,,GNOME_HAVE_SM=false)
|
||||||
|
Reference in New Issue
Block a user