Mercurial > emacs
comparison configure.in @ 53071:aa5d7d8f5736
* configure.in (HAVE_GTK_MULTIDISPLAY): Check if GTK can handle
multiple displays.
Regenerate configure.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sun, 16 Nov 2003 16:09:07 +0000 |
parents | ae8115a00e62 |
children | b1025973e761 |
comparison
equal
deleted
inserted
replaced
53070:2a9957bfae3f | 53071:aa5d7d8f5736 |
---|---|
1913 dnl Checks for libraries. | 1913 dnl Checks for libraries. |
1914 PKG_CHECK_MODULES(GTK, $GTK_MODULES) | 1914 PKG_CHECK_MODULES(GTK, $GTK_MODULES) |
1915 AC_SUBST(GTK_CFLAGS) | 1915 AC_SUBST(GTK_CFLAGS) |
1916 AC_SUBST(GTK_LIBS) | 1916 AC_SUBST(GTK_LIBS) |
1917 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" | 1917 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" |
1918 CFLAGS="$CFLAGS $GTK_CFLAGS" | |
1919 LIBS="$GTK_LIBS $LIBS" | |
1918 HAVE_GTK=yes | 1920 HAVE_GTK=yes |
1919 AC_DEFINE(HAVE_GTK, 1, [Define to 1 if using GTK.]) | 1921 AC_DEFINE(HAVE_GTK, 1, [Define to 1 if using GTK.]) |
1920 USE_X_TOOLKIT=none | 1922 USE_X_TOOLKIT=none |
1921 | 1923 |
1922 dnl GTK scrollbars resembles toolkit scrollbars alot, so to avoid | 1924 dnl GTK scrollbars resemble toolkit scrollbars a lot, so to avoid |
1923 dnl a lot if #ifdef:s, say we have toolkit scrollbars. | 1925 dnl a lot if #ifdef:s, say we have toolkit scrollbars. |
1924 with_toolkit_scroll_bars=yes | 1926 with_toolkit_scroll_bars=yes |
1927 | |
1928 dnl Check if we can use multiple displays with this GTK version. | |
1929 dnl If gdk_display_open exists, assume all others are there also. | |
1930 HAVE_GTK_MULTIDISPLAY=no | |
1931 AC_CHECK_FUNCS(gdk_display_open, HAVE_GTK_MULTIDISPLAY=yes) | |
1932 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | |
1933 AC_DEFINE(HAVE_GTK_MULTIDISPLAY, 1, | |
1934 [Define to 1 if GTK can handle more than one display.]) | |
1935 fi | |
1925 fi | 1936 fi |
1926 | 1937 |
1927 dnl Do not put whitespace before the #include statements below. | 1938 dnl Do not put whitespace before the #include statements below. |
1928 dnl Older compilers (eg sunos4 cc) choke on it. | 1939 dnl Older compilers (eg sunos4 cc) choke on it. |
1929 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 1940 if test x"${USE_X_TOOLKIT}" = xmaybe; then |