2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Added nsl to search-libs for getaddrinfo on opensolaris
	* configure.ac
pull/1/head
Tatsuhiro Tsujikawa 2010-04-11 15:57:45 +00:00
parent f2697552ae
commit 6e9a25798c
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added nsl to search-libs for getaddrinfo on opensolaris
* configure.ac
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> 2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error on opensolaris Fixed compile error on opensolaris

2
configure vendored
View File

@ -7514,7 +7514,7 @@ return getaddrinfo ();
return 0; return 0;
} }
_ACEOF _ACEOF
for ac_lib in '' socket; do for ac_lib in '' nsl socket; do
if test -z "$ac_lib"; then if test -z "$ac_lib"; then
ac_res="none required" ac_res="none required"
else else

View File

@ -212,7 +212,7 @@ AC_SEARCH_LIBS([clock_gettime], [rt])
case "$target" in case "$target" in
*solaris*) *solaris*)
AC_SEARCH_LIBS([getaddrinfo], [socket]) AC_SEARCH_LIBS([getaddrinfo], [nsl socket])
;; ;;
esac esac