aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-08-30 22:50:51 +0000
committerGerd Moellmann1999-08-30 22:50:51 +0000
commit0be97a727d5476cb7ee1398b56bc27f64473c647 (patch)
treebca0f051fc9a2b42b9f6bdccd0d2209bd7cd853a
parentee0403b3f324fbdefbf228a86c1397a95484ebba (diff)
downloademacs-0be97a727d5476cb7ee1398b56bc27f64473c647.tar.gz
emacs-0be97a727d5476cb7ee1398b56bc27f64473c647.zip
(USE_TOOLKIT_SCROLL_BARS): Move the test down after
the test for Xaw3d. (HAVE_TIFF): Add -lm to library check.
-rw-r--r--configure.in38
1 files changed, 19 insertions, 19 deletions
diff --git a/configure.in b/configure.in
index 056bd896cef..1b5556afbe6 100644
--- a/configure.in
+++ b/configure.in
@@ -1575,24 +1575,6 @@ fi
1575 1575
1576X_TOOLKIT_TYPE=$USE_X_TOOLKIT 1576X_TOOLKIT_TYPE=$USE_X_TOOLKIT
1577 1577
1578dnl Use toolkit scroll bars if configured for X toolkit and either
1579dnl using Motif or Xaw3d is available, and unless
1580dnl --with-toolkit-scroll-bars=no was specified.
1581
1582USE_TOOLKIT_SCROLL_BARS=no
1583if test "${with_toolkit_scroll_bars}" != "no"; then
1584 if test "${USE_X_TOOLKIT}" != "none"; then
1585 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
1586 AC_DEFINE(USE_TOOLKIT_SCROLL_BARS)
1587 HAVE_XAW3D=no
1588 USE_TOOLKIT_SCROLL_BARS=yes
1589 elif test "${HAVE_XAW3D}" = "yes"; then
1590 AC_DEFINE(USE_TOOLKIT_SCROLL_BARS)
1591 USE_TOOLKIT_SCROLL_BARS=yes
1592 fi
1593 fi
1594fi
1595
1596if test "${USE_X_TOOLKIT}" != "none"; then 1578if test "${USE_X_TOOLKIT}" != "none"; then
1597 AC_MSG_CHECKING(X11 toolkit version) 1579 AC_MSG_CHECKING(X11 toolkit version)
1598 AC_CACHE_VAL(emacs_cv_x11_toolkit_version_6, 1580 AC_CACHE_VAL(emacs_cv_x11_toolkit_version_6,
@@ -1653,6 +1635,24 @@ if test "${HAVE_X11}" = "yes"; then
1653 fi 1635 fi
1654fi 1636fi
1655 1637
1638dnl Use toolkit scroll bars if configured for X toolkit and either
1639dnl using Motif or Xaw3d is available, and unless
1640dnl --with-toolkit-scroll-bars=no was specified.
1641
1642USE_TOOLKIT_SCROLL_BARS=no
1643if test "${with_toolkit_scroll_bars}" != "no"; then
1644 if test "${USE_X_TOOLKIT}" != "none"; then
1645 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
1646 AC_DEFINE(USE_TOOLKIT_SCROLL_BARS)
1647 HAVE_XAW3D=no
1648 USE_TOOLKIT_SCROLL_BARS=yes
1649 elif test "${HAVE_XAW3D}" = "yes"; then
1650 AC_DEFINE(USE_TOOLKIT_SCROLL_BARS)
1651 USE_TOOLKIT_SCROLL_BARS=yes
1652 fi
1653 fi
1654fi
1655
1656### Use -lXpm if available, unless `--with-xpm=no'. 1656### Use -lXpm if available, unless `--with-xpm=no'.
1657HAVE_XPM=no 1657HAVE_XPM=no
1658if test "${HAVE_X11}" = "yes"; then 1658if test "${HAVE_X11}" = "yes"; then
@@ -1707,7 +1707,7 @@ if test "${HAVE_X11}" = "yes"; then
1707 old_c_flags="${CFLAGS}" 1707 old_c_flags="${CFLAGS}"
1708 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 1708 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
1709 AC_CHECK_HEADER(tiffio.h, 1709 AC_CHECK_HEADER(tiffio.h,
1710 AC_CHECK_LIB(tiff, TIFFGetVersion, HAVE_TIFF=yes, , -lX11)) 1710 AC_CHECK_LIB(tiff, TIFFGetVersion, HAVE_TIFF=yes, , -lX11 -lm))
1711 CFLAGS="${old_c_flags}" 1711 CFLAGS="${old_c_flags}"
1712 fi 1712 fi
1713 1713