Temporarily reverting sofia-sip library back to prior to the changes merged on 2/7/2007 due to ongoing unresolved issues in the new code. Will re-commit these changes once we receive fixes from the sofia-sip tree for these outstanding issues. Make sure recommended.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4308 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2007-02-17 06:25:21 +00:00
1 parent 08debcfcb4
commit 7b4e100b31
235 files changed
+14737 -40224

No files matched your search

+1 -1
View File
@@ -276,7 +276,7 @@ dnl ======================================================================
AC_DEFUN([AC_C_VAR_FUNC],
[AC_REQUIRE([AC_PROG_CC])
AC_CACHE_CHECK(whether $CC recognizes __func__, ac_cv_c_var_func,
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[const char *s = __func__;
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[char *s = __func__;
]])],[ac_cv_c_var_func=yes],[ac_cv_c_var_func=no]))
if test $ac_cv_c_var_func = "yes"; then
AC_DEFINE([HAVE_FUNC], 1, [Define to 1 if the C compiler supports __func__])
+11 -49
View File
@@ -46,14 +46,6 @@ else
SAC_SU_DEFINE([SU_HAVE_PTHREADS], 1, [Sofia SU uses pthreads])
fi
AC_ARG_ENABLE(experimental,
[ --enable-experimental enable experimental features (disabled)],
, enable_experimental=no)
if test $enable_experimental = yes ; then
SAC_SU_DEFINE([SU_HAVE_EXPERIMENTAL], 1, [Enable experimental features])
fi
dnl ===========================================================================
dnl Checks for typedefs, headers, structures, and compiler characteristics.
dnl ===========================================================================
@@ -127,17 +119,21 @@ fi
### Test if we have stack suitable for handling tags directly
###
test -z "$ac_cv_tagstack" &&
case "$target" in
i?86-*-* ) ac_cv_tagstack=yes ;;
esac
AC_CACHE_CHECK([for stack suitable for tags],[ac_cv_tagstack],[
ac_cv_tagstack=no
AC_RUN_IFELSE([AC_LANG_SOURCE([[
AC_RUN_IFELSE([
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#if HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stdarg.h>
typedef void *tp;
@@ -173,12 +169,7 @@ int main(int avc, char **av)
(tv)1, (tv)2, (tv)3, (tv)4, (tv)5,
(tv)6, (tv)7, (tv)8, (tv)9, (tv)10);
}
]])],[ac_cv_tagstack=yes],[ac_cv_tagstack=no],[
case "$target" in
i?86-*-* ) ac_cv_tagstack=yes ;;
* ) ac_cv_tagstack=no ;;
esac
])])
],[ac_cv_tagstack=yes],[ac_cv_tagstack=no],[ac_cv_tagstack=no])])
if test $ac_cv_tagstack = yes ; then
SAC_SU_DEFINE([SU_HAVE_TAGSTACK], 1, [
@@ -236,10 +227,9 @@ AC_CHECK_HEADERS([winsock2.h], [
GetSystemTimeAsFileTime().])
],[
dnl no winsock2
SAC_SU_DEFINE([SU_HAVE_BSDSOCK], 1, [Define to 1 if you have BSD socket interface])
AC_CHECK_HEADERS([sys/socket.h sys/ioctl.h sys/filio.h sys/sockio.h \
sys/select.h sys/epoll.h])
sys/select.h])
AC_CHECK_HEADERS([netinet/in.h arpa/inet.h netdb.h \
net/if.h net/if_types.h ifaddr.h netpacket/packet.h],,,
[
@@ -439,12 +429,9 @@ AC_SEARCH_LIBS(getipnodebyname, xnet socket nsl)
AC_SEARCH_LIBS(gethostbyname, xnet nsl)
AC_SEARCH_LIBS(getaddrinfo, xnet socket nsl)
AC_FUNC_ALLOCA
AC_CHECK_FUNCS([gettimeofday strerror random initstate tcsetattr flock \
AC_CHECK_FUNCS([gettimeofday strerror random initstate tcsetattr flock alarm \
socketpair gethostname gethostbyname getipnodebyname \
poll epoll_create select if_nameindex \
signal alarm \
getaddrinfo getnameinfo freeaddrinfo gai_strerror getifaddrs \
getline getdelim getpass])
# getline getdelim getpass are _GNU_SOURCE stuff
@@ -453,8 +440,7 @@ if test $ac_cv_func_poll = yes ; then
SAC_SU_DEFINE([SU_HAVE_POLL], 1, [Define to 1 if you have poll().])
fi
if test $ac_cv_func_epoll_create = yes && test $ac_cv_header_sys_epoll_h = yes
then
if test $ac_cv_func_epoll_create = yes ; then
AC_DEFINE([HAVE_EPOLL], 1, [Define to 1 if you have epoll interface.])
fi
@@ -469,32 +455,8 @@ if test "${with_rt}" != no; then
fi
SAC_REPLACE_FUNCS([memmem memccpy memspn memcspn strcasestr strtoull \
inet_ntop inet_pton poll])
inet_ntop inet_pton])
if test $ac_cv_func_signal = yes ; then
AC_CHECK_DECL([SIGPIPE], [
AC_DEFINE([HAVE_SIGPIPE], 1, [Define to 1 if you have SIGPIPE])],,[
#include <signal.h>
])
dnl add SIGHUP SIGQUIT if needed
fi
# ===========================================================================
# Check how to implement su_port
# ===========================================================================
AC_ARG_ENABLE(poll-port,
[ --disable-poll-port disable su_poll_port (enabled)
Use this option in systems emulating poll
with select], , enable_poll_port=maybe)
if test $enable_poll_port = maybe ; then
if test $ac_cv_func_poll = yes ; then
AC_DEFINE([HAVE_POLL_PORT], 1, [Define to 1 if you use poll in su_port.])
fi
elif test $enable_poll_port = yes ; then
AC_DEFINE([HAVE_POLL_PORT], 1, [Define to 1 if you use poll in su_port.])
fi
# ===========================================================================
# Check pthread_rwlock_unlock()