AC_INIT(neoXldap.c)
# $OpenLDAP$
-NEO_VERSION=1.2
-NEO_MAJOR_VERSION=1
-NEO_MINOR_VERSION=2
+NEO_VERSION=2.0
+NEO_MAJOR_VERSION=2
+NEO_MINOR_VERSION=0
VERSION=${NEO_VERSION}
if test "${prefix}" = "NONE"; then
exec_prefix=$prefix
fi
-AC_ARG_ENABLE(gcc, [ --enable-gcc allow use of gcc if available],
- [neo_ok=$enableval], [neo_ok=no])
-if test "$neo_ok" = "yes"; then
- AC_PROG_CC
-else
- CC=${CC-cc}
- AC_SUBST(CC)
-fi
-AC_PROG_CPP
-
AC_ARG_ENABLE(gcc, [ --enable-gcc allow use of gcc if available],
[neo_ok=$enableval], [neo_ok=no])
if test "$neo_ok" = "yes"; then
ldaplibdir=$ldapdir/lib
AC_ARG_WITH(ldap-libdir, [ --with-ldap-libdir=<dir> path to ldap and lber libs],
- [ldapincdir=$withval])
+ [ldaplibdir=$withval])
AC_ARG_WITH(ldap-libraries, [ --with-ldap-libflags=<libnames> -l flags for ldap libraries],
[ldaplibflags="-L$ldaplibdir $withval"],