mirror of https://github.com/aria2/aria2
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added nsl to search-libs for getaddrinfo on opensolaris * configure.acpull/1/head
parent
f2697552ae
commit
6e9a25798c
|
@ -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>
|
||||
|
||||
Fixed compile error on opensolaris
|
||||
|
|
|
@ -7514,7 +7514,7 @@ return getaddrinfo ();
|
|||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
for ac_lib in '' socket; do
|
||||
for ac_lib in '' nsl socket; do
|
||||
if test -z "$ac_lib"; then
|
||||
ac_res="none required"
|
||||
else
|
||||
|
|
|
@ -212,7 +212,7 @@ AC_SEARCH_LIBS([clock_gettime], [rt])
|
|||
|
||||
case "$target" in
|
||||
*solaris*)
|
||||
AC_SEARCH_LIBS([getaddrinfo], [socket])
|
||||
AC_SEARCH_LIBS([getaddrinfo], [nsl socket])
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue