aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-10-24 22:30:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-10-24 22:30:40 +0000
commit2bdf52d4c55a194e5167cf1e60126e5c6d1496dd (patch)
treead257da80bfc666ba6d29ff118f349543e91e10c
parentf991a69cceac24f440b35aa40dac484c34c39091 (diff)
support building ares-enabled too
-rwxr-xr-xtestcurl.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/testcurl.sh b/testcurl.sh
index c3f5e8f80..5411a80d9 100755
--- a/testcurl.sh
+++ b/testcurl.sh
@@ -183,6 +183,24 @@ fi
echo "testcurl: display lib/config.h"
grep "^ *#" lib/config.h
+if { grep USE_ARES lib/config.h; } then
+ echo "testcurl: setup to build ares"
+
+ # make an ares dir
+ mkdir ares
+
+ # run the ares configure
+ cd ares
+ ../../curl/ares/configure 2>&1
+
+ echo "testcurl: build ares"
+ make
+ echo "testcurl: ares is now built"
+
+ # cd back to the curl build dir
+ cd ..
+fi
+
echo "testcurl: now run make"
make -i 2>&1 | sed -e "s:$pwd::g"