diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 23:37:25 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 23:37:25 +0000 |
commit | 360679cc3cede66499f631ff5062ecc96e30965a (patch) | |
tree | ef21441ab6e67095b098a22b566cf41feafa3478 /configure | |
parent | c37364c1a8f6ece02acd67413b3ff755b4a57526 (diff) |
This was silly. Nowhere else do we use [ or [[
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43244 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 21 |
1 files changed, 4 insertions, 17 deletions
@@ -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 |