[Freeswitch-svn] [commit] r6247 - in freeswitch/trunk/libs/curl: . lib

Freeswitch SVN mikej at freeswitch.org
Tue Nov 13 17:04:42 EST 2007


Author: mikej
Date: Tue Nov 13 17:04:42 2007
New Revision: 6247

Modified:
   freeswitch/trunk/libs/curl/configure.ac
   freeswitch/trunk/libs/curl/lib/config.h.in

Log:
fix qwirk in solaris build

Modified: freeswitch/trunk/libs/curl/configure.ac
==============================================================================
--- freeswitch/trunk/libs/curl/configure.ac	(original)
+++ freeswitch/trunk/libs/curl/configure.ac	Tue Nov 13 17:04:42 2007
@@ -417,6 +417,15 @@
 dnl socket lib?
 AC_CHECK_FUNC(connect, , [ AC_CHECK_LIB(socket, connect) ])
 
+AC_CHECK_LIB(socket, socket,
+               [HAVE_SOCKET="1"
+               LIBS="$LIBS -lsocket"
+               ])
+
+if test "$HAVE_SOCKET" = "1"; then
+  AC_DEFINE(HAVE_SOCKET, 1, [If you have socket])
+fi
+
 dnl dl lib?
 AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ])
 

Modified: freeswitch/trunk/libs/curl/lib/config.h.in
==============================================================================
--- freeswitch/trunk/libs/curl/lib/config.h.in	(original)
+++ freeswitch/trunk/libs/curl/lib/config.h.in	Tue Nov 13 17:04:42 2007
@@ -621,16 +621,16 @@
 /* Define to the function return type for send. */
 #undef SEND_TYPE_RETV
 
-/* The size of `curl_off_t', as computed by sizeof. */
+/* The size of a `curl_off_t', as computed by sizeof. */
 #undef SIZEOF_CURL_OFF_T
 
-/* The size of `long', as computed by sizeof. */
+/* The size of a `long', as computed by sizeof. */
 #undef SIZEOF_LONG
 
-/* The size of `size_t', as computed by sizeof. */
+/* The size of a `size_t', as computed by sizeof. */
 #undef SIZEOF_SIZE_T
 
-/* The size of `time_t', as computed by sizeof. */
+/* The size of a `time_t', as computed by sizeof. */
 #undef SIZEOF_TIME_T
 
 /* Define to 1 if you have the ANSI C header files. */
@@ -685,7 +685,7 @@
 /* type to use in place of in_addr_t if not defined */
 #undef in_addr_t
 
-/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* Define to `unsigned' if <sys/types.h> does not define. */
 #undef size_t
 
 /* type to use in place of socklen_t if not defined */



More information about the Freeswitch-svn mailing list