aboutsummaryrefslogtreecommitdiff
path: root/ares/buildconf
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-27 18:10:54 +0000
committerYang Tse <yangsita@gmail.com>2008-07-27 18:10:54 +0000
commitc4edc25d01c436a0e1698d1aa169e4bbea673c53 (patch)
tree2d8aa5f1c20bdfd658ee24c6cf8c7686352b7a72 /ares/buildconf
parent36361d14cf0637f45ca6e6f1e34f95d74d3d0322 (diff)
When calling aclocal, user defined ACLOCAL_FLAGS will now precede ours.
Diffstat (limited to 'ares/buildconf')
-rwxr-xr-xares/buildconf7
1 files changed, 6 insertions, 1 deletions
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}