As Alexander Lazic pointed out, run the buildconf from the ares dir if that
authorDaniel Stenberg <daniel@haxx.se>
Fri, 6 Jan 2006 22:08:39 +0000 (22:08 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 6 Jan 2006 22:08:39 +0000 (22:08 +0000)
is present instead of trying to duplicate that stuff in this script.

buildconf

index 6b090bf..ec818bc 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -226,12 +226,8 @@ ${AUTOCONF:-autoconf}     || die "The autoconf command failed"
 
 if test -d ares; then
   cd ares
-  echo "buildconf: running ares/libtoolize"
-$libtoolize --copy --automake --force || die "The libtoolize command failed"
-  echo "buildconf: running ares/aclocal"
-  ${ACLOCAL:-aclocal} $ACLOCAL_FLAGS || die "The ares aclocal command failed"
-  echo "buildconf: running ares/autoconf"
-  ${AUTOCONF:-autoconf}     || die "The ares autoconf command failed"
+  echo "buildconf: running in ares"
+  ./buildconf
   cd ..
 fi