[asterisk-commits] file: trunk r48282 - /trunk/configure

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Dec 5 13:46:26 MST 2006


Author: file
Date: Tue Dec  5 14:46:26 2006
New Revision: 48282

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48282
Log:
Regenerate configure for Qwell's last commit.

Modified:
    trunk/configure

Modified: trunk/configure
URL: http://svn.digium.com/view/asterisk/trunk/configure?view=diff&rev=48282&r1=48281&r2=48282
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Tue Dec  5 14:46:26 2006
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 47759 .
+# From configure.ac Revision: 48280 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.60a.
 #
@@ -33620,30 +33620,17 @@
 
    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 $(printf "%d" 0x$(curl-config --vernum)) -ge $(printf "%d" 0x070907); 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
+      fi
+   fi
 fi
 
 ac_config_files="$ac_config_files build_tools/menuselect-deps makeopts channels/h323/Makefile"



More information about the asterisk-commits mailing list