Commit 6769ab27 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

if --enable-ares is used, we must run 'buildconf' in the ares dir before

we run configure.
parent 85867cbe
Loading
Loading
Loading
Loading
+20 −4
Original line number Diff line number Diff line
@@ -316,10 +316,25 @@ if ($CVS) {
    } else {
      mydie "buildconf was NOT successful";
    }

    if($confopts =~ /--enable-ares/) {
        logit "run buildconf for ares";
        chdir "ares";
        open(F, "./buildconf 2>&1 |") or die;
        open(LOG, ">$buildlog") or die;
        while (<F>) {
            next if /warning: underquoted definition of/;
            print;
            print LOG;
        }
        close(F);
        close(LOG);
        chdir "..";
    }

  } else {
      logit "buildconf was successful (dummy message)";
  }

}

if ($gnulikebuild) {
@@ -375,6 +390,7 @@ if (grepfile("define USE_ARES", "lib/config$confsuffix.h")) {

  logit "build ares";
  chdir "ares";

  if ($targetos ne '') {
      open(F, "make -f Makefile.$targetos 2>&1 |") or die;
  } else {