To allow user to properly configure the location of lxcpath (/var/lxc),
it should be build based on variable 'localstatedir' instead of 'prefix'.
By default, localstatedir=$prefix/var
localstatedir can be set by the user during configure:
./configure --localstatedir=/var
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
-lxcpath=$(prefix)/var/lxc
-INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"$(lxcpath)\""
+INCLUDES= -I$(top_srcdir)/src -DLXCPATH="\"$(localstatedir)/lxc\""
lib_LTLIBRARIES = liblxc.la
pkginclude_HEADERS = \
monitor.h \
echo "* and you will need to run them as 'root' yourself. *" && \
echo "* *" && \
echo "*****************************************************************" && \
- echo && echo)
\ No newline at end of file
+ echo && echo)