summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-10-11 05:09:42 +0000
committerjsorg71 <jsorg71>2009-10-11 05:09:42 +0000
commitc06f9a51be33d7c88b17aabc9001b51e15c2d5cf (patch)
treed62dcb1241d05ae2ae8393af111c050bb817cf4e
parent768222424ed37ca18fbe837f8c7ba05c999b0f7b (diff)
downloadxrdp-proprietary-c06f9a51be33d7c88b17aabc9001b51e15c2d5cf.tar.gz
xrdp-proprietary-c06f9a51be33d7c88b17aabc9001b51e15c2d5cf.zip
check for Xlib.h and Xfixes.h at once
-rw-r--r--configure.ac5
1 files 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