Skip to content
Snippets Groups Projects
configure.in 83.9 KiB
Newer Older
  • Learn to ignore specific revisions
  • AC_SUBST(SLAPD_GMP_LIBS)
    
    AC_SUBST(SLAPD_SQL_LDFLAGS)
    AC_SUBST(SLAPD_SQL_LIBS)
    AC_SUBST(SLAPD_SQL_INCLUDES)
    
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    dnl ----------------------------------------------------------------
    dnl final help output
    AC_ARG_WITH(xxinstall,[
    See INSTALL file for further details.])
    
    
    dnl ----------------------------------------------------------------
    
    dnl final output
    dnl
    
    AC_OUTPUT( \
    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/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/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/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	\
    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 \
    
    Howard Chu's avatar
    Howard Chu committed
    servers/slapd/back-hdb/Makefile:build/top.mk:servers/slapd/back-hdb/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 \
    
    servers/slapd/back-ldif/Makefile:build/top.mk:servers/slapd/back-ldif/Makefile.in:build/mod.mk \
    
    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 \
    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-relay/Makefile:build/top.mk:servers/slapd/back-relay/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/shell-backends/Makefile:build/top.mk:servers/slapd/shell-backends/Makefile.in:build/srv.mk \
    servers/slapd/slapi/Makefile:build/top.mk:servers/slapd/slapi/Makefile.in:build/lib.mk:build/lib-shared.mk  \
    
    servers/slapd/overlays/Makefile:build/top.mk:servers/slapd/overlays/Makefile.in:build/lib.mk \
    
    servers/slurpd/Makefile:build/top.mk:servers/slurpd/Makefile.in:build/srv.mk \
    tests/Makefile:build/top.mk:tests/Makefile.in:build/dir.mk \
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    tests/run \
    
    tests/progs/Makefile:build/top.mk:tests/progs/Makefile.in:build/rules.mk \
    ,[
    
    Kurt Zeilenga's avatar
    Kurt Zeilenga committed
    chmod +x tests/run
    
    BACKENDSC="servers/slapd/backends.c"
    echo "Making $BACKENDSC"
    rm -f $BACKENDSC
    cat > $BACKENDSC << ENDX
    /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
     *
     * Copyright 1998-2005 The OpenLDAP Foundation.
     * All rights reserved.
     *
     * Redistribution and use in source and binary forms, with or without
     * modification, are permitted only as authorized by the OpenLDAP
     * Public License.
     *
     * A copy of this license is available in the file LICENSE in the
     * top-level directory of the distribution or, alternatively, at
     * <http://www.OpenLDAP.org/license.html>.
     */
    /* This file is automatically generated by configure; please do not edit. */
    
    #include "portable.h"
    #include "slap.h"
    
    ENDX
    if test "${STATIC_BACKENDS}"; then
    
    	for b in config ${STATIC_BACKENDS}; do
    
    		bb=`echo "${b}" | sed -e 's/back-//'`
    		cat >> $BACKENDSC << ENDX
    extern BI_init ${bb}_back_initialize;
    ENDX
    	done
    
    	cat >> $BACKENDSC << ENDX
    
    BackendInfo slap_binfo[[]] = {
    ENDX
    
    
    	for b in config ${STATIC_BACKENDS}; do
    
    		bb=`echo "${b}" | sed -e 's/back-//'`
    		echo "    Add ${bb} ..."
    		cat >> $BACKENDSC << ENDX
    	{ "${bb}", ${bb}_back_initialize },
    ENDX
    	done
    
    	cat >> $BACKENDSC << ENDX
    	{ NULL, NULL },
    };
    
    /* end of generated file */
    ENDX
    fi
    
    
    echo Please run \"make depend\" to build dependencies
    
    ],[STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS"])