|
|
@ -7,6 +7,18 @@ AM_INIT_AUTOMAKE([1.6 foreign])
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_C_CONST
|
|
|
|
AC_C_CONST
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(nopam, AS_HELP_STRING([--enable-nopam],
|
|
|
|
|
|
|
|
[Build no PAM support (default: no)]),
|
|
|
|
|
|
|
|
[nopam=true], [nopam=false])
|
|
|
|
|
|
|
|
AM_CONDITIONAL(SESMAN_NOPAM, [test x$nopam = xtrue])
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(kerberos, AS_HELP_STRING([--enable-kerberos],
|
|
|
|
|
|
|
|
[Build kerberos support (default: no)]),
|
|
|
|
|
|
|
|
[kerberos=true], [kerberos=false])
|
|
|
|
|
|
|
|
AM_CONDITIONAL(SESMAN_KERBEROS, [test x$kerberos = xtrue])
|
|
|
|
|
|
|
|
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])
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
|
|
common/Makefile
|
|
|
|
common/Makefile
|
|
|
|
vnc/Makefile
|
|
|
|
vnc/Makefile
|
|
|
@ -26,3 +38,9 @@ AC_CONFIG_FILES([Makefile
|
|
|
|
# xrdp/cursors/Makefile
|
|
|
|
# xrdp/cursors/Makefile
|
|
|
|
# Xserver/hw/rdp/Makefile
|
|
|
|
# Xserver/hw/rdp/Makefile
|
|
|
|
AC_OUTPUT
|
|
|
|
AC_OUTPUT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# example of how to check for a struct in a header
|
|
|
|
|
|
|
|
#AC_CHECK_MEMBER([struct in6_addr.s6_addr],
|
|
|
|
|
|
|
|
# [],
|
|
|
|
|
|
|
|
# [AC_DEFINE(NO_ARPA_INET_H_IP6, 1, [for IPv6])],
|
|
|
|
|
|
|
|
# [#include <arpa/inet.h>])
|
|
|
|