This totally worked when I tested it...

Reverting for now..


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2006-09-18 23:59:23 +00:00
parent 3334bdebb7
commit e3f0ca05e5
2 changed files with 31 additions and 9 deletions

21
configure vendored
View File

@@ -29669,15 +29669,28 @@ fi
if test ! x"${CURL}" = xNo; then
# check for version
if test 0x`curl-config --vernum` -ge 0x70907 ; then
CURL_INCLUDE=$(${CURL} --cflags)
CURL_LIB=$(${CURL} --libs)
PBX_CURL=1
if test "${host_os}" = "SunOS"; then
if [ 0x`curl-config --vernum` -ge 0x70907 ]; then
CURL_INCLUDE=$(${CURL} --cflags)
CURL_LIB=$(${CURL} --libs)
PBX_CURL=1
cat >>confdefs.h <<\_ACEOF
#define HAVE_CURL 1
_ACEOF
fi
else
if [[ 0x`curl-config --vernum` -ge 0x70907 ]]; then
CURL_INCLUDE=$(${CURL} --cflags)
CURL_LIB=$(${CURL} --libs)
PBX_CURL=1
cat >>confdefs.h <<\_ACEOF
#define HAVE_CURL 1
_ACEOF
fi
fi
fi