On Solaris inet_aton is exported by libresolv.so.
This commit is contained in:
parent
0f4ed92098
commit
3b943bca78
|
@ -89,6 +89,8 @@ dnl Check for -lnsl for Solaris
|
|||
AC_CHECK_FUNCS(gethostbyname,,AC_CHECK_LIB(nsl,gethostbyname))
|
||||
dnl Check for -lsocket for Solaris
|
||||
AC_CHECK_FUNCS(connect,,AC_CHECK_LIB(socket,connect))
|
||||
dnl Check for -lresolv for Solaris
|
||||
AC_CHECK_LIB(resolv,inet_aton)
|
||||
dnl Check for -lxpg4 for FreeBSD
|
||||
AC_CHECK_LIB(xpg4,_xpg4_setrunelocale)
|
||||
dnl Check for -lmmap for OS/2
|
||||
|
|
|
@ -199,6 +199,9 @@
|
|||
/* Define if you have the `ossaudio' library (-lossaudio). */
|
||||
#undef HAVE_LIBOSSAUDIO
|
||||
|
||||
/* Define if you have the `resolv' library (-lresolv). */
|
||||
#undef HAVE_LIBRESOLV
|
||||
|
||||
/* Define if you have the `socket' library (-lsocket). */
|
||||
#undef HAVE_LIBSOCKET
|
||||
|
||||
|
|
Loading…
Reference in New Issue