⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.in

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 IN
字号:
dnldnl Process this file with autoconf to produce a configure scriptdnlAC_PREREQ(2.13)AC_INIT(export_vars.sh.in)AC_CONFIG_HEADER(include/private/apu_config.h)AC_CONFIG_AUX_DIR(build)sinclude(build/apu-conf.m4)sinclude(build/apu-iconv.m4)sinclude(build/apu-hints.m4)sinclude(build/apr_common.m4)sinclude(build/find_apr.m4)sinclude(build/dbm.m4)dnl Generate ./config.nice for reproducing runs of configurednl APR_CONFIG_NICE(config.nice)dnl # Some initial steps for configuration.  We setup the default directorydnl # and which files are to be configured.dnl Absolute source/build directoryabs_srcdir=`(cd $srcdir && pwd)`abs_builddir=`pwd`if test "$abs_builddir" != "$abs_srcdir"; then  USE_VPATH=1  APU_CONFIG_LOCATION=buildelse  APU_CONFIG_LOCATION=sourcefiAC_SUBST(APU_CONFIG_LOCATION)AC_CANONICAL_SYSTEMdnldnl compute the top directory of the builddnl note: this is needed for LIBTOOL and exporting the bundled Expatdnltop_builddir="$abs_builddir"AC_SUBST(top_builddir)AC_SUBST(abs_srcdir)AC_SUBST(abs_builddir)dnl Initialize mkdir -p functionality.APR_MKDIR_P_CHECK($abs_srcdir/build/mkdir.sh)dnl get our version informationget_version="$abs_srcdir/build/get-version.sh"version_hdr="$abs_srcdir/include/apu_version.h"APRUTIL_MAJOR_VERSION="`$get_version major $version_hdr APU`"APRUTIL_DOTTED_VERSION="`$get_version all $version_hdr APU`"AC_SUBST(APRUTIL_DOTTED_VERSION)AC_SUBST(APRUTIL_MAJOR_VERSION)echo "APR-util Version: ${APRUTIL_DOTTED_VERSION}"dnl Enable the layout handling code, then reparse the prefix-stylednl arguments due to autoconf being a PITA.APR_ENABLE_LAYOUT(apr-util)APR_PARSE_ARGUMENTSdnl load os-specific hints for apr-utilAPU_PRELOADdnldnl set up the compilation flags and stuffdnlAPRUTIL_INCLUDES=""APRUTIL_PRIV_INCLUDES="-I$top_builddir/include -I$top_builddir/include/private"if test -n "$USE_VPATH"; then    APRUTIL_PRIV_INCLUDES="$APRUTIL_PRIV_INCLUDES -I$abs_srcdir/include/private -I$abs_srcdir/include"fidnldnl Find the APR includes directory and (possibly) the source (base) dir.dnlAPU_FIND_APRdnldnl even though we use apr_rules.mk for building apr-util, we needdnl to grab CC and CPP ahead of time so that apr-util config testsdnl use the same compiler as APR; we need the same compiler optionsdnl and feature test macros as welldnlAPR_SETIFNULL(CC, `$apr_config --cc`)APR_SETIFNULL(CPP, `$apr_config --cpp`)APR_ADDTO(CFLAGS, `$apr_config --cflags`)APR_ADDTO(CPPFLAGS, `$apr_config --cppflags`)dnl Find LDAP librarydnl Determine what DBM backend type to use.dnl Find Expatdnl Find an iconv libraryAPU_FIND_LDAPAPU_CHECK_DBMAPU_FIND_EXPATAPU_FIND_ICONVAC_SEARCH_LIBS(crypt, crypt ufc)AC_MSG_CHECKING(if system crypt() function is threadsafe)if test "x$apu_crypt_threadsafe" = "x1"; then  AC_DEFINE(APU_CRYPT_THREADSAFE, 1, [Define if the system crypt() function is threadsafe])  msg="yes"else  msg="no"fiAC_MSG_RESULT([$msg])AC_CHECK_FUNCS(crypt_r, [ crypt_r="1" ], [ crypt_r="0" ])if test "$crypt_r" = "1"; then  APR_CHECK_CRYPT_R_STYLEfiso_ext=$APR_SO_EXTlib_target=$APR_LIB_TARGETAC_SUBST(so_ext)AC_SUBST(lib_target)APRUTIL_LIBNAME="aprutil${libsuffix}"AC_SUBST(APRUTIL_LIBNAME)EXTRA_OS_LINK=""host_alias=`uname -s`case "$host_alias" in    dnl ### BeOS requires that ALL symbols resolve at LINK time!    dnl ###     dnl ### So, if we're building on BeOS then we need to add in the    dnl ### apr and expat libraries to the build or it'll die a truly horrible    dnl ### death. We now use the apr-config tool to determine the correct    dnl ### library to link against :)*AIX*|*Darwin*|*BeOS*)    dnl need such stuff as -liconv to be specified when building libaprutil.la    EXTRA_OS_LINK='$(APRUTIL_LDFLAGS) $(APRUTIL_LIBS)'    ;;*)    ;;esacAC_SUBST(EXTRA_OS_LINK)dnldnl Prep all the flags and stuff for compilation and export to other buildsdnlAPR_ADDTO(APRUTIL_LIBS, [$APR_LIBS])AC_SUBST(APRUTIL_EXPORT_LIBS)AC_SUBST(APRUTIL_PRIV_INCLUDES)AC_SUBST(APRUTIL_INCLUDES)AC_SUBST(APRUTIL_LDFLAGS)AC_SUBST(APRUTIL_LIBS)AC_SUBST(LDFLAGS)dnl copy apr's rules.mk into our build directory.if test ! -d ./build; then   $mkdir_p buildficp $APR_BUILD_DIR/apr_rules.mk $abs_builddir/build/rules.mkdnldnl BSD/OS (BSDi) needs to use a different include syntax in the Makefilesdnlcase "$host_alias" in*bsdi* | BSD/OS)    # Check whether they've installed GNU make    if make --version > /dev/null 2>&1; then        INCLUDE_RULES="include $abs_builddir/build/rules.mk"    else        INCLUDE_RULES=".include \"$abs_builddir/build/rules.mk\""    fi    ;;*)    INCLUDE_RULES="include $abs_builddir/build/rules.mk"    ;;esacAC_SUBST(INCLUDE_RULES)if test -d ./test; then    test_Makefile="test/Makefile"fiif test ! -d "$top_builddir/include/private"; then    mkdir $top_builddir/include    mkdir $top_builddir/include/privatefidnldnl everthing is done. MAKEFILES="Makefile buckets/Makefile crypto/Makefile dbm/Makefile dbm/sdbm/Makefile encoding/Makefile hooks/Makefile ldap/Makefile uri/Makefile xml/Makefile misc/Makefile strmatch/Makefile xlate/Makefile $test_Makefile"AC_OUTPUT([    export_vars.sh    apu-config    build/pkg/pkginfo    include/private/apu_select_dbm.h    include/apr_ldap.h    include/apu.h    include/apu_want.h    $MAKEFILES	],[chmod +x apu-config])

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -