diff options
| author | Gerd Moellmann | 2001-03-20 15:47:08 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-03-20 15:47:08 +0000 |
| commit | 29c1b68e5c0bd4a57ef7dbe7b476b20c1d40d05c (patch) | |
| tree | f6e77a64310b3b5049c993001df85313bc2305af | |
| parent | 2153fe6e9dbd5a46fcfb9edf4e9aade3e0eb47fe (diff) | |
| download | emacs-29c1b68e5c0bd4a57ef7dbe7b476b20c1d40d05c.tar.gz emacs-29c1b68e5c0bd4a57ef7dbe7b476b20c1d40d05c.zip | |
(HAVE_XPM): Don't print the result of the check for
XpmReturnAllocPixels if we don't have an xpm.h.
| -rw-r--r-- | configure.in | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/configure.in b/configure.in index 460d1b31d06..00d283daac5 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1811,18 +1811,19 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 1811 | AC_CHECK_HEADER(X11/xpm.h, | 1811 | AC_CHECK_HEADER(X11/xpm.h, |
| 1812 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, HAVE_XPM=yes, , -lX11)) | 1812 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, HAVE_XPM=yes, , -lX11)) |
| 1813 | if test "${HAVE_XPM}" = "yes"; then | 1813 | if test "${HAVE_XPM}" = "yes"; then |
| 1814 | AC_MSG_CHECKING(for XpmReturnAllocPixels preprocessor define) | 1814 | AC_MSG_CHECKING(for XpmReturnAllocPixels preprocessor define) |
| 1815 | AC_EGREP_CPP(no_return_alloc_pixels, | 1815 | AC_EGREP_CPP(no_return_alloc_pixels, |
| 1816 | [#include "X11/xpm.h" | 1816 | [#include "X11/xpm.h" |
| 1817 | #ifndef XpmReturnAllocPixels | 1817 | #ifndef XpmReturnAllocPixels |
| 1818 | no_return_alloc_pixels | 1818 | no_return_alloc_pixels |
| 1819 | #endif | 1819 | #endif |
| 1820 | ], HAVE_XPM=no, HAVE_XPM=yes) | 1820 | ], HAVE_XPM=no, HAVE_XPM=yes) |
| 1821 | fi | 1821 | |
| 1822 | if test "${HAVE_XPM}" = "yes"; then | 1822 | if test "${HAVE_XPM}" = "yes"; then |
| 1823 | AC_MSG_RESULT(yes) | 1823 | AC_MSG_RESULT(yes) |
| 1824 | else | 1824 | else |
| 1825 | AC_MSG_RESULT(no) | 1825 | AC_MSG_RESULT(no) |
| 1826 | fi | ||
| 1826 | fi | 1827 | fi |
| 1827 | fi | 1828 | fi |
| 1828 | 1829 | ||