]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/configure.in
Regenerated
[openldap] / contrib / ldapc++ / configure.in
index 1ab6afc4ac71653a572e48fc00a2858fde18bd9a..607765fdf4a7d6dd253e2eb9e1fc68ab3ccd8b4b 100644 (file)
@@ -1,15 +1,16 @@
-dnl Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
+dnl Copyright 2000-2003, OpenLDAP Foundation, All Rights Reserved.
 dnl COPYING RESTRICTIONS APPLY, see COPYRIGHT file
   
   
 dnl Process this file with autoconf to produce a configure script.
 
 dnl disable config.cache
-define([AC_CACHE_LOAD], )
-define([AC_CACHE_SAVE], )
+dnl define([AC_CACHE_LOAD], )
+dnl define([AC_CACHE_SAVE], )
 
-AC_INIT(src/main.cpp)
-AM_INIT_AUTOMAKE(main, 0.0.1)
+AC_INIT(ldapcpplib, 0.0.4)
+AC_CONFIG_SRCDIR(src/LDAPConnection.h)
+AM_INIT_AUTOMAKE(foreign)
 AM_CONFIG_HEADER(src/config.h)
 
 
@@ -17,13 +18,13 @@ dnl Checks for programs.
 AC_PROG_INSTALL
 dnl AC_PROG_CC
 AC_PROG_CXX
-AC_PROG_RANLIB
+dnl AC_PROG_RANLIB
 dnl AM_DISABLE_SHARED
-AM_PROG_LIBTOOL
+AC_PROG_LIBTOOL
 dnl AC_PROG_MAKE_SET
-AC_ARG_ENABLE(debug,--enable-debug,[
+AC_ARG_ENABLE(debug,[  --enable-debug],[
        CXXFLAGS="-g -O0 -Wall"
-    AC_DEFINE(WITH_DEBUG)
+    AC_DEFINE(WITH_DEBUG,[],[Define to 1 ot enable debug logging])
        ],[
        CXXFLAGS="-O0"
     ]
@@ -45,6 +46,8 @@ AC_ARG_WITH(ldap-includes,[  --with-ldap-includes=DIR    Path to the libldap inc
 dnl Checks for libraries.
 AC_CHECK_LIB(resolv,main)
 AC_CHECK_LIB(lber,ber_strdup,[
+dnl NOOP
+        :
     ],[
         echo "        didn't find ber_strdup in liblber !";
         echo "        Check for the right version (>= 2.0) of the OpenLDAP libraries";
@@ -52,6 +55,8 @@ AC_CHECK_LIB(lber,ber_strdup,[
         exit
     ])
 AC_CHECK_LIB(ldap,ldap_add_ext,[
+dnl NOOP
+        :
     ],[
         echo "        didn't find ldap_add_ext in libldap !";
         echo "        Check for the right version (>= 2.0) of the OpenLDAP libraries";
@@ -64,6 +69,8 @@ dnl Checks for header files.
 AC_HEADER_TIME
 AC_CHECK_HEADER(ldap.h)
 AC_EGREP_HEADER(ldap_add_ext,ldap.h,[
+dnl NOOP
+        :
     ],[
         echo "        didn't find ldap_add_ext in ldap.h!";
         echo "        Check for the right version (>= 2.0) of the OpenLDAP includes";
@@ -72,6 +79,8 @@ AC_EGREP_HEADER(ldap_add_ext,ldap.h,[
     ])
 AC_CHECK_HEADER(lber.h)
 AC_EGREP_HEADER(ber_strdup,lber.h,[
+dnl NOOP
+        :
     ],[
         echo "        didn't find ber_strdup in lber.h!";
         echo "        Check for the right version (>= 2.0) of the OpenLDAP includes";
@@ -83,4 +92,4 @@ dnl Checks for typedefs, structures, and compiler characteristics.
 
 dnl Checks for library functions.
 
-AC_OUTPUT(Makefile src/Makefile)
+AC_OUTPUT(Makefile src/Makefile examples/Makefile)