Mercurial > emacs
comparison configure.in @ 36901:0c5978b5eb3a
(HAVE_XPM): Don't print the result of the check for
XpmReturnAllocPixels if we don't have an xpm.h.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 20 Mar 2001 15:47:08 +0000 |
parents | f98c16e68579 |
children | 57f54fb91332 |
comparison
equal
deleted
inserted
replaced
36900:a59daf60cef1 | 36901:0c5978b5eb3a |
---|---|
1809 if test "${HAVE_X11}" = "yes"; then | 1809 if test "${HAVE_X11}" = "yes"; then |
1810 if test "${with_xpm}" != "no"; then | 1810 if test "${with_xpm}" != "no"; 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 |
1829 if test "${HAVE_XPM}" = "yes"; then | 1830 if test "${HAVE_XPM}" = "yes"; then |
1830 AC_DEFINE(HAVE_XPM) | 1831 AC_DEFINE(HAVE_XPM) |