Commit ccf13198 by Daniel Lezcano Committed by Daniel Lezcano

add aclocal include in makefile

When auto-regen is done at the make time, eg. when the configure.in script has been modified, the configure is not correctly generated because the 'config' directory is missing for aclocal, and that makes the generation to fail due to the missing macros defined in config directory. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 5b2b6e7e
# Makefile.am # Makefile.am
ACLOCAL_AMFLAGS = -I config
SUBDIRS = src test etc scripts doc SUBDIRS = src test etc scripts doc
DIST_SUBDIRS = config src test etc scripts doc DIST_SUBDIRS = config src test etc scripts doc
EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS ChangeLog EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS ChangeLog
......
...@@ -4,9 +4,8 @@ set -x ...@@ -4,9 +4,8 @@ set -x
test -d autom4te.cache && rm -rf autom4te.cache test -d autom4te.cache && rm -rf autom4te.cache
test -d m4 || mkdir m4 test -d m4 || mkdir m4
ACLOCAL_AMFLAGS="-I m4 -I config $ACLOCAL_AMFLAGS"
libtoolize --force --copy libtoolize --force --copy
aclocal $ACLOCAL_AMFLAGS || exit 1 aclocal -I m4 -I config || exit 1
autoheader || exit 1 autoheader || exit 1
autoconf || exit 1 autoconf || exit 1
automake --add-missing --copy || exit 1 automake --add-missing --copy || exit 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment