aboutsummaryrefslogtreecommitdiff
path: root/ares/buildconf
diff options
context:
space:
mode:
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}