dect
/
asterisk
Archived
13
0
Fork 0

update configure script with new curl version test

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37680 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2006-07-15 21:41:40 +00:00
parent e63bd04ff0
commit 7df99fe12d
1 changed files with 17 additions and 3 deletions

20
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac Revision: 37284 .
# From configure.ac Revision: 37678 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.60.
#
@ -27468,13 +27468,27 @@ fi
if test ! x"${CURL}" = xNo; then
# check for version
CURLLIB=$(${CURL} --libs)
PBX_CURL=1
if test $PBX_OSTYPE = "SunOS"; then
if [ 0x`curl-config --vernum` -ge 0x70907 ]; then
CURLLIB=$(${CURL} --libs)
PBX_CURL=1
cat >>confdefs.h <<\_ACEOF
#define HAVE_CURL 1
_ACEOF
fi
else
if [[ 0x`curl-config --vernum` -ge 0x70907 ]]; then
CURLLIB=$(${CURL} --libs)
PBX_CURL=1
cat >>confdefs.h <<\_ACEOF
#define HAVE_CURL 1
_ACEOF
fi
fi
fi