aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-08-03 21:49:44 -0700
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-08-03 21:49:44 -0700
commit7401c4581cae665aefa7ee6a4a91c97b40ac6537 (patch)
tree777db2d53b4fbdf5babaef22acc8ce3827381665
parentBuild: get __NR_setns from asm/unistd.h, not kernel source (diff)
downloadlxc-7401c4581cae665aefa7ee6a4a91c97b40ac6537.tar.gz
lxc-7401c4581cae665aefa7ee6a4a91c97b40ac6537.tar.bz2
lxc-7401c4581cae665aefa7ee6a4a91c97b40ac6537.zip
build: make sure to expand all variables that are substituted.
This fixes lxc-sshd still referring to '${libdir}'.
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 8c0864a..395dc4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,10 +56,10 @@ AC_ARG_WITH([rootfs-path],
AS_AC_EXPAND(LXC_GENERATE_DATE, "$(date)")
-AC_SUBST(LXCPATH, "${with_config_path}")
-AC_SUBST(LXCROOTFSMOUNT, "${with_rootfs_path}")
-AC_SUBST(LXCINITDIR, ['${libexecdir}/lxc'])
-AC_SUBST(LXCTEMPLATEDIR, ['${libdir}/lxc/templates'])
+AS_AC_EXPAND(LXCPATH, "${with_config_path}")
+AS_AC_EXPAND(LXCROOTFSMOUNT, "${with_rootfs_path}")
+AS_AC_EXPAND(LXCTEMPLATEDIR, "${libdir}/lxc/templates")
+AS_AC_EXPAND(LXCINITDIR, "${libexecdir}/lxc")
AC_CHECK_HEADERS([linux/netlink.h linux/genetlink.h],
[],