summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-02-10 10:24:09 -0800
committerPavel Roskin <plroskin@gmail.com>2016-02-12 23:52:46 -0800
commitdcab7552db2af346724c5090e529950b32a7076d (patch)
tree64c7b237ed4a44e945d48b366df4d7bbe337ac40 /configure.ac
parentffc4efb9ce09ccc370571793607b19193d8cb15b (diff)
downloadxrdp-proprietary-dcab7552db2af346724c5090e529950b32a7076d.tar.gz
xrdp-proprietary-dcab7552db2af346724c5090e529950b32a7076d.zip
Stop redefining libdir, use moduledir for ${libdir}/xrdp
libdir is for shared and static libraries. Some xrdp libraries are loaded dynamically from a non-standard directory, so they are used like modules. Having separate libdir and moduledir would eventually allow to separate dynamically loaded modules from shared libraries.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index af78a392..80fad1c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -226,7 +226,8 @@ AC_CHECK_HEADER([X11/extensions/Xrandr.h], [],
CFLAGS="$save_CFLAGS"
-libdir="${libdir}/xrdp";
+AC_SUBST([moduledir], '${libdir}/xrdp')
+
if test "x${prefix}" = "xNONE" ; then
sysconfdir="/etc";
localstatedir="/var";