summaryrefslogtreecommitdiff
path: root/build/apr_common.m4
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2003-11-05 09:46:00 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2003-11-05 09:46:00 +0000
commitd1d4b402891d5ba288c796268036e07d8d64ad9c (patch)
tree026df7ff39aa3f9eddc6263aa0f07630cf262143 /build/apr_common.m4
parentc8f5e8423cf6eec6b2468b7412c13269dc82abae (diff)
downloadlibapr-d1d4b402891d5ba288c796268036e07d8d64ad9c.tar.gz
From 0.9 branch, though it might still be wise to try out Sascha's
awk code here instead: * build/apr_common.m4 (APR_LAYOUT): Low-risk fix for config.layout parser which breaks with some sed implementations. PR: 19251 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64724 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/apr_common.m4')
-rw-r--r--build/apr_common.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4
index 29e69bbbb..c7bfcfd04 100644
--- a/build/apr_common.m4
+++ b/build/apr_common.m4
@@ -757,7 +757,7 @@ AC_DEFUN(APR_LAYOUT,[
fi
pldconf=./config.pld
changequote({,})
- sed -e "1s/[ ]*<[lL]ayout[ ]*$2[ ]*>[ ]*//;t" \
+ sed -e "1s/[ ]*<[lL]ayout[ ]*$2[ ]*>[ ]*//;1t" \
-e "1,/[ ]*<[lL]ayout[ ]*$2[ ]*>[ ]*/d" \
-e '/[ ]*<\/Layout>[ ]*/,$d' \
-e "s/^[ ]*//g" \