From 5245d9ce443a1808c99c339a90488d0bbdf9e048 Mon Sep 17 00:00:00 2001 From: Charles Wilson Date: Mon, 11 Oct 2004 04:15:12 +0000 Subject: [PATCH] * config/ltmain.m4sh: Really don't require versions of GNU sed newer than 3.02 for Cygwin and MinGW, and don't break dryrun mode. --- ChangeLog | 6 ++++++ config/ltmain.m4sh | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60a02c658..1458a4365 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-10-10 Charles Wilson + + * config/ltmain.m4sh: Really don't require versions of GNU + sed newer than 3.02 for Cygwin and MinGW, and don't break + dryrun mode. + 2004-10-10 Bob Friesenhahn * config/getopt.m4sh: Under MinGW, reported paths may include ':' diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index 1f17d5e32..45edebe63 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -745,15 +745,16 @@ extern \"C\" { $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* ) - $run ${ECHO} EXPORTS > "$output_objdir/$output.def" - $run cat "$export_symbols" >> "$output_objdir/$output.def" + $run eval "${ECHO} EXPORTS "'> "$output_objdir/$output.def"' + $run eval 'cat "$export_symbols" >> "$output_objdir/$output.def"' ;; esac else $run eval "${SED} -e 's/\([[]][[.*^$]]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' case $host in *cygwin | *mingw* ) - $run eval "${SED} -e '1iEXPORTS'"' < "$output_objdir/$output.exp" > "$output_objdir/$output.def"' + $run eval "${ECHO} EXPORTS "'> "$output_objdir/$output.def"' + $run eval 'cat "$output_objdir/$output.exp" >> "$output_objdir/$output.def"' ;; esac $run eval '$GREP -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' -- 2.47.2