dnl $OpenLDAP$
dnl
-dnl Copyright 1998-2000 The OpenLDAP Foundation. All Rights Reserved.
+dnl Copyright 1998-2001 The OpenLDAP Foundation. All Rights Reserved.
dnl
dnl Redistribution and use in source and binary forms are permitted only
dnl as authorized by the OpenLDAP Public License. A copy of this
# $]OpenLDAP[$
# from] translit([$OpenLDAP$], $")] [
-# Copyright 1998-2000 The OpenLDAP Foundation. All Rights Reserved.
+# Copyright 1998-2001 The OpenLDAP Foundation. All Rights Reserved.
#
# Redistribution and use in source and binary forms are permitted only
# as authorized by the OpenLDAP Public License. A copy of this
# license is available at http://www.OpenLDAP.org/license.html or
# in file LICENSE in the top-level directory of the distribution.
-echo "Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved."
+echo "Copyright 1998-2001 The OpenLDAP Foundation, All Rights Reserved."
echo "Restrictions apply, see COPYRIGHT and LICENSE files."
])dnl
dnl ----------------------------------------------------------------
dnl ----------------------------------------------------------------
dnl Checks for libraries
+AC_CHECK_FUNC(dlopen, :, [AC_CHECK_LIB(dl, dlopen)])
+
dnl HP-UX requires -lV3
AC_CHECK_LIB(V3, sigset)
dnl ----------------------------------------------------------------
dnl PF_INET6 support requires getaddrinfo and INET6_ADDRSTRLEN
dnl PF_LOCAL may use getaddrinfo in available
-AC_CHECK_FUNCS( getaddrinfo )
+AC_CHECK_FUNCS( getaddrinfo inet_ntop )
ol_link_ipv6=no
-if test $ac_cv_func_getaddrinfo = no ; then
+if test $ac_cv_func_getaddrinfo = no -o $ac_cv_func_inet_ntop = no ; then
if test $ol_enable_ipv6 = yes ; then
- AC_MSG_ERROR([IPv6 support requires getaddrinfo()])
+ AC_MSG_ERROR([IPv6 support requires getaddrinfo() and inet_ntop()])
fi
else
AC_CHECK_FUNCS( gai_strerror )
chroot \
endgrent \
endpwent \
+ fcntl \
flock \
getdtablesize \
getgrgid \