mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
update configure script with new curl version test
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
20
configure
vendored
20
configure
vendored
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user