* 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.
This commit is contained in:
Charles Wilson 2004-10-11 04:15:43 +00:00 committed by Bob Friesenhahn
parent 2d21f9adc3
commit c57c62b12e
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-10-10 Charles Wilson <spam.protected>
* 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 <bfriesen@simple.dallas.tx.us> 2004-10-10 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* config/getopt.m4sh: Under MinGW, reported paths may include ':' * config/getopt.m4sh: Under MinGW, reported paths may include ':'

View File

@ -745,15 +745,16 @@ extern \"C\" {
$run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
case $host in case $host in
*cygwin* | *mingw* ) *cygwin* | *mingw* )
$run ${ECHO} EXPORTS > "$output_objdir/$output.def" $run eval "${ECHO} EXPORTS "'> "$output_objdir/$output.def"'
$run cat "$export_symbols" >> "$output_objdir/$output.def" $run eval 'cat "$export_symbols" >> "$output_objdir/$output.def"'
;; ;;
esac esac
else else
$run eval "${SED} -e 's/\([[]][[.*^$]]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' $run eval "${SED} -e 's/\([[]][[.*^$]]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
case $host in case $host in
*cygwin | *mingw* ) *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 esac
$run eval '$GREP -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' $run eval '$GREP -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'