diff options
| author | Manuel Teira Paz <mteira@apache.org> | 2009-03-10 08:19:28 +0000 |
|---|---|---|
| committer | Manuel Teira Paz <mteira@apache.org> | 2009-03-10 08:19:28 +0000 |
| commit | 10f2b2a6a1fe91e7b29fa74013baa0cf091bd64b (patch) | |
| tree | 94ddc7fcda761a3020bc07a7d26420a5ac578e28 /qpid/cpp/configure.ac | |
| parent | a2740917f3be57c5a339d9b2d99926f6c0afddb0 (diff) | |
| download | qpid-python-10f2b2a6a1fe91e7b29fa74013baa0cf091bd64b.tar.gz | |
configure.ac:
- Add a SOCKLIBS definition, to define needed network libraries in Solaris
src/tests/failover_soak.cpp
- Replace usage of timersub with direct code, since timersub appears to be non-posix.
src/tests/Makefile.am
- Link against $(SOCKLIBS) when needed
src/tests/*
- Some qualifying needed for the Sun compiler
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@752019 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/configure.ac')
| -rw-r--r-- | qpid/cpp/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/cpp/configure.ac b/qpid/cpp/configure.ac index 81d4f20b30..71528b76f1 100644 --- a/qpid/cpp/configure.ac +++ b/qpid/cpp/configure.ac @@ -393,6 +393,13 @@ gl_saved_libs=$LIBS LIB_ACL=$ac_cv_search_acl]) AC_SUBST([LIB_ACL]) LIBS=$gl_saved_libs + +SOCKLIBS="" +AC_CHECK_LIB([socket],[socket],[SOCKET_LIB="-lsocket"],[SOCKET_LIB=""],[]) +AC_CHECK_LIB([nsl],[getipnodebyname],[NSL_LIB="-lnsl"],[NSL_LIB=""],[]) +SOCKLIBS="$SOCKET_LIB $NSL_LIB" +AC_SUBST([SOCKLIBS]) + AM_PATH_PYTHON() # Files to generate |
