From 1890c0c425de528d5c2c6373fa51e9876d63ca5d Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 1 Sep 2000 14:05:06 +0000 Subject: [PATCH] Add ``checking'' messages for XpmReturnAllocPixels. --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) 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 AC_CHECK_HEADER(X11/xpm.h, AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, HAVE_XPM=yes, , -lX11)) if test "${HAVE_XPM}" = "yes"; then + AC_MSG_CHECKING(for XpmReturnAllocPixels preprocessor define) AC_EGREP_CPP(no_return_alloc_pixels, [#include "X11/xpm.h" #ifndef XpmReturnAllocPixels @@ -1786,6 +1787,11 @@ no_return_alloc_pixels ], HAVE_XPM=no, HAVE_XPM=yes) fi CFLAGS="${old_c_flags}" + if test "${HAVE_XPM}" = "yes"; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + fi fi if test "${HAVE_XPM}" = "yes"; then -- 2.39.5