(AC_PROG_SED): Use diff, not sed; otherwise "make check" fails because

it forbids cmp (I guess because cmp treats files as binary on DOS-like
systems).
This commit is contained in:
Paul Eggert 2004-01-26 23:16:52 +00:00
parent f74f53b7c8
commit ee5a37d1bf

View File

@ -536,7 +536,7 @@ for ac_prog in sed gsed; do
cp conftest.in conftest.nl cp conftest.in conftest.nl
echo '' >> conftest.nl echo '' >> conftest.nl
"$ac_sed" -e 's/a$//' < conftest.nl >conftest.out || break "$ac_sed" -e 's/a$//' < conftest.nl >conftest.out || break
cmp conftest.out conftest.nl >/dev/null 2>&1 || break diff conftest.out conftest.nl >/dev/null 2>&1 || break
ac_count=`expr $ac_count + 1` ac_count=`expr $ac_count + 1`
if test $ac_count -gt $ac_max; then if test $ac_count -gt $ac_max; then
ac_max=$ac_count ac_max=$ac_count