Commit 5168b32f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

if ares is present, run aclocal in that dir before autoconf is run

parent 03737583
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -154,8 +154,10 @@ echo "buildconf: running autoconf"
${AUTOCONF:-autoconf}     || die "The command '${AUTOCONF:-autoconf}' failed"

if test -d ares; then
  echo "buildconf: running autoconf in the ares directory"
  cd ares
  echo "buildconf: running aclocal in the ares directory"
  ${ACLOCAL:-aclocal}     || die "The command '${ACLOCAL:-aclocal}' failed"
  echo "buildconf: running autoconf in the ares directory"
  ${AUTOCONF:-autoconf}     || die "The command '${AUTOCONF:-autoconf}' failed"
  cd ..
fi