Diff for /configure.in between versions 1.37 and 1.38

version 1.37, 1998/11/21 19:39:24 version 1.38, 1998/11/22 03:22:29
Line 5  dnl as authorized by the OpenLDAP Public Line 5  dnl as authorized by the OpenLDAP Public
 dnl license is available at http://www.OpenLDAP.org/license.html or  dnl license is available at http://www.OpenLDAP.org/license.html or
 dnl in file LICENSE in the top-level directory of the distribution.  dnl in file LICENSE in the top-level directory of the distribution.
 dnl ----  dnl ----
   
 dnl Configure.in for OpenLDAP  dnl Configure.in for OpenLDAP
 dnl  AC_INIT(include/ldap.h)dnl
 AC_INIT(include/ldap.h)  AC_CONFIG_AUX_DIR(build)dnl
 dnl  AM_INIT_AUTOMAKE(OpenLDAP,[2.0-devel], [no ac_define])dnl
 dnl  
 AC_PREREQ(2.10)dnl Required Autoconf version  
 dnl Do not use AutoConf 2.12; it produces a configuration script  dnl Do not use AutoConf 2.12; it produces a configuration script
 dnl that causes an "internal 2K buffer" error on HPUX when run  dnl that causes an "internal 2K buffer" error on HPUX when run
 dnl with /bin/sh.  Autoconf 2.10 seems to be okay.  dnl with /bin/sh.  Autoconf 2.10 seems to be okay.
 AC_CONFIG_AUX_DIR(build)  AC_PREREQ(2.10)dnl Required Autoconf version
   
 AC_CONFIG_HEADER(include/portable.h include/ldap_features.h)dnl  AC_CONFIG_HEADER(include/portable.h include/ldap_features.h)dnl
   
 dnl  dnl
 dnl Start Args  dnl Start Args
 AC_MSG_CHECKING(configure arguments)  AC_MSG_CHECKING(configure arguments)
 AC_PREFIX_DEFAULT(/usr/local)  AC_PREFIX_DEFAULT(/usr/local)
   
 dnl General "enable" options  top_builddir=`pwd`
 OL_ARG_ENABLE(debug,[  --enable-debug   enable debugging], yes)dnl  AC_SUBST(top_builddir)dnl
   
   OL_ARG_ENABLE(debug,[  --enable-debug   enable debugging], yes)dnl
 dnl OL_ARG_ENABLE(syslog,[  --enable-syslog     enable syslog support], auto)dnl  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(libui,[  --enable-libui   enable library user interface], yes)dnl  OL_ARG_ENABLE(libui,[  --enable-libui   enable library user interface], yes)dnl
Line 44  OL_ARG_WITH(preemptive,[  --with-preempt Line 48  OL_ARG_WITH(preemptive,[  --with-preempt
 dnl Server options  dnl Server options
   
 dnl LDAPD OPTIONS  dnl LDAPD OPTIONS
   AC_ARG_WITH(xxldapdoptions,[LDAPD Options:])
 OL_ARG_ENABLE(ldapd,[  --enable-ldapd   enable building ldapd], no)dnl  OL_ARG_ENABLE(ldapd,[  --enable-ldapd   enable building ldapd], no)dnl
   
 dnl SLAPD OPTIONS  dnl SLAPD OPTIONS
   AC_ARG_WITH(xxslapdoptions,[SLAPD 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(aclgroups,[    --enable-aclgroups enable ACL group support], auto)dnl  OL_ARG_ENABLE(aclgroups,[    --enable-aclgroups enable ACL group support], auto)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
Line 67  OL_ARG_ENABLE(passwd,[    --enable-passw Line 73  OL_ARG_ENABLE(passwd,[    --enable-passw
 OL_ARG_ENABLE(shell,[    --enable-shell enable shell backend], no)dnl  OL_ARG_ENABLE(shell,[    --enable-shell enable shell backend], no)dnl
   
 dnl SLURPD OPTIONS  dnl SLURPD OPTIONS
   AC_ARG_WITH(xxslurpdoptions,[SLURPD Options:])
 OL_ARG_ENABLE(slurpd,[  --enable-slurpd enable building slurpd], auto)dnl  OL_ARG_ENABLE(slurpd,[  --enable-slurpd enable building slurpd], auto)dnl
   
   AC_ARG_WITH(xxliboptions,[Library Generation & Linking Options])
   AM_ENABLE_STATIC
   dnl AM_DISABLE_SHARED
   AM_ENABLE_SHARED
   
   dnl General "enable" options
 # validate options  # validate options
 if test $ol_enable_referrals = no ; then  if test $ol_enable_referrals = no ; then
         if test $ol_enable_dns = yes ; then          if test $ol_enable_dns = yes ; then
Line 174  fi Line 187  fi
   
 AC_MSG_RESULT(done)  AC_MSG_RESULT(done)
   
   AC_CANONICAL_HOST
   
 ## Initialize vars  ## Initialize vars
 LDAP_LIBS=  LDAP_LIBS=
 LDBM_LIBS=  LDBM_LIBS=
Line 199  TERMCAP_LIBS= Line 214  TERMCAP_LIBS=
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 dnl Checks for programs  dnl Checks for programs
   
 AC_PROG_LN_S  
 AC_PROG_INSTALL  AC_PROG_INSTALL
 AC_PROG_RANLIB  AM_PROG_LIBTOOL
 AC_PROG_MAKE_SET  dnl AC_PROG_MAKE_SET
   
 AC_PATH_PROG(SENDMAIL, sendmail, /usr/lib/sendmail,  AC_PATH_PROG(SENDMAIL, sendmail, /usr/lib/sendmail,
         $PATH:/usr/libexec:/usr/lib:/usr/sbin:/usr/etc:/etc)          $PATH:/usr/libexec:/usr/lib:/usr/sbin:/usr/etc:/etc)
Line 210  AC_PATH_PROG(EDITOR, vi, /usr/ucb/vi, $P Line 224  AC_PATH_PROG(EDITOR, vi, /usr/ucb/vi, $P
 AC_PATH_PROG(FINGER, finger, /usr/ucb/finger, $PATH:/usr/ucb)  AC_PATH_PROG(FINGER, finger, /usr/ucb/finger, $PATH:/usr/ucb)
   
 dnl Checks the compiler and UNIX Variants  dnl Checks the compiler and UNIX Variants
 AC_PROG_CC  
   
 if test $cross_compiling = yes -a $ol_enable_x_compile = yes; then  if test $cross_compiling = yes -a $ol_enable_x_compile = yes; then
         AC_WARN([cross compiling....  some functionality will be removed.])          AC_MSG_WARN([cross compiling....  some functionality will be removed.])
   
 elif test $cross_compiling = no -a $ol_enable_x_compile = yes; then  elif test $cross_compiling = no -a $ol_enable_x_compile = yes; then
         AC_WARN([programs compiled here do run here...])          AC_MSG_WARN([programs compiled here do run here...])
         AC_ERROR([  if not cross compiling, use --disable-x-compile.])          AC_MSG_ERROR([  if not cross compiling, use --disable-x-compile.])
   
 elif test $cross_compiling = yes -a $ol_enable_x_compile = no; then  elif test $cross_compiling = yes -a $ol_enable_x_compile = no; then
         AC_WARN([programs compiled here do not run here...])          AC_MSG_WARN([programs compiled here do not run here...])
         AC_ERROR([  if cross compiling,  add --enable-x-compile.])          AC_MSG_ERROR([  if cross compiling,  add --enable-x-compile.])
 fi  fi
   
 dnl OpenLDAP requires STDC features  
 dnl AC_PROG_GCC_TRADITIONAL  
 AC_PROG_CPP  AC_PROG_CPP
   
   
 AC_AIX  AC_AIX
 AC_ISC_POSIX  AC_ISC_POSIX
 AC_MINIX  AC_MINIX
   
   dnl OpenLDAP requires STDC features
   AM_PROG_CC_STDC
   if test "X${am_cv_prog_cc_stdc}" = "Xno" ; then
           AC_MSG_ERROR([OpenLDAP requires compiler to support STDC prototypes.])
   fi
   
   dnl AM_C_PROTOTYPES
   
 dnl Checks for libraries  dnl Checks for libraries
   
 dnl Find socket()  dnl Find socket()
Line 240  dnl Likely combinations: Line 258  dnl Likely combinations:
 dnl             -lsocket [ -lnsl_s | -lnsl ]  dnl             -lsocket [ -lnsl_s | -lnsl ]
 dnl             -linet  dnl             -linet
   
 AC_CHECK_FUNC(socket, :, [        AC_CHECK_FUNC(socket, [have_socket=yes], [      
 dnl  dnl
 dnl hopefully we won't include too many libraries  dnl hopefully we won't include too many libraries
 dnl  dnl
Line 795  if test $ol_with_ldbm_api = auto -o $ol_ Line 813  if test $ol_with_ldbm_api = auto -o $ol_
                 ol_with_ldbm_api=ndbm                  ol_with_ldbm_api=ndbm
   
                 if test $ol_with_ldbm_api = ndbm ; then                  if test $ol_with_ldbm_api = ndbm ; then
                         AC_WARN([Attempting to use NDBM.  Functionality will be limited.])                          AC_MSG_WARN([Attempting to use NDBM.  Functionality will be limited.])
                 fi                  fi
   
                 if test $ol_cv_lib_ndbm != yes ; then                  if test $ol_cv_lib_ndbm != yes ; then
Line 903  fi Line 921  fi
   
 AC_HEADER_DIRENT  AC_HEADER_DIRENT
 AC_HEADER_SYS_WAIT  AC_HEADER_SYS_WAIT
   AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL
   if test $am_cv_sys_posix_termios = yes ; then
           AC_DEFINE(HAVE_POSIX_TERMIOS,1)
   fi
   
 AC_CHECK_HEADERS(       \  AC_CHECK_HEADERS(       \
         crypt.h                 \          crypt.h                 \
         errno.h                 \          errno.h                 \
Line 929  AC_CHECK_HEADERS( \ Line 952  AC_CHECK_HEADERS( \
         sys/resource.h  \          sys/resource.h  \
         sys/socket.h    \          sys/socket.h    \
         sys/syslog.h    \          sys/syslog.h    \
         sys/time.h              \  
         sys/types.h             \          sys/types.h             \
         syslog.h                \          syslog.h                \
         termios.h               \          termios.h               \
         unistd.h                \  
 )  )
   
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 dnl Checks for typedefs, structures, and compiler characteristics.  dnl Checks for typedefs, structures, and compiler characteristics.
 AC_TYPE_GETGROUPS  AC_TYPE_GETGROUPS dnl requires AC_TYPE_UID_T
 AC_TYPE_MODE_T  AC_TYPE_MODE_T
 AC_TYPE_OFF_T  AC_TYPE_OFF_T
 AC_TYPE_PID_T  AC_TYPE_PID_T
   AM_TYPE_PTRDIFF_T
 AC_TYPE_SIGNAL  AC_TYPE_SIGNAL
 AC_TYPE_SIZE_T  AC_TYPE_SIZE_T
 AC_TYPE_UID_T  
 AC_STRUCT_ST_BLKSIZE  AC_STRUCT_ST_BLKSIZE
 AC_HEADER_TIME  AC_HEADER_TIME
 AC_STRUCT_TM  AC_STRUCT_TM
Line 964  fi Line 985  fi
 dnl ----------------------------------------------------------------  dnl ----------------------------------------------------------------
 dnl Checks for library functions.  dnl Checks for library functions.
 AC_FUNC_MEMCMP  AC_FUNC_MEMCMP
   AM_FUNC_MKTIME dnl checks for sys/time.h and unistd.h
 AC_FUNC_STRFTIME  AC_FUNC_STRFTIME
   AM_FUNC_STRTOD
 AC_FUNC_VPRINTF  AC_FUNC_VPRINTF
   
 if test $ac_cv_func_vprintf = yes ; then  if test $ac_cv_func_vprintf = yes ; then
Line 985  AC_CHECK_FUNCS(  \ Line 1008  AC_CHECK_FUNCS(  \
         memcpy                  \          memcpy                  \
         memmove                 \          memmove                 \
         mkstemp                 \          mkstemp                 \
         mktime                  \  
         res_search              \          res_search              \
         select                  \          select                  \
         setpwfile               \          setpwfile               \
Line 999  AC_CHECK_FUNCS(  \ Line 1021  AC_CHECK_FUNCS(  \
         strrchr                 \          strrchr                 \
         strsep                  \          strsep                  \
         strstr                  \          strstr                  \
         strtod                  \  
         strtok                  \          strtok                  \
         strtol                  \          strtol                  \
         strtoul                 \          strtoul                 \
Line 1131  clients/ud/Makefile:build/top.mk:clients Line 1152  clients/ud/Makefile:build/top.mk:clients
 clients/tools/Makefile:build/top.mk:clients/tools/Makefile.in:build/rules.mk \  clients/tools/Makefile:build/top.mk:clients/tools/Makefile.in:build/rules.mk \
 include/Makefile:build/top.mk:include/Makefile.in \  include/Makefile:build/top.mk:include/Makefile.in \
 libraries/Makefile:build/top.mk:libraries/Makefile.in:build/dir.mk      \  libraries/Makefile:build/top.mk:libraries/Makefile.in:build/dir.mk      \
 libraries/libavl/Makefile:build/top.mk:libraries/libavl/Makefile.in:build/lib.mk \  libraries/libavl/Makefile:build/top.mk:libraries/libavl/Makefile.in:build/lib.mk:build/lib-static.mk    \
 libraries/liblber/Makefile:build/top.mk:libraries/liblber/Makefile.in:build/lib.mk \  libraries/liblber/Makefile:build/top.mk:libraries/liblber/Makefile.in:build/lib.mk:build/lib-shared.mk  \
 libraries/libldap/Makefile:build/top.mk:libraries/libldap/Makefile.in:build/lib.mk \  libraries/libldap/Makefile:build/top.mk:libraries/libldap/Makefile.in:build/lib.mk:build/lib-shared.mk  \
 libraries/libldbm/Makefile:build/top.mk:libraries/libldbm/Makefile.in:build/lib.mk \  libraries/libldbm/Makefile:build/top.mk:libraries/libldbm/Makefile.in:build/lib.mk:build/lib-static.mk  \
 libraries/libldif/Makefile:build/top.mk:libraries/libldif/Makefile.in:build/lib.mk \  libraries/libldif/Makefile:build/top.mk:libraries/libldif/Makefile.in:build/lib.mk:build/lib-static.mk  \
 libraries/liblthread/Makefile:build/top.mk:libraries/liblthread/Makefile.in:build/lib.mk \  libraries/liblthread/Makefile:build/top.mk:libraries/liblthread/Makefile.in:build/lib.mk:build/lib-static.mk    \
 libraries/liblutil/Makefile:build/top.mk:libraries/liblutil/Makefile.in:build/lib.mk \  libraries/liblutil/Makefile:build/top.mk:libraries/liblutil/Makefile.in:build/lib.mk:build/lib-static.mk        \
 servers/Makefile:build/top.mk:servers/Makefile.in:build/dir.mk \  servers/Makefile:build/top.mk:servers/Makefile.in:build/dir.mk \
 servers/ldapd/Makefile:build/top.mk:servers/ldapd/Makefile.in:build/srv.mk \  servers/ldapd/Makefile:build/top.mk:servers/ldapd/Makefile.in:build/srv.mk \
 servers/slapd/Makefile:build/top.mk:servers/slapd/Makefile.in:build/srv.mk \  servers/slapd/Makefile:build/top.mk:servers/slapd/Makefile.in:build/srv.mk \

Removed from v.1.37  
changed lines
  Added in v.1.38


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