diff options
author | jsorg71 <jsorg71> | 2009-10-09 18:20:56 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2009-10-09 18:20:56 +0000 |
commit | b146f429fdc4daf93b9d0a403f1f7f46cab24c5e (patch) | |
tree | 7be2fda210fe3aa08cf6546537d5530f6321013c /configure.ac | |
parent | 90bf3cd91110c94d7367a7cf183800c60942d92d (diff) | |
download | xrdp-proprietary-b146f429fdc4daf93b9d0a403f1f7f46cab24c5e.tar.gz xrdp-proprietary-b146f429fdc4daf93b9d0a403f1f7f46cab24c5e.zip |
added check for required header files
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6bd7c60f..ca421e87 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,23 @@ AC_ARG_ENABLE(pamuserpass, AS_HELP_STRING([--enable-pamuserpass], [Build pam userpass support (default: no)]), [pamuserpass=true], [pamuserpass=false]) AM_CONDITIONAL(SESMAN_PAMUSERPASS, [test x$pamuserpass = xtrue]) + +# checking for openssl +AC_CHECK_HEADER([openssl/rc4.h], [], [AC_MSG_ERROR([please install libssl-dev or openssl-devel])]) + +# checking if pam should be autodetected. +if test -z "$enable_nopam" +then + if test -z "$enable_kerberos" + then + AC_CHECK_HEADER([security/pam_appl.h], [], [AC_MSG_ERROR([please install libpam0g-dev or pam-devel])]) + 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])]) + libdir="${libdir}/xrdp"; if test "x${prefix}" = "xNONE" ; then sysconfdir="/etc"; |