- honor PTHREAD_LDFLAGS from environment
This commit is contained in:
parent
5bc6303db7
commit
310e110176
@ -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
|
||||
=====
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
15
configure.in
15
configure.in
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user