summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorthommay <thommay@13f79535-47bb-0310-9956-ffa450edef68>2002-08-15 19:58:35 +0000
committerthommay <thommay@13f79535-47bb-0310-9956-ffa450edef68>2002-08-15 19:58:35 +0000
commit244ee2fb52cc67e969ee948c469271023848223e (patch)
tree5123102198bd06f77fbb5db7fc064a31aab4684d /configure.in
parentd4292d55f3d09b865b9899a02950e093e18074e9 (diff)
downloadlibapr-244ee2fb52cc67e969ee948c469271023848223e.tar.gz
configure.in
Add layout and argument parsing macros config.layout Create a skeleton set of layouts for APR build/apr_common.m4 APR_LAYOUT: New macro to parse layouts stored in config.layout APR_ENABLE_LAYOUT: New macro to enable layout parsing, takes one argument in configure, --enable-layout=<layout> APR_PARSE_ARGUMENTS: New macro to allow us to reparse location handling arguments after setting up a layout. Concept Obtained From: Justin, Greg git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63815 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 71985e667..ecd039541 100644
--- a/configure.in
+++ b/configure.in
@@ -36,6 +36,11 @@ echo "Platform: $host"
dnl # Some initial steps for configuration. We setup the default directory
dnl # and which files are to be configured.
+dnl # First, we need to enable the layout handling code, then reparse the
+dnl # prefix-style arguments due to autoconf being a PITA.
+APR_ENABLE_LAYOUT
+APR_PARSE_ARGUMENTS
+
dnl Set optional CC hints here in case autoconf makes an inappropriate choice.
dnl This allows us to suggest what the compiler should be, but still
dnl allows the user to override CC externally.