> Autoconf patch: This one wasn't enough (grep from different AIX versions seem to differ here). Updated patch below.
Cheers, Ralf * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Use `tr' to shorten the line length for the delimiter test, for AIX grep. Index: lib/autoconf/status.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/status.m4,v retrieving revision 1.109 diff -u -r1.109 status.m4 --- lib/autoconf/status.m4 26 May 2006 22:29:50 -0000 1.109 +++ lib/autoconf/status.m4 27 May 2006 16:32:15 -0000 @@ -401,7 +401,9 @@ m4_if(_AC_Var, [EMAIL PROTECTED]@], m4_if(_AC_SED_CMD_NUM, 2, 2, _AC_SED_CMD_LIMIT), _AC_SED_CMD_NUM), [_ACEOF - if test `grep -c "$ac_delim\$" conf$$subs.sed` = _AC_SED_DELIM_NUM; then +dnl Use `tr' to cut down the line length so it is acceptable +dnl even for AIX grep. + if test `tr -d "$as_cr_Letters" < conf$$subs.sed | grep -c "$ac_delim\$"` = _AC_SED_DELIM_NUM; then break elif $ac_last_try; then AC_MSG_ERROR([could not make $CONFIG_STATUS]) @@ -410,8 +412,8 @@ fi done -ac_eof= -if grep '^CEOF$' conf$$subs.sed >/dev/null; then +ac_eof=`sed -n '/^CEOF$/p' conf$$subs.sed` +if test -n "$ac_eof"; then ac_eof=`sed -n '/^CEOF[[0-9]]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q` ac_eof=`expr 0$ac_eof + 1` fi _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils