1967 |
|
|
1968 |
dnl GTK scrollbars resemble toolkit scrollbars a lot, so to avoid |
dnl GTK scrollbars resemble toolkit scrollbars a lot, so to avoid |
1969 |
dnl a lot if #ifdef:s, say we have toolkit scrollbars. |
dnl a lot if #ifdef:s, say we have toolkit scrollbars. |
1970 |
with_toolkit_scroll_bars=yes |
if test "$with_toolkit_scroll_bars" != no; then |
1971 |
|
with_toolkit_scroll_bars=yes |
1972 |
|
fi |
1973 |
|
|
1974 |
dnl Check if we can use multiple displays with this GTK version. |
dnl Check if we can use multiple displays with this GTK version. |
1975 |
dnl If gdk_display_open exists, assume all others are there also. |
dnl If gdk_display_open exists, assume all others are there also. |
1979 |
AC_DEFINE(HAVE_GTK_MULTIDISPLAY, 1, |
AC_DEFINE(HAVE_GTK_MULTIDISPLAY, 1, |
1980 |
[Define to 1 if GTK can handle more than one display.]) |
[Define to 1 if GTK can handle more than one display.]) |
1981 |
fi |
fi |
1982 |
|
dnl Check if we have the old file selection dialog. |
1983 |
|
dnl If gdk_display_open exists, assume all others are there also. |
1984 |
|
HAVE_GTK_FILE_SELECTION=no |
1985 |
|
AC_CHECK_FUNCS(gtk_file_selection_new, HAVE_GTK_FILE_SELECTION=yes) |
1986 |
|
|
1987 |
|
dnl Check if we have the new file chooser dialog |
1988 |
|
dnl If gdk_display_open exists, assume all others are there also. |
1989 |
|
HAVE_GTK_FILE_CHOOSER=no |
1990 |
|
AC_CHECK_FUNCS(gtk_file_chooser_dialog_new, HAVE_GTK_FILE_CHOOSER=yes) |
1991 |
|
|
1992 |
|
if test "$HAVE_GTK_FILE_SELECTION" = yes \ |
1993 |
|
&& test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
1994 |
|
AC_DEFINE(HAVE_GTK_FILE_BOTH, 1, |
1995 |
|
[Define to 1 if GTK has both file selection and chooser dialog.]) |
1996 |
|
fi |
1997 |
fi |
fi |
1998 |
|
|
1999 |
dnl Do not put whitespace before the #include statements below. |
dnl Do not put whitespace before the #include statements below. |