diff options
author | fielding <fielding@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-18 15:52:12 +0000 |
---|---|---|
committer | fielding <fielding@13f79535-47bb-0310-9956-ffa450edef68> | 2001-02-18 15:52:12 +0000 |
commit | 0f13ac6f19a1f08a5dc2e4f38635455d3dcdc78f (patch) | |
tree | ac836602bb2e29b64a7a0cd9c534c41ac4c12a2d /configure.in | |
parent | 75b99e8a8ad9c1d17895bc41b9e7d5279315f25a (diff) | |
download | libapr-0f13ac6f19a1f08a5dc2e4f38635455d3dcdc78f.tar.gz |
Enable use of the new build directory.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61254 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/configure.in b/configure.in index 84bf41b0e..d464792b4 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ dnl ## dnl Process this file with autoconf to produce a configure script. AC_INIT(build/apr_common.m4) AC_CONFIG_HEADER(include/arch/unix/apr_private.h) -AC_CONFIG_AUX_DIR(helpers) +AC_CONFIG_AUX_DIR(build) AC_CANONICAL_SYSTEM echo "Configuring APR library" @@ -30,6 +30,12 @@ if test "$abs_builddir" != "$abs_srcdir"; then USE_VPATH=1 fi +dnl Directory containing apr build macros, helpers, and make rules +apr_builders=$abs_srcdir/build +AC_SUBST(apr_builders) + +MKDIR=$apr_builders/mkdir.sh + # These added to allow default directories to be used... DEFAULT_OSDIR="unix" echo "(Default will be ${DEFAULT_OSDIR})" @@ -42,15 +48,6 @@ AC_PROG_AWK AC_CHECK_PROG(RM, rm, rm) AC_CHECK_TOOL(AR, ar, ar) -dnl Get locations of the build helper scripts -MKDIR=$abs_srcdir/helpers/mkdir.sh -APR_MKEXPORT="$AWK -f $abs_srcdir/helpers/make_export.awk" -AC_SUBST(APR_MKEXPORT) -APR_MKDEP=$abs_srcdir/helpers/mkdep.sh -AC_SUBST(APR_MKDEP) -APR_SCANDOC=$abs_srcdir/helpers/scandoc -AC_SUBST(APR_SCANDOC) - # This macro needs to be here in case we are on an AIX box. AC_AIX @@ -923,10 +920,10 @@ dnl BSD/OS (BSDi) needs to use a different include syntax in the Makefiles dnl case "$host_alias" in *bsdi*) - INCLUDE_RULES=".include \"$top_builddir/helpers/rules.mk\"" + INCLUDE_RULES=".include \"$apr_builders/rules.mk\"" ;; *) - INCLUDE_RULES="include $top_builddir/helpers/rules.mk" + INCLUDE_RULES="include $apr_builders/rules.mk" ;; esac AC_SUBST(INCLUDE_RULES) @@ -944,7 +941,7 @@ AC_OUTPUT([ $MAKEFILE1 $MAKEFILE2 $MAKEFILE3 include/apr.h APRVARS - helpers/rules.mk + build/rules.mk ],[ for i in $SAVE_FILES; do if cmp -s $i $i.save 2>/dev/null; then |