diff options
| author | Gerd Moellmann | 2000-09-01 14:05:06 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-09-01 14:05:06 +0000 |
| commit | 1890c0c425de528d5c2c6373fa51e9876d63ca5d (patch) | |
| tree | 38ad7a24c42d201501f9a33f39e76a6ecf26c277 | |
| parent | f72adc12d5669d5cc64ff6539dc36e74afefb79d (diff) | |
| download | emacs-1890c0c425de528d5c2c6373fa51e9876d63ca5d.tar.gz emacs-1890c0c425de528d5c2c6373fa51e9876d63ca5d.zip | |
Add ``checking'' messages for
XpmReturnAllocPixels.
| -rw-r--r-- | configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in index f2be12849a2..28c1e7f69d8 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1778,6 +1778,7 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 1778 | AC_CHECK_HEADER(X11/xpm.h, | 1778 | AC_CHECK_HEADER(X11/xpm.h, |
| 1779 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, HAVE_XPM=yes, , -lX11)) | 1779 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, HAVE_XPM=yes, , -lX11)) |
| 1780 | if test "${HAVE_XPM}" = "yes"; then | 1780 | if test "${HAVE_XPM}" = "yes"; then |
| 1781 | AC_MSG_CHECKING(for XpmReturnAllocPixels preprocessor define) | ||
| 1781 | AC_EGREP_CPP(no_return_alloc_pixels, | 1782 | AC_EGREP_CPP(no_return_alloc_pixels, |
| 1782 | [#include "X11/xpm.h" | 1783 | [#include "X11/xpm.h" |
| 1783 | #ifndef XpmReturnAllocPixels | 1784 | #ifndef XpmReturnAllocPixels |
| @@ -1786,6 +1787,11 @@ no_return_alloc_pixels | |||
| 1786 | ], HAVE_XPM=no, HAVE_XPM=yes) | 1787 | ], HAVE_XPM=no, HAVE_XPM=yes) |
| 1787 | fi | 1788 | fi |
| 1788 | CFLAGS="${old_c_flags}" | 1789 | CFLAGS="${old_c_flags}" |
| 1790 | if test "${HAVE_XPM}" = "yes"; then | ||
| 1791 | AC_MSG_RESULT(yes) | ||
| 1792 | else | ||
| 1793 | AC_MSG_RESULT(no) | ||
| 1794 | fi | ||
| 1789 | fi | 1795 | fi |
| 1790 | 1796 | ||
| 1791 | if test "${HAVE_XPM}" = "yes"; then | 1797 | if test "${HAVE_XPM}" = "yes"; then |