From da73aee4c06cdb258ffe6815ecb723876e3914a8 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sun, 17 Aug 2008 07:13:41 +0000 Subject: [PATCH] when no prefix, install to /etc and add instfiles --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b2661671..788c8a02 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,9 @@ AC_ARG_ENABLE(pamuserpass, AS_HELP_STRING([--enable-pamuserpass], [pamuserpass=true], [pamuserpass=false]) AM_CONDITIONAL(SESMAN_PAMUSERPASS, [test x$pamuserpass = xtrue]) libdir="${libdir}/xrdp/"; -if ! test "x${prefix}" = "xNONE" ; then +if test "x${prefix}" = "xNONE" ; then +sysconfdir="/etc/"; +else AC_DEFINE_UNQUOTED([XRDP_CFG_PATH], ["${prefix}/etc/xrdp"], [xrdp config dir]) AC_DEFINE_UNQUOTED([XRDP_CFG_FILE], ["${prefix}/etc/xrdp/xrdp.ini"], [xrdp config file]) AC_DEFINE_UNQUOTED([XRDP_KEY_FILE], ["${prefix}/etc/xrdp/rsakeys.ini"], [xrdp key file]) @@ -45,6 +47,8 @@ AC_CONFIG_FILES([Makefile keygen/Makefile docs/Makefile docs/man/Makefile + instfiles/Makefile + instfiles/pam.d/Makefile ]) # fontdump/Makefile # xrdp/cursors/Makefile