mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
This was silly. Nowhere else do we use [ or [[
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
21
configure
vendored
21
configure
vendored
@@ -29669,28 +29669,15 @@ fi
|
||||
|
||||
if test ! x"${CURL}" = xNo; then
|
||||
# check for version
|
||||
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
|
||||
if test 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
|
||||
|
||||
|
Reference in New Issue
Block a user