diff --git a/autogen.sh b/autogen.sh
index 8c02d61ae60d1dc5c444e76f75d6efabb3258545..a639131d8aad119c586b9d2d549c1d6522896544 100755 (executable)
--- a/autogen.sh
+++ b/autogen.sh
# add aclocal.m4 to current dir
echo "aclocal..."
# add aclocal.m4 to current dir
echo "aclocal..."
-aclocal -I $PWD/m4
+aclocal -I m4
# This generates the configure script from configure.in
echo "autoconf..."
# This generates the configure script from configure.in
echo "autoconf..."
# Generate Makefile.in from Makefile.am
echo "automake..."
# Generate Makefile.in from Makefile.am
echo "automake..."
-automake --add-missing
+automake --add-missing $AUTOMAKE_FLAGS
# configure
# configure