From 0ca1f321ac1105ffc5a6a3747d68067cda0aa4ea Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 17 Jan 2012 12:29:53 +0100 Subject: dynconfig/config.m4: expand prefix, exec_prefix, sysconfdir, localstatedir and datarootdir in Makefile Otherwise $prefix is "NONE" without explicit --prefix metze --- dynconfig/config.m4 | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'dynconfig') diff --git a/dynconfig/config.m4 b/dynconfig/config.m4 index e7a7228e8a..097b9305f6 100644 --- a/dynconfig/config.m4 +++ b/dynconfig/config.m4 @@ -30,15 +30,15 @@ if test x$enable_fhs != xyes; then SWATDIR="${datadir}/swat" CODEPAGEDIR="${datadir}/codepages" PAMMODULESDIR="${libdir}/security" - CONFIGDIR="${sysconfdir}" - PRIVATE_DIR="${prefix}/private" - LOCKDIR="${localstatedir}/lock" - PIDDIR="${localstatedir}/run" - STATEDIR="${localstatedir}/locks" - CACHEDIR="${localstatedir}/cache" - LOGFILEBASE="${localstatedir}" - SOCKET_DIR="${localstatedir}/run" - PRIVILEGED_SOCKET_DIR="${localstatedir}/lib" + CONFIGDIR="\${sysconfdir}" + PRIVATE_DIR="\${prefix}/private" + LOCKDIR="\${localstatedir}/lock" + PIDDIR="\${localstatedir}/run" + STATEDIR="\${localstatedir}/locks" + CACHEDIR="\${localstatedir}/cache" + LOGFILEBASE="\${localstatedir}" + SOCKET_DIR="\${localstatedir}/run" + PRIVILEGED_SOCKET_DIR="\${localstatedir}/lib" else AC_DEFINE(FHS_COMPATIBLE, 1, [Whether to use fully FHS-compatible paths]) @@ -49,15 +49,15 @@ else SWATDIR="${datadir}/samba/swat" CODEPAGEDIR="${datadir}/samba/codepages" PAMMODULESDIR="${libdir}/security" - CONFIGDIR="${sysconfdir}/samba" - PRIVATE_DIR="${localstatedir}/lib/samba/private" - LOCKDIR="${localstatedir}/lock/samba" - PIDDIR="${localstatedir}/run/samba" - STATEDIR="${localstatedir}/lib/samba" - CACHEDIR="${localstatedir}/cache/samba" - LOGFILEBASE="${localstatedir}/log/samba" - SOCKET_DIR="${localstatedir}/run/samba" - PRIVILEGED_SOCKET_DIR="${localstatedir}/lib/samba" + CONFIGDIR="\${sysconfdir}/samba" + PRIVATE_DIR="\${localstatedir}/lib/samba/private" + LOCKDIR="\${localstatedir}/lock/samba" + PIDDIR="\${localstatedir}/run/samba" + STATEDIR="\${localstatedir}/lib/samba" + CACHEDIR="\${localstatedir}/cache/samba" + LOGFILEBASE="\${localstatedir}/log/samba" + SOCKET_DIR="\${localstatedir}/run/samba" + PRIVILEGED_SOCKET_DIR="\${localstatedir}/lib/samba" fi AC_ARG_WITH(pammodulesdir, -- cgit