Skip to content
Snippets Groups Projects
configure 593 KiB
Newer Older
  • Learn to ignore specific revisions
  •   rm -rf conftest*
      ol_cv_have_sys_errlist=no
    fi
    rm -f conftest*
    fi
    
    
    echo "$ac_t""$ol_cv_have_sys_errlist" 1>&6
    fi
    if test $ol_cv_have_sys_errlist = yes ; then
    	cat >> confdefs.h <<\EOF
    
    if test "$ol_enable_debug" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define LDAP_DEBUG 1
    EOF
    
    
    if test "$ol_enable_syslog" = yes ; then
    
    if test "$ol_enable_cache" = no ; then
    
    	cat >> confdefs.h <<\EOF
    #define LDAP_NOCACHE 1
    EOF
    
    
    if test "$ol_link_kbind" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND LDAP_VENDOR_VERSION
    EOF
    
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    fi
    
    if test "$ol_enable_proctitle" != no ; then
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    	cat >> confdefs.h <<\EOF
    #define LDAP_PROCTITLE 1
    EOF
    
    
    if test "$ol_enable_referrals" != no ; then
    
    	cat >> confdefs.h <<\EOF
    
    #define LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS LDAP_VENDOR_VERSION
    
    if test "$ol_enable_local" != no; then
    
    #define LDAP_PF_LOCAL 1
    
    if test "$ol_link_ipv6" != no; then
    
    	cat >> confdefs.h <<\EOF
    #define LDAP_PF_INET6 1
    EOF
    
    if test "$ol_enable_cleartext" != no ; then
    
    	cat >> confdefs.h <<\EOF
    
    if test "$ol_enable_crypt" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_CRYPT 1
    EOF
    
    fi
    
    if test "$ol_link_kpasswd" != no ; then
    
    	cat >> confdefs.h <<\EOF
    
    fi
    if test "$ol_link_spasswd" != no ; then
    	cat >> confdefs.h <<\EOF
    #define SLAPD_SPASSWD 1
    EOF
    
    
    if test "$ol_enable_phonetic" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_PHONETIC 1
    EOF
    
    fi
    
    if test "$ol_enable_rlookups" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_RLOOKUPS 1
    EOF
    
    
    fi
    if test "$ol_enable_aci" != no ; then
    	cat >> confdefs.h <<\EOF
    #define SLAPD_ACI_ENABLED 1
    EOF
    
    
    if test "$ol_link_modules" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_MODULES 1
    EOF
    
    	BUILD_SLAPD=yes
    
    	SLAPD_MODULES_LDFLAGS="-dlopen self"
    
    if test "$ol_enable_bdb" != no ; then
    	cat >> confdefs.h <<\EOF
    #define SLAPD_BDB 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_BDB=yes
    	if test "$ol_with_bdb_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_BDB_DYNAMIC 1
    EOF
    
    		BUILD_BDB=mod
    		BUILD_BDB_DYNAMIC=shared
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-bdb/back_bdb.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-bdb"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-bdb"
    
    if test "$ol_link_dnssrv" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_DNSSRV 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_DNSSRV=yes
    	if test "$ol_with_dnssrv_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_DNSSRV_DYNAMIC 1
    EOF
    
    		BUILD_DNSSRV=mod
    		BUILD_DNSSRV_DYNAMIC=shared
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-dnssrv/back_dnssrv.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-dnssrv"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-dnssrv"
    
    if test "$ol_enable_ldap" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_LDAP 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_LDAP=yes
    
    	if test "$ol_with_ldap_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_LDAP_DYNAMIC 1
    EOF
    
    
    		BUILD_LDAP=mod
    		BUILD_LDAP_DYNAMIC=shared
    
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-ldap/back_ldap.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-ldap"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-ldap"
    
    if test "$ol_link_ldbm" != no -a $ol_enable_ldbm != no; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_LDBM 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_LDBM=yes
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    	LDBM_LIB="-lldbm"
    
    	if test "$ol_with_ldbm_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_LDBM_DYNAMIC 1
    EOF
    
    
    		BUILD_LDBM=mod
    		BUILD_LDBM_DYNAMIC=shared
    
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-ldbm/back_ldbm.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-ldbm"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-ldbm"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    if test "$ol_enable_meta" != no ; then
    	if test "$ol_enable_ldap" = no ; then
    		{ echo "configure: error: need --enable-ldap to use --enable-meta" 1>&2; exit 1; }
    	fi
    	if test "$ol_enable_rewrite" = no ; then
    		{ echo "configure: error: need --enable-rewrite to use --enable-meta" 1>&2; exit 1; }
    	fi
    	cat >> confdefs.h <<\EOF
    #define SLAPD_META 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_META=yes
    
    	BUILD_LDAP=yes
    	BUILD_REWRITE=yes
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    	if test "$ol_with_meta_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_META_DYNAMIC 1
    EOF
    
    		BUILD_META=mod
    		BUILD_META_DYNAMIC=shared
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-meta/back_meta.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-meta"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-meta"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    	fi
    fi
    
    
    if test "$ol_enable_monitor" != no ; then
    	cat >> confdefs.h <<\EOF
    #define SLAPD_MONITOR 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_MONITOR=yes
    	if test "$ol_with_monitor_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_MONITOR_DYNAMIC 1
    EOF
    
    		BUILD_MONITOR=mod
    		BUILD_MONITOR_DYNAMIC=shared
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-monitor/back_monitor.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-monitor"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-monitor"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    if test "$ol_enable_null" != no ; then
    	cat >> confdefs.h <<\EOF
    #define SLAPD_NULL 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_NULL=yes
    	if test "$ol_with_null_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_NULL_DYNAMIC 1
    EOF
    
    		BUILD_NULL=mod
    		BUILD_NULL_DYNAMIC=shared
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-null/back_null.la"
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-null"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-null"
    	fi
    fi
    
    
    if test "$ol_enable_passwd" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_PASSWD 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_PASSWD=yes
    
    	if test "$ol_with_passwd_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_PASSWD_DYNAMIC 1
    EOF
    
    
    		BUILD_PASSWD=mod
    		BUILD_PASSWD_DYNAMIC=shared
    
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-passwd/back_passwd.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-passwd"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-passwd"
    
    if test "$ol_link_perl" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_PERL 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_PERL=yes
    
    	if test "$ol_with_perl_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_PERL_DYNAMIC 1
    EOF
    
    
    		BUILD_PERL=mod
    		BUILD_PERL_DYNAMIC=shared
    
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-perl/back_perl.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-perl"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-perl"
    
    if test "$ol_enable_shell" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_SHELL 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_SHELL=yes
    
    	if test "$ol_with_shell_module" != static ; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_SHELL_DYNAMIC 1
    EOF
    
    
    		BUILD_SHELL=mod
    		BUILD_SHELL_DYNAMIC=shared
    
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-shell/back_shell.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-shell"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-shell"
    
    if test "$ol_enable_tcl" != no ; then
    	cat >> confdefs.h <<\EOF
    #define SLAPD_TCL 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_TCL=yes
    
    	if test "$ol_with_tcl_module" != static; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_TCL_DYNAMIC 1
    EOF
    
    
    		BUILD_TCL=mod
    		BUILD_TCL_DYNAMIC=shared
    
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-tcl/back_tcl.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-tcl"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-tcl"
    
    if test "$ol_link_sql" != no ; then
    
    	cat >> confdefs.h <<\EOF
    #define SLAPD_SQL 1
    EOF
    
    	BUILD_SLAPD=yes
    	BUILD_SQL=yes
    	if test "$ol_with_sql_module" != static; then
    		cat >> confdefs.h <<\EOF
    #define SLAPD_SQL_DYNAMIC 1
    EOF
    
    		BUILD_SQL=mod
    		BUILD_SQL_DYNAMIC=shared
    		SLAPD_MODULES_LIST="$SLAPD_MODULES_LIST -dlopen \$(SLAP_DIR)back-sql/back_sql.la"
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    		SLAPD_DYNAMIC_BACKENDS="$SLAPD_DYNAMIC_BACKENDS back-sql"
    	else
    		SLAPD_STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS back-sql"
    
    if test "$ol_enable_slurpd" != no -a "$ol_link_threads" != no -a \
    
    	$BUILD_SLAPD = yes ; then
    	BUILD_SLURPD=yes
    fi
    
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    if test "$ol_enable_rewrite" != no ; then
    	cat >> confdefs.h <<\EOF
    #define ENABLE_REWRITE 1
    EOF
    
    	BUILD_REWRITE=yes
    fi
    
    
    
    if test "$ac_cv_mingw32" = yes ; then
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    	PLAT=NT
    	SLAPD_MODULES_LDFLAGS=
    	SLAPD_MODULES_LIST=
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    	PLAT=UNIX
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
      
      
    
    Ben Collins's avatar
    Ben Collins committed
    
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    
    
    # Check whether --with-xxinstall or --without-xxinstall was given.
    if test "${with_xxinstall+set}" = set; then
      withval="$with_xxinstall"
      :
    fi
    
    
    
    trap '' 1 2 15
    
    trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    
    test "x$prefix" = xNONE && prefix=$ac_default_prefix
    # Let make expand exec_prefix.
    test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    
    # Any assignment to VPATH causes Sun make to only execute
    # the first set of double-colon rules, so remove it if not needed.
    # If there is a colon in the path, we need to keep it.
    if test "x$srcdir" = x.; then
      ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
    fi
    
    trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
    
    DEFS=-DHAVE_CONFIG_H
    
    # Without the "./", some shells look in PATH for config.status.
    : ${CONFIG_STATUS=./config.status}
    
    echo creating $CONFIG_STATUS
    rm -f $CONFIG_STATUS
    cat > $CONFIG_STATUS <<EOF
    #! /bin/sh
    # Generated automatically by configure.
    # Run this file to recreate the current configuration.
    # This directory was configured as follows,
    # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    #
    # $0 $ac_configure_args
    #
    # Compiler output produced by configure, useful for debugging
    # configure, is in ./config.log if it exists.
    
    ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
    for ac_option
    do
      case "\$ac_option" in
      -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
        echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
        exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
      -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    
        echo "$CONFIG_STATUS generated by autoconf version 2.13.1"
    
        exit 0 ;;
      -help | --help | --hel | --he | --h)
        echo "\$ac_cs_usage"; exit 0 ;;
      *) echo "\$ac_cs_usage"; exit 1 ;;
      esac
    done
    
    ac_given_srcdir=$srcdir
    ac_given_INSTALL="$INSTALL"
    
    trap 'rm -fr `echo "\
    Makefile:build/top.mk:Makefile.in:build/dir.mk \
    doc/Makefile:build/top.mk:doc/Makefile.in:build/dir.mk \
    doc/man/Makefile:build/top.mk:doc/man/Makefile.in:build/dir.mk \
    doc/man/man1/Makefile:build/top.mk:doc/man/man1/Makefile.in:build/man.mk \
    doc/man/man3/Makefile:build/top.mk:doc/man/man3/Makefile.in:build/man.mk \
    doc/man/man5/Makefile:build/top.mk:doc/man/man5/Makefile.in:build/man.mk \
    doc/man/man8/Makefile:build/top.mk:doc/man/man8/Makefile.in:build/man.mk \
    clients/Makefile:build/top.mk:clients/Makefile.in:build/dir.mk \
    clients/mail500/Makefile:build/top.mk:clients/mail500/Makefile.in:build/rules.mk \
    clients/ud/Makefile:build/top.mk:clients/ud/Makefile.in:build/rules.mk \
    
    clients/maildap/Makefile:build/top.mk:clients/maildap/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 \
    libraries/Makefile:build/top.mk:libraries/Makefile.in:build/dir.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:build/lib-shared.mk	\
    libraries/libldap/Makefile:build/top.mk:libraries/libldap/Makefile.in:build/lib.mk:build/lib-shared.mk	\
    
    libraries/libldap_r/Makefile:build/top.mk:libraries/libldap_r/Makefile.in:build/lib.mk:build/lib-shared.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:build/lib-static.mk	\
    
    libraries/liblunicode/Makefile:build/top.mk:libraries/liblunicode/Makefile.in:build/lib.mk:build/lib-static.mk	\
    
    libraries/liblutil/Makefile:build/top.mk:libraries/liblutil/Makefile.in:build/lib.mk:build/lib-static.mk	\
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    libraries/librewrite/Makefile:build/top.mk:libraries/librewrite/Makefile.in:build/lib.mk:build/lib-static.mk \
    
    servers/Makefile:build/top.mk:servers/Makefile.in:build/dir.mk \
    servers/slapd/Makefile:build/top.mk:servers/slapd/Makefile.in:build/srv.mk \
    
    servers/slapd/back-bdb/Makefile:build/top.mk:servers/slapd/back-bdb/Makefile.in:build/mod.mk \
    
    servers/slapd/back-dnssrv/Makefile:build/top.mk:servers/slapd/back-dnssrv/Makefile.in:build/mod.mk \
    
    servers/slapd/back-ldap/Makefile:build/top.mk:servers/slapd/back-ldap/Makefile.in:build/mod.mk \
    
    servers/slapd/back-ldbm/Makefile:build/top.mk:servers/slapd/back-ldbm/Makefile.in:build/mod.mk \
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    servers/slapd/back-meta/Makefile:build/top.mk:servers/slapd/back-meta/Makefile.in:build/mod.mk \
    
    servers/slapd/back-monitor/Makefile:build/top.mk:servers/slapd/back-monitor/Makefile.in:build/mod.mk \
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    servers/slapd/back-null/Makefile:build/top.mk:servers/slapd/back-null/Makefile.in:build/mod.mk \
    
    servers/slapd/back-passwd/Makefile:build/top.mk:servers/slapd/back-passwd/Makefile.in:build/mod.mk \
    servers/slapd/back-perl/Makefile:build/top.mk:servers/slapd/back-perl/Makefile.in:build/mod.mk \
    servers/slapd/back-shell/Makefile:build/top.mk:servers/slapd/back-shell/Makefile.in:build/mod.mk \
    
    servers/slapd/back-sql/Makefile:build/top.mk:servers/slapd/back-sql/Makefile.in:build/mod.mk \
    
    servers/slapd/back-tcl/Makefile:build/top.mk:servers/slapd/back-tcl/Makefile.in:build/mod.mk \
    
    servers/slapd/shell-backends/Makefile:build/top.mk:servers/slapd/shell-backends/Makefile.in:build/srv.mk \
    servers/slapd/tools/Makefile:build/top.mk:servers/slapd/tools/Makefile.in \
    servers/slurpd/Makefile:build/top.mk:servers/slurpd/Makefile.in:build/srv.mk \
    
    tests/Makefile:build/top.mk:tests/Makefile.in:build/dir.mk \
    tests/progs/Makefile:build/top.mk:tests/progs/Makefile.in:build/rules.mk \
    
     include/portable.h include/ldap_features.h include/lber_types.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    
    EOF
    cat >> $CONFIG_STATUS <<EOF
    
    # Protect against being on the right side of a sed subst in config.status.
    sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
     s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
    $ac_vpsub
    $extrasub
    
    s%@CFLAGS@%$CFLAGS%g
    s%@CPPFLAGS@%$CPPFLAGS%g
    s%@CXXFLAGS@%$CXXFLAGS%g
    
    s%@DEFS@%$DEFS%g
    s%@LDFLAGS@%$LDFLAGS%g
    s%@LIBS@%$LIBS%g
    s%@exec_prefix@%$exec_prefix%g
    s%@prefix@%$prefix%g
    s%@program_transform_name@%$program_transform_name%g
    s%@bindir@%$bindir%g
    s%@sbindir@%$sbindir%g
    s%@libexecdir@%$libexecdir%g
    s%@datadir@%$datadir%g
    s%@sysconfdir@%$sysconfdir%g
    s%@sharedstatedir@%$sharedstatedir%g
    s%@localstatedir@%$localstatedir%g
    s%@libdir@%$libdir%g
    s%@includedir@%$includedir%g
    s%@oldincludedir@%$oldincludedir%g
    s%@infodir@%$infodir%g
    s%@mandir@%$mandir%g
    
    s%@host@%$host%g
    s%@host_alias@%$host_alias%g
    s%@host_cpu@%$host_cpu%g
    s%@host_vendor@%$host_vendor%g
    s%@host_os@%$host_os%g
    s%@target@%$target%g
    s%@target_alias@%$target_alias%g
    s%@target_cpu@%$target_cpu%g
    s%@target_vendor@%$target_vendor%g
    s%@target_os@%$target_os%g
    s%@build@%$build%g
    s%@build_alias@%$build_alias%g
    s%@build_cpu@%$build_cpu%g
    s%@build_vendor@%$build_vendor%g
    s%@build_os@%$build_os%g
    
    s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    
    s%@PACKAGE@%$PACKAGE%g
    s%@VERSION@%$VERSION%g
    s%@ACLOCAL@%$ACLOCAL%g
    s%@AUTOCONF@%$AUTOCONF%g
    s%@AUTOMAKE@%$AUTOMAKE%g
    s%@AUTOHEADER@%$AUTOHEADER%g
    s%@MAKEINFO@%$MAKEINFO%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@install_sh@%$install_sh%g
    s%@AMTAR@%$AMTAR%g
    s%@AWK@%$AWK%g
    s%@AMTARFLAGS@%$AMTARFLAGS%g
    
    s%@SET_MAKE@%$SET_MAKE%g
    
    s%@OPENLDAP_LIBVERSION@%$OPENLDAP_LIBVERSION%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@ldap_subdir@%$ldap_subdir%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@CC@%$CC%g
    
    s%@AR@%$AR%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@OBJEXT@%$OBJEXT%g
    s%@EXEEXT@%$EXEEXT%g
    s%@ECHO@%$ECHO%g
    s%@RANLIB@%$RANLIB%g
    s%@STRIP@%$STRIP%g
    
    s%@DLLTOOL@%$DLLTOOL%g
    s%@AS@%$AS%g
    s%@OBJDUMP@%$OBJDUMP%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@CPP@%$CPP%g
    
    s%@SENDMAIL@%$SENDMAIL%g
    s%@EDITOR@%$EDITOR%g
    
    s%@PERLBIN@%$PERLBIN%g
    
    s%@OL_MKDEP@%$OL_MKDEP%g
    s%@OL_MKDEP_FLAGS@%$OL_MKDEP_FLAGS%g
    
    s%@LIBOBJS@%$LIBOBJS%g
    
    s%@LIBSRCS@%$LIBSRCS%g
    s%@PLAT@%$PLAT%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@BUILD_LIBS_DYNAMIC@%$BUILD_LIBS_DYNAMIC%g
    
    s%@BUILD_SLAPD@%$BUILD_SLAPD%g
    
    s%@BUILD_BDB@%$BUILD_BDB%g
    
    s%@BUILD_DNSSRV@%$BUILD_DNSSRV%g
    
    s%@BUILD_LDBM@%$BUILD_LDBM%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@BUILD_META@%$BUILD_META%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@BUILD_NULL@%$BUILD_NULL%g
    
    s%@BUILD_PASSWD@%$BUILD_PASSWD%g
    
    s%@BUILD_PERL@%$BUILD_PERL%g
    
    s%@BUILD_SHELL@%$BUILD_SHELL%g
    
    s%@BUILD_TCL@%$BUILD_TCL%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@BUILD_BDB_DYNAMIC@%$BUILD_BDB_DYNAMIC%g
    
    s%@BUILD_DNSSRV_DYNAMIC@%$BUILD_DNSSRV_DYNAMIC%g
    
    s%@BUILD_LDAP_DYNAMIC@%$BUILD_LDAP_DYNAMIC%g
    s%@BUILD_LDBM_DYNAMIC@%$BUILD_LDBM_DYNAMIC%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@BUILD_META_DYNAMIC@%$BUILD_META_DYNAMIC%g
    
    s%@BUILD_MONITOR_DYNAMIC@%$BUILD_MONITOR_DYNAMIC%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@BUILD_NULL_DYNAMIC@%$BUILD_NULL_DYNAMIC%g
    
    s%@BUILD_PASSWD_DYNAMIC@%$BUILD_PASSWD_DYNAMIC%g
    s%@BUILD_PERL_DYNAMIC@%$BUILD_PERL_DYNAMIC%g
    s%@BUILD_SHELL_DYNAMIC@%$BUILD_SHELL_DYNAMIC%g
    
    s%@BUILD_SQL_DYNAMIC@%$BUILD_SQL_DYNAMIC%g
    
    s%@BUILD_TCL_DYNAMIC@%$BUILD_TCL_DYNAMIC%g
    
    s%@BUILD_SLURPD@%$BUILD_SLURPD%g
    
    s%@LDBM_LIB@%$LDBM_LIB%g
    
    s%@LDAP_LIBS@%$LDAP_LIBS%g
    
    s%@LDIF_LIBS@%$LDIF_LIBS%g
    
    s%@SLAPD_LIBS@%$SLAPD_LIBS%g
    s%@SLURPD_LIBS@%$SLURPD_LIBS%g
    s%@LDBM_LIBS@%$LDBM_LIBS%g
    s%@LTHREAD_LIBS@%$LTHREAD_LIBS%g
    s%@LUTIL_LIBS@%$LUTIL_LIBS%g
    
    Ben Collins's avatar
    Ben Collins committed
    s%@WRAP_LIBS@%$WRAP_LIBS%g
    
    s%@MOD_TCL_LIB@%$MOD_TCL_LIB%g
    
    s%@SLAPD_MODULES_CPPFLAGS@%$SLAPD_MODULES_CPPFLAGS%g
    s%@SLAPD_MODULES_LDFLAGS@%$SLAPD_MODULES_LDFLAGS%g
    
    s%@SLAPD_MODULES_LIST@%$SLAPD_MODULES_LIST%g
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    s%@SLAPD_STATIC_BACKENDS@%$SLAPD_STATIC_BACKENDS%g
    s%@SLAPD_DYNAMIC_BACKENDS@%$SLAPD_DYNAMIC_BACKENDS%g
    
    s%@PERL_CPPFLAGS@%$PERL_CPPFLAGS%g
    
    s%@SLAPD_PERL_LDFLAGS@%$SLAPD_PERL_LDFLAGS%g
    
    s%@MOD_PERL_LDFLAGS@%$MOD_PERL_LDFLAGS%g
    
    s%@KRB4_LIBS@%$KRB4_LIBS%g
    s%@KRB5_LIBS@%$KRB5_LIBS%g
    
    s%@READLINE_LIBS@%$READLINE_LIBS%g
    
    s%@SASL_LIBS@%$SASL_LIBS%g
    
    s%@TERMCAP_LIBS@%$TERMCAP_LIBS%g
    
    s%@AUTH_LIBS@%$AUTH_LIBS%g
    
    s%@SLAPD_SLP_LIBS@%$SLAPD_SLP_LIBS%g
    
    s%@SLAPD_SQL_LDFLAGS@%$SLAPD_SQL_LDFLAGS%g
    s%@SLAPD_SQL_LIBS@%$SLAPD_SQL_LIBS%g
    s%@SLAPD_SQL_INCLUDES@%$SLAPD_SQL_INCLUDES%g
    
    
    CEOF
    EOF
    
    cat >> $CONFIG_STATUS <<\EOF
    
    # Split the substitutions into bite-sized pieces for seds with
    # small command number limits, like on Digital OSF/1 and HP-UX.
    ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
    ac_file=1 # Number of current file.
    ac_beg=1 # First line for current file.
    ac_end=$ac_max_sed_cmds # Line after last line for current file.
    ac_more_lines=:
    ac_sed_cmds=""
    while $ac_more_lines; do
      if test $ac_beg -gt 1; then
        sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
      else
        sed "${ac_end}q" conftest.subs > conftest.s$ac_file
      fi
      if test ! -s conftest.s$ac_file; then
        ac_more_lines=false
        rm -f conftest.s$ac_file
      else
        if test -z "$ac_sed_cmds"; then
          ac_sed_cmds="sed -f conftest.s$ac_file"
        else
          ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
        fi
        ac_file=`expr $ac_file + 1`
        ac_beg=$ac_end
        ac_end=`expr $ac_end + $ac_max_sed_cmds`
      fi
    done
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds=cat
    fi
    EOF
    
    cat >> $CONFIG_STATUS <<EOF
    
    CONFIG_FILES=\${CONFIG_FILES-"\
    Makefile:build/top.mk:Makefile.in:build/dir.mk \
    doc/Makefile:build/top.mk:doc/Makefile.in:build/dir.mk \
    doc/man/Makefile:build/top.mk:doc/man/Makefile.in:build/dir.mk \
    doc/man/man1/Makefile:build/top.mk:doc/man/man1/Makefile.in:build/man.mk \
    doc/man/man3/Makefile:build/top.mk:doc/man/man3/Makefile.in:build/man.mk \
    doc/man/man5/Makefile:build/top.mk:doc/man/man5/Makefile.in:build/man.mk \
    doc/man/man8/Makefile:build/top.mk:doc/man/man8/Makefile.in:build/man.mk \
    clients/Makefile:build/top.mk:clients/Makefile.in:build/dir.mk \
    clients/mail500/Makefile:build/top.mk:clients/mail500/Makefile.in:build/rules.mk \
    clients/ud/Makefile:build/top.mk:clients/ud/Makefile.in:build/rules.mk \
    
    clients/maildap/Makefile:build/top.mk:clients/maildap/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 \
    libraries/Makefile:build/top.mk:libraries/Makefile.in:build/dir.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:build/lib-shared.mk	\
    libraries/libldap/Makefile:build/top.mk:libraries/libldap/Makefile.in:build/lib.mk:build/lib-shared.mk	\
    
    libraries/libldap_r/Makefile:build/top.mk:libraries/libldap_r/Makefile.in:build/lib.mk:build/lib-shared.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:build/lib-static.mk	\
    
    libraries/liblunicode/Makefile:build/top.mk:libraries/liblunicode/Makefile.in:build/lib.mk:build/lib-static.mk	\
    
    libraries/liblutil/Makefile:build/top.mk:libraries/liblutil/Makefile.in:build/lib.mk:build/lib-static.mk	\
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    libraries/librewrite/Makefile:build/top.mk:libraries/librewrite/Makefile.in:build/lib.mk:build/lib-static.mk \
    
    servers/Makefile:build/top.mk:servers/Makefile.in:build/dir.mk \
    servers/slapd/Makefile:build/top.mk:servers/slapd/Makefile.in:build/srv.mk \
    
    servers/slapd/back-bdb/Makefile:build/top.mk:servers/slapd/back-bdb/Makefile.in:build/mod.mk \
    
    servers/slapd/back-dnssrv/Makefile:build/top.mk:servers/slapd/back-dnssrv/Makefile.in:build/mod.mk \
    
    servers/slapd/back-ldap/Makefile:build/top.mk:servers/slapd/back-ldap/Makefile.in:build/mod.mk \
    
    servers/slapd/back-ldbm/Makefile:build/top.mk:servers/slapd/back-ldbm/Makefile.in:build/mod.mk \
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    servers/slapd/back-meta/Makefile:build/top.mk:servers/slapd/back-meta/Makefile.in:build/mod.mk \
    
    servers/slapd/back-monitor/Makefile:build/top.mk:servers/slapd/back-monitor/Makefile.in:build/mod.mk \
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    servers/slapd/back-null/Makefile:build/top.mk:servers/slapd/back-null/Makefile.in:build/mod.mk \
    
    servers/slapd/back-passwd/Makefile:build/top.mk:servers/slapd/back-passwd/Makefile.in:build/mod.mk \
    servers/slapd/back-perl/Makefile:build/top.mk:servers/slapd/back-perl/Makefile.in:build/mod.mk \
    servers/slapd/back-shell/Makefile:build/top.mk:servers/slapd/back-shell/Makefile.in:build/mod.mk \
    
    servers/slapd/back-sql/Makefile:build/top.mk:servers/slapd/back-sql/Makefile.in:build/mod.mk \
    
    servers/slapd/back-tcl/Makefile:build/top.mk:servers/slapd/back-tcl/Makefile.in:build/mod.mk \
    
    servers/slapd/shell-backends/Makefile:build/top.mk:servers/slapd/shell-backends/Makefile.in:build/srv.mk \
    servers/slapd/tools/Makefile:build/top.mk:servers/slapd/tools/Makefile.in \
    servers/slurpd/Makefile:build/top.mk:servers/slurpd/Makefile.in:build/srv.mk \
    
    tests/Makefile:build/top.mk:tests/Makefile.in:build/dir.mk \
    tests/progs/Makefile:build/top.mk:tests/progs/Makefile.in:build/rules.mk \
    
    "}
    EOF
    cat >> $CONFIG_STATUS <<\EOF
    for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
      # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
      case "$ac_file" in
      *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
           ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
      *) ac_file_in="${ac_file}.in" ;;
      esac
    
      # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
    
      # Remove last slash and all that follows it.  Not all systems have dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
        # The file is in a subdirectory.
        test ! -d "$ac_dir" && mkdir "$ac_dir"
        ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
        # A "../" for each directory in $ac_dir_suffix.
        ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
      else
        ac_dir_suffix= ac_dots=
      fi
    
      case "$ac_given_srcdir" in
      .)  srcdir=.
          if test -z "$ac_dots"; then top_srcdir=.
          else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
      /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
      *) # Relative path.
        srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
        top_srcdir="$ac_dots$ac_given_srcdir" ;;
      esac
    
      case "$ac_given_INSTALL" in
      [/$]*) INSTALL="$ac_given_INSTALL" ;;
      *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
      esac
    
      echo creating "$ac_file"
      rm -f "$ac_file"
      configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
      case "$ac_file" in
    
      *[Mm]akefile*) ac_comsub="1i\\
    
    # $configure_input" ;;
      *) ac_comsub= ;;
      esac
    
      ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
      sed -e "$ac_comsub
    s%@configure_input@%$configure_input%g
    s%@srcdir@%$srcdir%g
    s%@top_srcdir@%$top_srcdir%g
    s%@INSTALL@%$INSTALL%g
    " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    fi; done
    rm -f conftest.s*
    
    # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    # NAME is the cpp macro being defined and VALUE is the value it is being given.
    #
    # ac_d sets the value in "#define NAME VALUE" lines.
    ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
    ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2'
    ac_dC='\3'
    ac_dD='%g'
    # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
    ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
    ac_uB='\([ 	]\)%\1#\2define\3'
    ac_uC=' '
    ac_uD='\4%g'
    # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
    ac_eB='$%\1#\2define\3'
    ac_eC=' '
    ac_eD='%g'
    
    if test "${CONFIG_HEADERS+set}" != set; then
    EOF
    cat >> $CONFIG_STATUS <<EOF
    
      CONFIG_HEADERS="include/portable.h include/ldap_features.h include/lber_types.h"
    
    EOF
    cat >> $CONFIG_STATUS <<\EOF
    fi
    for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
      # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
      case "$ac_file" in
      *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
           ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
      *) ac_file_in="${ac_file}.in" ;;
      esac
    
      echo creating $ac_file
    
      rm -f conftest.frag conftest.in conftest.out
      ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
      cat $ac_file_inputs > conftest.in
    
    EOF
    
    # Transform confdefs.h into a sed script conftest.vals that substitutes
    # the proper values into config.h.in to produce config.h.  And first:
    # Protect against being on the right side of a sed subst in config.status.
    # Protect against being in an unquoted here document in config.status.
    rm -f conftest.vals
    cat > conftest.hdr <<\EOF
    s/[\\&%]/\\&/g
    s%[\\$`]%\\&%g
    s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
    s%ac_d%ac_u%gp
    s%ac_u%ac_e%gp
    EOF
    sed -n -f conftest.hdr confdefs.h > conftest.vals
    rm -f conftest.hdr
    
    # This sed command replaces #undef with comments.  This is necessary, for
    # example, in the case of _POSIX_SOURCE, which is predefined and required
    # on some systems where configure will not decide to define it.
    cat >> conftest.vals <<\EOF
    s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
    EOF
    
    # Break up conftest.vals because some shells have a limit on
    # the size of here documents, and old seds have small limits too.
    
    rm -f conftest.tail
    while :
    do
      ac_lines=`grep -c . conftest.vals`
      # grep -c gives empty output for an empty file on some AIX systems.
      if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
      # Write a limited-size here document to conftest.frag.
      echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
      sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
      echo 'CEOF
      sed -f conftest.frag conftest.in > conftest.out
      rm -f conftest.in
      mv conftest.out conftest.in
    ' >> $CONFIG_STATUS
      sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
      rm -f conftest.vals
      mv conftest.tail conftest.vals
    done
    rm -f conftest.vals
    
    cat >> $CONFIG_STATUS <<\EOF
      rm -f conftest.frag conftest.h
      echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
      cat conftest.in >> conftest.h
      rm -f conftest.in
      if cmp -s $ac_file conftest.h 2>/dev/null; then
        echo "$ac_file is unchanged"
        rm -f conftest.h
      else
        # Remove last slash and all that follows it.  Not all systems have dirname.
          ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
          if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
          # The file is in a subdirectory.
          test ! -d "$ac_dir" && mkdir "$ac_dir"
        fi
        rm -f $ac_file
        mv conftest.h $ac_file
      fi
    fi; done
    
    EOF
    cat >> $CONFIG_STATUS <<EOF
    
    EOF
    cat >> $CONFIG_STATUS <<\EOF
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    
    
    date > stamp-h
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    echo Please run \"make depend\" to build dependencies
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    
    
    exit 0
    EOF
    chmod +x $CONFIG_STATUS
    rm -fr confdefs* $ac_clean_files
    
    test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1