mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Add detection for gia_strerror
This commit is contained in:
parent
5d899f0c00
commit
a0760db9dd
3 changed files with 608 additions and 546 deletions
|
|
@ -819,6 +819,8 @@ if test $ac_cv_func_getaddrinfo = no ; then
|
||||||
AC_MSG_ERROR([IPv6 support requires getaddrinfo()])
|
AC_MSG_ERROR([IPv6 support requires getaddrinfo()])
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
AC_CHECK_FUNCS( gai_strerror )
|
||||||
|
|
||||||
AC_CACHE_CHECK([INET6_ADDRSTRLEN],[ol_cv_inet6_addrstrlen],[
|
AC_CACHE_CHECK([INET6_ADDRSTRLEN],[ol_cv_inet6_addrstrlen],[
|
||||||
AC_EGREP_CPP(__has_inet6_addrstrlen__,[
|
AC_EGREP_CPP(__has_inet6_addrstrlen__,[
|
||||||
# include <netinet/in.h>
|
# include <netinet/in.h>
|
||||||
|
|
|
||||||
|
|
@ -144,6 +144,9 @@
|
||||||
/* Define if you have the flock function. */
|
/* Define if you have the flock function. */
|
||||||
#undef HAVE_FLOCK
|
#undef HAVE_FLOCK
|
||||||
|
|
||||||
|
/* Define if you have the gai_strerror function. */
|
||||||
|
#undef HAVE_GAI_STRERROR
|
||||||
|
|
||||||
/* Define if you have the getaddrinfo function. */
|
/* Define if you have the getaddrinfo function. */
|
||||||
#undef HAVE_GETADDRINFO
|
#undef HAVE_GETADDRINFO
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue