emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/configure.in


From: Jan Djärv
Subject: [Emacs-diffs] Changes to emacs/configure.in
Date: Tue, 02 Nov 2004 02:58:45 -0500

Index: emacs/configure.in
diff -c emacs/configure.in:1.375 emacs/configure.in:1.376
*** emacs/configure.in:1.375    Wed Oct 20 16:16:07 2004
--- emacs/configure.in  Tue Nov  2 07:33:51 2004
***************
*** 1977,1982 ****
--- 1977,1997 ----
      AC_DEFINE(HAVE_GTK_MULTIDISPLAY, 1,
                [Define to 1 if GTK can handle more than one display.])
    fi
+   dnl  Check if we have the old file selection dialog.
+   dnl  If gdk_display_open exists, assume all others are there also.
+   HAVE_GTK_FILE_SELECTION=no
+   AC_CHECK_FUNCS(gtk_file_selection_new, HAVE_GTK_FILE_SELECTION=yes)
+ 
+   dnl  Check if we have the new file chooser dialog
+   dnl  If gdk_display_open exists, assume all others are there also.
+   HAVE_GTK_FILE_CHOOSER=no
+   AC_CHECK_FUNCS(gtk_file_chooser_dialog_new, HAVE_GTK_FILE_CHOOSER=yes)
+ 
+   if test "$HAVE_GTK_FILE_SELECTION" = yes \
+      && test "$HAVE_GTK_FILE_CHOOSER" = yes;  then
+     AC_DEFINE(HAVE_GTK_FILE_BOTH, 1,
+               [Define to 1 if GTK has both file selection and chooser 
dialog.])
+   fi
  fi
  
  dnl Do not put whitespace before the #include statements below.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]