From c4edc25d01c436a0e1698d1aa169e4bbea673c53 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 27 Jul 2008 18:10:54 +0000 Subject: When calling aclocal, user defined ACLOCAL_FLAGS will now precede ours. --- ares/buildconf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ares/buildconf') diff --git a/ares/buildconf b/ares/buildconf index 434a308fd..7e5e077b2 100755 --- a/ares/buildconf +++ b/ares/buildconf @@ -1,7 +1,12 @@ #!/bin/sh +if test -z "$ACLOCAL_FLAGS"; then + ACLOCAL_FLAGS="-I m4" +else + ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" +fi + ${LIBTOOLIZE:-libtoolize} --copy --automake --force -ACLOCAL_FLAGS="-I m4 $ACLOCAL_FLAGS" ${ACLOCAL:-aclocal} $ACLOCAL_FLAGS ${AUTOHEADER:-autoheader} ${AUTOCONF:-autoconf} -- cgit v1.2.3