[asterisk-commits] trunk r37680 - /trunk/configure

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Jul 15 14:41:41 MST 2006


Author: kpfleming
Date: Sat Jul 15 16:41:40 2006
New Revision: 37680

URL: http://svn.digium.com/view/asterisk?rev=37680&view=rev
Log:
update configure script with new curl version test

Modified:
    trunk/configure

Modified: trunk/configure
URL: http://svn.digium.com/view/asterisk/trunk/configure?rev=37680&r1=37679&r2=37680&view=diff
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sat Jul 15 16:41:40 2006
@@ -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 @@
 
 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
 
 



More information about the asterisk-commits mailing list