1977 |
AC_DEFINE(HAVE_GTK_MULTIDISPLAY, 1, |
AC_DEFINE(HAVE_GTK_MULTIDISPLAY, 1, |
1978 |
[Define to 1 if GTK can handle more than one display.]) |
[Define to 1 if GTK can handle more than one display.]) |
1979 |
fi |
fi |
1980 |
|
dnl Check if we have the old file selection dialog. |
1981 |
|
dnl If gdk_display_open exists, assume all others are there also. |
1982 |
|
HAVE_GTK_FILE_SELECTION=no |
1983 |
|
AC_CHECK_FUNCS(gtk_file_selection_new, HAVE_GTK_FILE_SELECTION=yes) |
1984 |
|
|
1985 |
|
dnl Check if we have the new file chooser dialog |
1986 |
|
dnl If gdk_display_open exists, assume all others are there also. |
1987 |
|
HAVE_GTK_FILE_CHOOSER=no |
1988 |
|
AC_CHECK_FUNCS(gtk_file_chooser_dialog_new, HAVE_GTK_FILE_CHOOSER=yes) |
1989 |
|
|
1990 |
|
if test "$HAVE_GTK_FILE_SELECTION" = yes \ |
1991 |
|
&& test "$HAVE_GTK_FILE_CHOOSER" = yes; then |
1992 |
|
AC_DEFINE(HAVE_GTK_FILE_BOTH, 1, |
1993 |
|
[Define to 1 if GTK has both file selection and chooser dialog.]) |
1994 |
|
fi |
1995 |
fi |
fi |
1996 |
|
|
1997 |
dnl Do not put whitespace before the #include statements below. |
dnl Do not put whitespace before the #include statements below. |