Diff for /configure.in between versions 1.223.2.7 and 1.223.2.8

version 1.223.2.7, 2000/07/06 16:45:22 version 1.223.2.8, 2000/07/29 01:53:00
Line 1 Line 1
 dnl $OpenLDAP$  dnl $OpenLDAP: pkg/ldap/configure.in,v 1.223.2.7 2000/07/06 16:45:22 kurt Exp $
 dnl  dnl
 dnl Copyright 1998-2000 The OpenLDAP Foundation.  All Rights Reserved.  dnl Copyright 1998-2000 The OpenLDAP Foundation.  All Rights Reserved.
 dnl   dnl 
Line 13  dnl at top of generated configure script Line 13  dnl at top of generated configure script
 define([AC_INIT_BINSH],  define([AC_INIT_BINSH],
 [[#! /bin/sh  [[#! /bin/sh
 # $]OpenLDAP[$  # $]OpenLDAP[$
 # from] translit([$OpenLDAP$], $")] [  # from] translit([$OpenLDAP: pkg/ldap/configure.in,v 1.223.2.7 2000/07/06 16:45:22 kurt Exp $], $")] [
   
 # Copyright 1998-2000 The OpenLDAP Foundation.  All Rights Reserved.  # Copyright 1998-2000 The OpenLDAP Foundation.  All Rights Reserved.
 #   # 
Line 100  AC_SUBST(ldap_subdir)dnl Line 100  AC_SUBST(ldap_subdir)dnl
   
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 dnl General "enable" options  dnl General "enable" options
 OL_ARG_ENABLE(debug,[  --enable-debug   enable debugging], yes)dnl  OL_ARG_ENABLE(debug,[  --enable-debug     enable debugging], yes)dnl
 OL_ARG_ENABLE(syslog,[  --enable-syslog enable syslog support], auto)dnl  OL_ARG_ENABLE(syslog,[  --enable-syslog   enable syslog support], auto)dnl
 OL_ARG_ENABLE(proctitle,[  --enable-proctitle   enable proctitle support], yes)dnl  OL_ARG_ENABLE(proctitle,[  --enable-proctitle     enable proctitle support], yes)dnl
 OL_ARG_ENABLE(cache,[  --enable-cache   enable caching], yes)dnl  OL_ARG_ENABLE(cache,[  --enable-cache     enable caching], yes)dnl
 OL_ARG_ENABLE(referrals,[  --enable-referrals   enable V2 Referrals extension], yes)dnl  OL_ARG_ENABLE(referrals,[  --enable-referrals     enable V2 Referrals extension], yes)dnl
 OL_ARG_ENABLE(kbind,[  --enable-kbind   enable V2 Kerberos IV bind], auto)dnl  OL_ARG_ENABLE(kbind,[  --enable-kbind     enable V2 Kerberos IV bind], auto)dnl
 OL_ARG_ENABLE(cldap,[  --enable-cldap   enable connectionless ldap], no)dnl  OL_ARG_ENABLE(cldap,[  --enable-cldap     enable connectionless ldap], no)dnl
 OL_ARG_ENABLE(ipv6,[  --enable-ipv6     enable IPv6 support], auto)dnl  OL_ARG_ENABLE(ipv6,[  --enable-ipv6       enable IPv6 support], auto)dnl
 OL_ARG_ENABLE(unix,[  --enable-unix             enable UNIX domain socket support], auto)dnl  OL_ARG_ENABLE(local,[  --enable-local     enable AF_LOCAL (AF_UNIX) socket support], auto)dnl
 OL_ARG_ENABLE(x_compile,[  --enable-x-compile   enable cross compiling],  OL_ARG_ENABLE(x_compile,[  --enable-x-compile     enable cross compiling],
         no, [yes no])dnl          no, [yes no])dnl
   
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 dnl General "with" options  dnl General "with" options
 dnl OL_ARG_ENABLE(dmalloc,[  --enable-dmalloc   enable debug malloc support], no)dnl  dnl OL_ARG_ENABLE(dmalloc,[  --enable-dmalloc     enable debug malloc support], no)dnl
   
 OL_ARG_WITH(cyrus_sasl,[  --with-cyrus-sasl     with Cyrus SASL support],  OL_ARG_WITH(cyrus_sasl,[  --with-cyrus-sasl       with Cyrus SASL support],
         auto, [auto yes no] )          auto, [auto yes no] )
 OL_ARG_WITH(fetch,[  --with-fetch               with fetch URL support],  OL_ARG_WITH(fetch,[  --with-fetch                 with fetch URL support],
         auto, [auto yes no] )          auto, [auto yes no] )
 OL_ARG_WITH(kerberos,[  --with-kerberos with support],  OL_ARG_WITH(kerberos,[  --with-kerberos   with support],
         auto, [auto k5 k5only k425 kth k4 afs yes no])          auto, [auto k5 k5only k425 kth k4 afs yes no])
 OL_ARG_WITH(readline,[  --with-readline with readline support],  OL_ARG_WITH(readline,[  --with-readline   with readline support],
         auto, [auto yes no] )          auto, [auto yes no] )
 OL_ARG_WITH(threads,[  --with-threads   use threads],  OL_ARG_WITH(threads,[  --with-threads     with threads],
         auto, [auto nt posix mach pth lwp yes no manual] )          auto, [auto nt posix mach pth lwp yes no manual] )
 OL_ARG_WITH(tls,[  --with-tls           with TLS/SSL support],  OL_ARG_WITH(tls,[  --with-tls             with TLS/SSL support],
         auto, [auto ssleay openssl yes no] )          auto, [auto ssleay openssl yes no] )
 OL_ARG_WITH(yielding_select,[  --with-yielding-select   with implicitly yielding select],  OL_ARG_WITH(yielding_select,[  --with-yielding-select  with implicitly yielding select],
         auto, [auto yes no manual] )          auto, [auto yes no manual] )
   
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
Line 138  dnl ------------------------------------ Line 138  dnl ------------------------------------
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 dnl SLAPD OPTIONS  dnl SLAPD OPTIONS
 AC_ARG_WITH(xxslapdoptions,[SLAPD (Standalone LDAP Daemon) Options:])  AC_ARG_WITH(xxslapdoptions,[SLAPD (Standalone LDAP Daemon) Options:])
 OL_ARG_ENABLE(slapd,[  --enable-slapd   enable building slapd], yes)dnl  OL_ARG_ENABLE(slapd,[  --enable-slapd     enable building slapd], yes)dnl
 OL_ARG_ENABLE(cleartext,[    --enable-cleartext enable cleartext passwords], yes)dnl  OL_ARG_ENABLE(cleartext,[    --enable-cleartext   enable cleartext passwords], yes)dnl
 OL_ARG_ENABLE(crypt,[    --enable-crypt enable crypt(3) passwords], auto)dnl  OL_ARG_ENABLE(crypt,[    --enable-crypt   enable crypt(3) passwords], auto)dnl
 OL_ARG_ENABLE(kpasswd,[    --enable-kpasswd     enable kerberos password verification], no)dnl  OL_ARG_ENABLE(kpasswd,[    --enable-kpasswd       enable kerberos password verification], no)dnl
 OL_ARG_ENABLE(spasswd,[    --enable-spasswd     enable (Cyrus) SASL password verification], no)dnl  OL_ARG_ENABLE(spasswd,[    --enable-spasswd       enable (Cyrus) SASL password verification], no)dnl
 OL_ARG_ENABLE(modules,[    --enable-modules     enable dynamic module support], no)dnl  OL_ARG_ENABLE(modules,[    --enable-modules       enable dynamic module support], no)dnl
 OL_ARG_ENABLE(multimaster,[    --enable-multimaster     enable multimaster replication], no)dnl  OL_ARG_ENABLE(multimaster,[    --enable-multimaster  enable multimaster replication], no)dnl
 OL_ARG_ENABLE(phonetic,[    --enable-phonetic   enable phonetic/soundex], no)dnl  OL_ARG_ENABLE(phonetic,[    --enable-phonetic     enable phonetic/soundex], no)dnl
 OL_ARG_ENABLE(rlookups,[    --enable-rlookups   enable reverse lookups], auto)dnl  OL_ARG_ENABLE(rlookups,[    --enable-rlookups     enable reverse lookups], auto)dnl
 OL_ARG_ENABLE(aci,[    --enable-aci     enable per-object ACIs], no)dnl  OL_ARG_ENABLE(aci,[    --enable-aci       enable per-object ACIs], no)dnl
 OL_ARG_ENABLE(wrappers,[    --enable-wrappers   enable tcp wrapper support], no)dnl  OL_ARG_ENABLE(wrappers,[    --enable-wrappers     enable tcp wrapper support], no)dnl
 OL_ARG_ENABLE(dynamic,[    --enable-dynamic     enable linking built binaries with dynamic libs], no)dnl  OL_ARG_ENABLE(dynamic,[    --enable-dynamic       enable linking built binaries with dynamic libs], no)dnl
   
 dnl SLAPD Backend options  dnl SLAPD Backend options
 OL_ARG_ENABLE(dnssrv,[    --enable-dnssrv       enable dnssrv backend], no)dnl  OL_ARG_ENABLE(dnssrv,[    --enable-dnssrv         enable dnssrv backend], no)dnl
 OL_ARG_WITH(dnssrv_module,[      --with-dnssrv-module   module type], static,  OL_ARG_WITH(dnssrv_module,[    --with-dnssrv-module  module type], static,
         [static dynamic])          [static dynamic])
 OL_ARG_ENABLE(ldap,[    --enable-ldap   enable ldap backend], no)dnl  OL_ARG_ENABLE(ldap,[    --enable-ldap     enable ldap backend], no)dnl
 OL_ARG_WITH(ldap_module,[      --with-ldap-module       module type], static,  OL_ARG_WITH(ldap_module,[    --with-ldap-module   module type], static,
         [static dynamic])          [static dynamic])
 OL_ARG_ENABLE(ldbm,[    --enable-ldbm   enable ldbm backend], yes)dnl  OL_ARG_ENABLE(ldbm,[    --enable-ldbm     enable ldbm backend], yes)dnl
 OL_ARG_WITH(ldbm_api,[      --with-ldbm-api     use LDBM API], auto,  OL_ARG_WITH(ldbm_api,[    --with-ldbm-api       with LDBM API], auto,
         [auto berkeley bcompat mdbm gdbm])          [auto berkeley bcompat mdbm gdbm])
 OL_ARG_WITH(ldbm_module,[      --with-ldbm-module       module type], static,  OL_ARG_WITH(ldbm_module,[    --with-ldbm-module   module type], static,
         [static dynamic])          [static dynamic])
 OL_ARG_WITH(ldbm_type,[      --with-ldbm-type   use LDBM type], auto,  OL_ARG_WITH(ldbm_type,[    --with-ldbm-type       use LDBM type], auto,
         [auto btree hash])          [auto btree hash])
 OL_ARG_ENABLE(passwd,[    --enable-passwd       enable passwd backend], no)dnl  OL_ARG_ENABLE(passwd,[    --enable-passwd         enable passwd backend], no)dnl
 OL_ARG_WITH(passwd_module,[      --with-passwd-module   module type], static,  OL_ARG_WITH(passwd_module,[    --with-passwd-module  module type], static,
         [static dynamic])          [static dynamic])
 OL_ARG_ENABLE(shell,[    --enable-shell enable shell backend], no)dnl  OL_ARG_ENABLE(shell,[    --enable-shell   enable shell backend], no)dnl
 OL_ARG_WITH(shell_module,[      --with-shell-module     module type], static,  OL_ARG_WITH(shell_module,[    --with-shell-module         module type], static,
         [static dynamic])          [static dynamic])
 OL_ARG_ENABLE(sql,[    --enable-sql     enable sql backend], no)dnl  OL_ARG_ENABLE(sql,[    --enable-sql       enable sql backend], no)dnl
 OL_ARG_WITH(sql_module,[      --with-sql-module module type], static,  OL_ARG_WITH(sql_module,[    --with-sql-module     module type], static,
         [static dynamic])          [static dynamic])
   
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 dnl SLURPD OPTIONS  dnl SLURPD OPTIONS
 AC_ARG_WITH(xxslurpdoptions,[SLURPD (Replication Daemon) Options:])  AC_ARG_WITH(xxslurpdoptions,[SLURPD (Replication Daemon) Options:])
 OL_ARG_ENABLE(slurpd,[  --enable-slurpd enable building slurpd], auto)dnl  OL_ARG_ENABLE(slurpd,[  --enable-slurpd   enable building slurpd], auto)dnl
   
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 AC_ARG_WITH(xxliboptions,[Library Generation & Linking Options])  AC_ARG_WITH(xxliboptions,[Library Generation & Linking Options])
Line 541  AC_CHECK_LIB(s, afopen, [ Line 541  AC_CHECK_LIB(s, afopen, [
   
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 dnl PF_INET6 support requires getaddrinfo  dnl PF_INET6 support requires getaddrinfo
 dnl PF_UNIX may use getaddrinfo in available  dnl PF_LOCAL may use getaddrinfo in available
 AC_CHECK_FUNCS( getaddrinfo )  AC_CHECK_FUNCS( getaddrinfo )
   
 if test $ac_cv_func_getaddrinfo = no ; then  if test $ac_cv_func_getaddrinfo = no ; then
Line 551  if test $ac_cv_func_getaddrinfo = no ; t Line 551  if test $ac_cv_func_getaddrinfo = no ; t
         ol_enable_ipv6=no          ol_enable_ipv6=no
 fi  fi
   
 if test $ol_enable_unix != no ; then  if test $ol_enable_local != no ; then
         AC_CHECK_HEADERS( sys/un.h )          AC_CHECK_HEADERS( sys/un.h )
   
         if test $ol_enable_unix = auto ; then          if test $ol_enable_local = auto ; then
                 ol_enable_unix=$ac_cv_header_sys_un_h                  ol_enable_local=$ac_cv_header_sys_un_h
         elif test $ac_cv_header_sys_un_h = no ; then          elif test $ac_cv_header_sys_un_h = no ; then
                 AC_MSG_ERROR([UNIX domain support requires sys/un.h])                  AC_MSG_ERROR([AF_LOCAL domain support requires sys/un.h])
         fi          fi
 fi  fi
   
Line 913  dnl ------------------------------------ Line 913  dnl ------------------------------------
 dnl TLS/SSL  dnl TLS/SSL
 ol_link_tls=no  ol_link_tls=no
 if test $ol_with_tls != no ; then  if test $ol_with_tls != no ; then
           
         AC_CHECK_HEADERS(openssl/ssl.h ssl.h)          AC_CHECK_HEADERS(openssl/ssl.h ssl.h)
                   
         if test $ac_cv_header_openssl_ssl_h = yes -o $ac_cv_header_ssl_h = yes ; then          if test $ac_cv_header_openssl_ssl_h = yes -o $ac_cv_header_ssl_h = yes ; then
Line 954  if test $ol_with_tls != no ; then Line 953  if test $ol_with_tls != no ; then
                         fi                          fi
                 fi                  fi
         fi          fi
   
   else
           AC_WARN([TLS privacy protection not supported!])
 fi  fi
   
 if test $ol_link_tls = yes ; then  if test $ol_link_tls = yes ; then
         AC_DEFINE(HAVE_TLS, 1, [define if you have TLS])          AC_DEFINE(HAVE_TLS, 1, [define if you have TLS])
 fi        
   elif test $ol_with_tls = auto ; then
           AC_WARN([Could not locate TLS/SSL package])
           AC_WARN([TLS privacy protection not supported!])
   
   elif test $ol_with_tls != no ; then
           AC_ERROR([Could not locate TLS/SSL package])
   fi
   
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 dnl Tests for reentrant functions necessary to build a  dnl Tests for reentrant functions necessary to build a
Line 1746  if test $ol_with_cyrus_sasl != no ; then Line 1755  if test $ol_with_cyrus_sasl != no ; then
                 fi                  fi
         fi          fi
   
         if test $ol_link_sasl = no -a $ol_with_cyrus_sasl = yes ; then          if test $ol_link_sasl = no ; then
                 AC_MSG_ERROR(no suitable API for --with-cyrus-sasl=$ol_with_cyrus_sasl)                  if test $ol_with_cyrus_sasl != auto ; then
                           AC_MSG_ERROR([Could not locate Cyrus SASL])
                   else
                           AC_MSG_WARN([Could not locate Cyrus SASL])
                           AC_MSG_WARN([SASL authentication not supported!])
                           if test $ol_link_tls = no ; then
                                   AC_MSG_WARN([Strong authentication not supported!])
                           fi
                   fi
           fi
   else
           AC_MSG_WARN([SASL authentication not supported!])
           if test $ol_link_tls = no ; then
                   AC_MSG_WARN([Strong authentication not supported!])
         fi          fi
 fi  fi
   
Line 2032  fi Line 2054  fi
 if test "$ol_enable_cldap" != no ; then  if test "$ol_enable_cldap" != no ; then
         AC_DEFINE(LDAP_CONNECTIONLESS,1,[define to support CLDAP])          AC_DEFINE(LDAP_CONNECTIONLESS,1,[define to support CLDAP])
 fi  fi
 if test "$ol_enable_unix" != no; then  if test "$ol_enable_local" != no; then
         AC_DEFINE(LDAP_PF_UNIX,1,[define to support PF_UNIX])          AC_DEFINE(LDAP_PF_LOCAL,1,[define to support PF_LOCAL])
 fi  fi
 if test "$ol_enable_ipv6" != no; then  if test "$ol_enable_ipv6" != no; then
         AC_DEFINE(LDAP_PF_INET6,1,[define to support PF_INET6])          AC_DEFINE(LDAP_PF_INET6,1,[define to support PF_INET6])

Removed from v.1.223.2.7  
changed lines
  Added in v.1.223.2.8


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org