From: Albert Chin-A-Young Date: Sun, 10 Oct 2004 22:15:09 +0000 (+0000) Subject: * config/ltmain.m4sh: Don't require versions of GNU sed newer than X-Git-Tag: release-2-1b~914 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9ac8fcb3ba94207c4d2e451b6af319b1be7dee5;p=thirdparty%2Flibtool.git * config/ltmain.m4sh: Don't require versions of GNU sed newer than 3.02 for Cygwin and MinGW. --- diff --git a/ChangeLog b/ChangeLog index 9a83d3733..68f530324 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-10 Albert Chin-A-Young + + * config/ltmain.m4sh: Don't require versions of GNU sed newer than + 3.02 for Cygwin and MinGW. + 2004-10-10 Bob Friesenhahn * tests/pdemo-inst.test: Correction for mis-application of diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index 28ec84976..1f17d5e32 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -745,7 +745,8 @@ extern \"C\" { $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* ) - $run eval "${SED} -e '1iEXPORTS'"' < "$export_symbols" > "$output_objdir/$output.def"' + $run ${ECHO} EXPORTS > "$output_objdir/$output.def" + $run cat "$export_symbols" >> "$output_objdir/$output.def" ;; esac else