1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00

* src/configure.ac: Check for GTK 2 features only on GTK 2

This commit is contained in:
Alexander Gramiak 2019-04-20 20:16:20 -06:00
parent 75e68b8777
commit 6a373e4742

View File

@ -2795,6 +2795,10 @@ if test "${HAVE_GTK}" = "yes"; then
with_toolkit_scroll_bars=yes
fi
term_header=gtkutil.h
if test "${USE_GTK_TOOLKIT}" = GTK2; then
dnl Check if we have the old file selection dialog declared and
dnl in the link library. In 2.x it may be in the library,
dnl but not declared if deprecated featured has been selected out.
@ -2809,8 +2813,7 @@ if test "${HAVE_GTK}" = "yes"; then
dnl This procedure causes a bug on certain Ubuntu GTK+2 builds
AC_CHECK_FUNCS(gtk_window_set_has_resize_grip)
term_header=gtkutil.h
fi
fi