mirror of
https://github.com/curl/curl.git
synced 2026-07-22 16:17:16 +03:00
support building ares-enabled too
This commit is contained in:
parent
f991a69cce
commit
2bdf52d4c5
1 changed files with 18 additions and 0 deletions
18
testcurl.sh
18
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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue