[lxc-devel] [PATCH] build: make sure to expand all variables that are substituted.

Diego Elio Pettenò flameeyes at flameeyes.eu
Sat Aug 4 04:50:40 UTC 2012


This fixes lxc-sshd still referring to '${libdir}'.

Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
---
 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0c8aa69..edb73ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,10 +61,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/unistd.h linux/netlink.h linux/genetlink.h],
 				  [],
-- 
1.7.8.6





More information about the lxc-devel mailing list