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: Sun, 16 Nov 2003 11:09:08 -0500

Index: emacs/configure.in
diff -c emacs/configure.in:1.356 emacs/configure.in:1.357
*** emacs/configure.in:1.356    Tue Sep 23 08:39:44 2003
--- emacs/configure.in  Sun Nov 16 11:09:07 2003
***************
*** 1915,1927 ****
    AC_SUBST(GTK_CFLAGS)
    AC_SUBST(GTK_LIBS)
    C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS"
    HAVE_GTK=yes
    AC_DEFINE(HAVE_GTK, 1, [Define to 1 if using GTK.])
    USE_X_TOOLKIT=none
  
!   dnl  GTK scrollbars resembles toolkit scrollbars alot, so to avoid
    dnl  a lot if #ifdef:s, say we have toolkit scrollbars.
    with_toolkit_scroll_bars=yes
  fi
  
  dnl Do not put whitespace before the #include statements below.
--- 1915,1938 ----
    AC_SUBST(GTK_CFLAGS)
    AC_SUBST(GTK_LIBS)
    C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS"
+   CFLAGS="$CFLAGS $GTK_CFLAGS"
+   LIBS="$GTK_LIBS $LIBS"
    HAVE_GTK=yes
    AC_DEFINE(HAVE_GTK, 1, [Define to 1 if using GTK.])
    USE_X_TOOLKIT=none
  
!   dnl  GTK scrollbars resemble toolkit scrollbars a lot, so to avoid
    dnl  a lot if #ifdef:s, say we have toolkit scrollbars.
    with_toolkit_scroll_bars=yes
+ 
+   dnl  Check if we can use multiple displays with this GTK version.
+   dnl  If gdk_display_open exists, assume all others are there also.
+   HAVE_GTK_MULTIDISPLAY=no
+   AC_CHECK_FUNCS(gdk_display_open, HAVE_GTK_MULTIDISPLAY=yes)
+   if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then
+     AC_DEFINE(HAVE_GTK_MULTIDISPLAY, 1,
+               [Define to 1 if GTK can handle more than one display.])
+   fi
  fi
  
  dnl Do not put whitespace before the #include statements below.




reply via email to

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