- honor PTHREAD_LDFLAGS from environment

This commit is contained in:
Thomas Ries 2008-11-08 15:27:31 +00:00
parent 5bc6303db7
commit 310e110176
4 changed files with 19 additions and 3 deletions

View File

@ -2,6 +2,7 @@
=====
01-Aug-2008: - SIP DSCP value configurable
08-Nov-2008: - check & define if SOL_IP not existing (some *BSDs)
- honor PTHREAD_LDFLAGS from environment
0.7.1
=====

View File

@ -241,6 +241,9 @@
/* will search for config file here */
#undef SIPROXDCONFPATH
/* SOL_IP for setsockopt() */
#undef SOL_IP
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

View File

@ -333,6 +333,21 @@ AC_HEADER_TIME
AC_STRUCT_TM
dnl
dnl Check for Constants that may be non-existing on some platforms
dnl
dnl SOL_IP (used in setsockopt)
AC_CHECK_DECL(SOL_IP,
,
AC_MSG_RESULT(SOL_IP is not available - creating DEFINE to IPPROTO_IP)
AC_DEFINE(SOL_IP,IPPROTO_IP,[SOL_IP for setsockopt()]),
[[$ac_includes_default]
[#ifdef HAVE_NETDB_H]
[#include <netdb.h>]
[#endif]]
)
dnl
dnl check for typedef socklen (not available on SUSE 5.3 for example)
dnl

View File

@ -332,9 +332,6 @@ int unload_plugins(void);
#define satoi atoi /* used in libosips MSG_TEST_CODE macro ... */
#endif
#if !defined(SOL_IP)
#define SOL_IP IPPROTO_IP
#endif
/*
* Macro that limits the frequency of this particular code