提交 f5a7066a authored 作者: Michael Jerris's avatar Michael Jerris

fix qwirk in solaris build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6247 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 b23c376d
...@@ -417,6 +417,15 @@ fi ...@@ -417,6 +417,15 @@ fi
dnl socket lib? dnl socket lib?
AC_CHECK_FUNC(connect, , [ AC_CHECK_LIB(socket, connect) ]) 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? dnl dl lib?
AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ]) AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ])
......
...@@ -621,16 +621,16 @@ ...@@ -621,16 +621,16 @@
/* Define to the function return type for send. */ /* Define to the function return type for send. */
#undef SEND_TYPE_RETV #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 #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 #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 #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 #undef SIZEOF_TIME_T
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
...@@ -685,7 +685,7 @@ ...@@ -685,7 +685,7 @@
/* type to use in place of in_addr_t if not defined */ /* type to use in place of in_addr_t if not defined */
#undef in_addr_t #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 #undef size_t
/* type to use in place of socklen_t if not defined */ /* type to use in place of socklen_t if not defined */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论