Changeset View
Changeset View
Standalone View
Standalone View
libassuan-2.1.0/configure.ac
Context not available. | |||||
# | # | ||||
AC_CHECK_FUNCS([flockfile funlockfile inet_pton]) | AC_CHECK_FUNCS([flockfile funlockfile inet_pton]) | ||||
# if we didn't find inet_pton, it might be in -lsocket (which might | |||||
# require -lnsl) | |||||
if test X"$ac_cv_func_inet_pton" != X"yes" ; then | |||||
AC_SEARCH_LIBS([inet_pton],[socket],[],[],[-lnsl]) | |||||
if test X"$ac_cv_search_inet_pton" != X"no" ; then | |||||
AC_DEFINE([HAVE_INET_PTON],1,[Define to 1 if you have `inet_pton'.]) | |||||
fi | |||||
fi | |||||
# On some systems (e.g. Solaris) nanosleep requires linking to librl. | # On some systems (e.g. Solaris) nanosleep requires linking to librl. | ||||
# Given that we use nanosleep only as an optimization over a select | # Given that we use nanosleep only as an optimization over a select | ||||
# based wait function we want it only if it is available in libc. | # based wait function we want it only if it is available in libc. | ||||
Context not available. |