[svn-commits] file: branch 1.4 r48281 - /branches/1.4/configure

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Dec 5 13:45:28 MST 2006


Author: file
Date: Tue Dec  5 14:45:28 2006
New Revision: 48281

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

Modified:
    branches/1.4/configure

Modified: branches/1.4/configure
URL: http://svn.digium.com/view/asterisk/branches/1.4/configure?view=diff&rev=48281&r1=48280&r2=48281
==============================================================================
--- branches/1.4/configure (original)
+++ branches/1.4/configure Tue Dec  5 14:45:28 2006
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 47758 .
+# From configure.ac Revision: 48279 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.60a.
 #
@@ -31046,30 +31046,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 svn-commits mailing list