diff options
author | jsorg71 <jsorg71> | 2008-08-17 07:13:41 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2008-08-17 07:13:41 +0000 |
commit | da73aee4c06cdb258ffe6815ecb723876e3914a8 (patch) | |
tree | 862e103fedd3ab50b0eb983272846bfeb34e6395 /configure.ac | |
parent | d6cf451327f3afe39210f483056f17438438143f (diff) | |
download | xrdp-proprietary-da73aee4c06cdb258ffe6815ecb723876e3914a8.tar.gz xrdp-proprietary-da73aee4c06cdb258ffe6815ecb723876e3914a8.zip |
when no prefix, install to /etc and add instfiles
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
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 |