AC_COPYRIGHT([[Copyright 2000-2021 The OpenLDAP Foundation. All rights reserved.
Restrictions apply, see COPYRIGHT and LICENSE files.]])
AC_REVISION([$Id$])
-AC_INIT(ldapcpplib, [] , [http://www.openldap.org/its/] )
+AC_INIT([ldapcpplib],[ ],[http://www.openldap.org/its/ ])
AC_CONFIG_SRCDIR(src/LDAPConnection.h)
AM_INIT_AUTOMAKE(foreign)
-AM_CONFIG_HEADER(src/config.h)
+AC_CONFIG_HEADERS([src/config.h])
eval `$ac_aux_dir/version.sh`
if test -z "$OL_CPP_API_RELEASE"; then
dnl AC_PROG_CC
AC_PROG_CXX
dnl AC_PROG_RANLIB
-dnl AM_DISABLE_SHARED
-AC_PROG_LIBTOOL
+dnl AC_DISABLE_SHARED([])
+LT_INIT
dnl AC_PROG_MAKE_SET
AC_ARG_ENABLE(debug,[ --enable-debug],[
CXXFLAGS="-g -O0 -Wall"
-llber
])
dnl Checks for header files.
-AC_HEADER_TIME
AC_CHECK_HEADERS(termios.h ldap.h)
AC_EGREP_HEADER(ldap_add_ext,ldap.h,[
dnl NOOP
dnl Checks for library functions.
-AC_OUTPUT(Makefile src/Makefile examples/Makefile)
+AC_CONFIG_FILES([Makefile src/Makefile examples/Makefile])
+AC_OUTPUT