From c06f9a51be33d7c88b17aabc9001b51e15c2d5cf Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sun, 11 Oct 2009 05:09:42 +0000 Subject: [PATCH] check for Xlib.h and Xfixes.h at once --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index ca421e87..c23c2888 100644 --- a/configure.ac +++ b/configure.ac @@ -32,9 +32,8 @@ then fi fi -# checking for Xlib -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 libxfixes-dev])]) +# checking for Xlib, Xfixes +AC_CHECK_HEADERS([X11/Xlib.h X11/extensions/Xfixes.h], [], [AC_MSG_ERROR([please install libx11-dev and libxfixes-dev])]) libdir="${libdir}/xrdp"; if test "x${prefix}" = "xNONE" ; then