jorton 2003/11/05 01:46:00
Modified: build apr_common.m4
Log:
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
Revision Changes Path
1.56 +1 -1 apr/build/apr_common.m4
Index: apr_common.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_common.m4,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -u -r1.55 -r1.56
--- apr_common.m4 5 Apr 2003 21:42:20 -0000 1.55
+++ apr_common.m4 5 Nov 2003 09:46:00 -0000 1.56
@@ -757,7 +757,7 @@
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" \