diff options
| author | Gerd Moellmann | 1999-08-30 22:50:51 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-08-30 22:50:51 +0000 |
| commit | 0be97a727d5476cb7ee1398b56bc27f64473c647 (patch) | |
| tree | bca0f051fc9a2b42b9f6bdccd0d2209bd7cd853a | |
| parent | ee0403b3f324fbdefbf228a86c1397a95484ebba (diff) | |
| download | emacs-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.in | 38 |
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 | ||
| 1576 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 1576 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
| 1577 | 1577 | ||
| 1578 | dnl Use toolkit scroll bars if configured for X toolkit and either | ||
| 1579 | dnl using Motif or Xaw3d is available, and unless | ||
| 1580 | dnl --with-toolkit-scroll-bars=no was specified. | ||
| 1581 | |||
| 1582 | USE_TOOLKIT_SCROLL_BARS=no | ||
| 1583 | if 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 | ||
| 1594 | fi | ||
| 1595 | |||
| 1596 | if test "${USE_X_TOOLKIT}" != "none"; then | 1578 | if 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 |
| 1654 | fi | 1636 | fi |
| 1655 | 1637 | ||
| 1638 | dnl Use toolkit scroll bars if configured for X toolkit and either | ||
| 1639 | dnl using Motif or Xaw3d is available, and unless | ||
| 1640 | dnl --with-toolkit-scroll-bars=no was specified. | ||
| 1641 | |||
| 1642 | USE_TOOLKIT_SCROLL_BARS=no | ||
| 1643 | if 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 | ||
| 1654 | fi | ||
| 1655 | |||
| 1656 | ### Use -lXpm if available, unless `--with-xpm=no'. | 1656 | ### Use -lXpm if available, unless `--with-xpm=no'. |
| 1657 | HAVE_XPM=no | 1657 | HAVE_XPM=no |
| 1658 | if test "${HAVE_X11}" = "yes"; then | 1658 | if 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 | ||