From bfdb88062ca61bd7a79f85ccf9d838dda042e312 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sun, 11 Oct 2009 05:33:30 +0000 Subject: [PATCH] another try --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 2e187bbb..d4bf6164 100644 --- a/configure.ac +++ b/configure.ac @@ -33,11 +33,11 @@ then fi # checking for Xlib, Xfixes -AC_CHECK_HEADERS([X11/Xlib.h X11/extensions/Xfixes.h], [], +AC_CHECK_HEADER([X11/Xlib.h], [], + [AC_MSG_ERROR([please install libx11-dev])]) +AC_CHECK_HEADER([X11/extensions/Xfixes.h], [], [AC_MSG_ERROR([please install libx11-dev and libxfixes-dev])], - [[#ifdef HAVE_XLIB_H - #include - #endif]]) + [#include ]) libdir="${libdir}/xrdp"; if test "x${prefix}" = "xNONE" ; then