trawick 2002/07/24 05:20:24
Modified: . configure.in
Added: build apu-hints.m4
Log:
introduce a hints file for apr-util
at the moment it is needed to migrate the iconv hints from apr to apr-util
Revision Changes Path
1.53 +6 -0 apr-util/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr-util/configure.in,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- configure.in 19 Jul 2002 13:02:13 -0000 1.52
+++ configure.in 24 Jul 2002 12:20:24 -0000 1.53
@@ -10,6 +10,7 @@
sinclude(build/apu-conf.m4)
sinclude(build/apu-iconv.m4)
+sinclude(build/apu-hints.m4)
sinclude(../apr/build/apr_common.m4)
sinclude(../apr/build/find_apr.m4)
@@ -28,6 +29,8 @@
USE_VPATH=1
fi
+AC_CANONICAL_SYSTEM
+
dnl
dnl compute the top directory of the build
dnl note: this is needed for LIBTOOL and exporting the bundled Expat
@@ -38,6 +41,9 @@
dnl Initialize mkdir -p functionality.
APR_MKDIR_P_CHECK($abs_srcdir/build/mkdir.sh)
+
+dnl load os-specific hints for apr-util
+APU_PRELOAD
dnl
dnl set up the compilation flags and stuff
1.1 apr-util/build/apu-hints.m4
Index: apu-hints.m4
===================================================================
dnl -----------------------------------------------------------------
dnl apu-hints.m4: apr-util's autoconf macros for platform-specific hints
dnl
dnl We preload various configure settings depending
dnl on previously obtained platform knowledge.
dnl We allow all settings to be overridden from
dnl the command-line.
dnl
dnl APU_PRELOAD
dnl
dnl Preload various build parameters based on outside knowledge.
dnl
AC_DEFUN(APU_PRELOAD, [
if test "x$apu_preload_done" != "xyes" ; then
apu_preload_done="yes"
echo "Applying apr-util hints file rules for $host"
case "$host" in
*-ibm-aix*)
APR_SETIFNULL(apu_iconv_inbuf_const, [1])
;;
*-solaris2*)
APR_SETIFNULL(apu_iconv_inbuf_const, [1])
;;
esac
fi
])