Better ACLOCAL_FLAGS

master
Yevgen Muntyan 2006-05-05 13:31:37 -05:00
parent 2f575d16cd
commit e7656fd8d0
3 changed files with 7 additions and 3 deletions

View File

@ -8,7 +8,7 @@ EXTRA_DIST = \
DIST_SUBDIRS = m4
ACLOCAL_AMFLAGS = -I m4 $(ACLOCAL_FLAGS)
ACLOCAL_AMFLAGS = $(ACLOCAL_FLAGS)
AM_CFLAGS = \
-I$(top_builddir) \

View File

@ -14,6 +14,7 @@ cd $srcdir
echo "Generating configuration files..."
ACLOCAL=${ACLOCAL:-aclocal-1.9}
ACLOCAL_FLAGS="$ACLOCAL_FLAGS $aclocal_extra"
AUTOMAKE=${AUTOMAKE:-automake-1.9}
LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
@ -24,8 +25,8 @@ AUTOCONF=${AUTOCONF:-autoconf}
echo $LIBTOOLIZE --automake --copy
$LIBTOOLIZE --automake --copy || exit $?
echo $ACLOCAL $ACLOCAL_FLAGS $aclocal_extra
$ACLOCAL $ACLOCAL_FLAGS $aclocal_extra || exit $?
echo $ACLOCAL $ACLOCAL_FLAGS
$ACLOCAL $ACLOCAL_FLAGS || exit $?
echo $AUTOHEADER
$AUTOHEADER || exit $?

View File

@ -22,6 +22,9 @@ AC_HEADER_STDC
AC_PROG_INSTALL
MOO_AC_PROGS
if test -z $ACLOCAL_FLAGS; then
ACLOCAL_FLAGS="-I $top_srcdir/m4"
fi
AC_SUBST(ACLOCAL_FLAGS)
# Misc stuff