summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ce5bd2094..b81e15597 100644
--- a/configure.ac
+++ b/configure.ac
@@ -550,9 +550,9 @@ if test "x$with_x" != "xno"; then
if test "x$no_x" != "xyes"; then
ac_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
- AC_CHECK_HEADERS([X11/extensions/XShm.h], [ ],
+ AC_CHECK_HEADERS([X11/extensions/XShm.h], [true],
[AC_MSG_ERROR([XShm extension is required])])
- AC_CHECK_LIB([Xext], [main], [ ],
+ AC_CHECK_LIB([Xext], [main], [true],
[AC_MSG_ERROR([libXext is required])], [$X_LIBS])
CPPFLAGS="$ac_save_CPPFLAGS"
X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXext"