]> git.proxmox.com Git - mirror_lxc.git/commit - configure.ac
fix expansion of LXCPATH,LXCROOTFSMOUNT,LXCTEMPLATEDIR
authorDwight Engen <dwight.engen@oracle.com>
Tue, 11 Sep 2012 21:06:05 +0000 (17:06 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 18:18:31 +0000 (13:18 -0500)
commit5b12984bf9d1d952a402932d3d87aaef2d1ca6f2
tree8fc2f4133a1ca6bea630a47af7109c0987ad96c4
parent0d2787be930588ac04854dcc2dd0ba85a2cbec48
fix expansion of LXCPATH,LXCROOTFSMOUNT,LXCTEMPLATEDIR

These variables are not expanded correctly in doc/lxc-create.sgml.in
and a workaround is in place to ensure ${localstatedir}, and ${datadir}
are set in the various shell scripts that use it. There is no workaround
to ensure ${datadir} is set in src/lxc/lxc-create.in, nor is
${localstatedir} set in templates/lxc-altlinux.in so I think that these
are currently broken.

Using AS_AC_EXPAND instead of AC_SUBST fixes these problems and removes
the need for the workarounds. In addition the lxc-start-ephemeral.in
script can be autoconf'ed instead of sed'ed by the makefile.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
configure.ac
src/lxc/Makefile.am