Index: configure.in =================================================================== RCS file: /cvs/gcc/gcc/gcc/configure.in,v retrieving revision 1.627.2.8 diff -u -r1.627.2.8 configure.in --- configure.in 12 May 2003 18:49:18 -0000 1.627.2.8 +++ configure.in 24 May 2003 20:04:38 -0000 @@ -2319,7 +2319,10 @@ && $gcc_cv_ld -shared -o conftest1.so conftest1.o \ conftest2.o conftest3.o; then gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \ - | grep -A1 myfoosect` + | sed -n '/.*myfoosect.*/{ + N + p + }'` if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then gcc_cv_ld_ro_rw_mix=read-only