From 6c8a4dd36176d8ca0515bae869746faa73ff9888 Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Sat, 27 Mar 2010 14:45:47 +0000 Subject: [PATCH] SF Patch Tracker [ 2836704 ] Patch for Solaris10 compilation and usage. Submitted By: zephyrus ( zephyrus00jp ) This second part covers the issue on linking with -lsocket -lnsl -lrt. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/branches/branch-1.6.x@525 119443c7-1b9e-41f8-b6fc-b9c35fce742c --- ChangeLog | 5 +++++ configure.ac | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6757ac1..9dbc828 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,11 @@ Version 1.6.7 ******************************************************************************* +2010-03-27 Marcelo Jimenez + * SF Patch Tracker [ 2836704 ] Patch for Solaris10 compilation and usage. + Submitted By: zephyrus ( zephyrus00jp ) + This second part covers the issue on linking with -lsocket -lnsl -lrt. + 2010-03-21 Marcelo Jimenez * SF Bug Tracker [ 2392166 ] ithread_detach not called for finished worker thread Submitted: Ulrik ( ulsv_enea ) - 2008-12-05 08:24 diff --git a/configure.ac b/configure.ac index d6e0063..bbc732f 100644 --- a/configure.ac +++ b/configure.ac @@ -371,6 +371,11 @@ TYPE_SOCKLEN_T AC_FUNC_VPRINTF AC_FUNC_FSEEKO AC_CHECK_FUNCS(ftime,, [AC_CHECK_LIB(compat, ftime)]) +# +# Solaris needs -lsocket -lnsl -lrt +AC_SEARCH_LIBS([bind], [socket]) +AC_SEARCH_LIBS([gethostbyname], [nsl]) +AC_SEARCH_LIBS([sched_getparam], [rt]) #