From 334ec186d52a3758ec72ba764bad4da88cfe3fdf Mon Sep 17 00:00:00 2001 From: Albert Chin-A-Young Date: Mon, 25 Feb 2002 20:37:10 +0000 Subject: [PATCH] * Use $ac_n and $ac_c rather than $ECHO_N and $ECHO_C for new LT_AC_PROG_SED macro. $ECHO_N and $ECHO_C defined for autoconf 2.50 and above only. --- ChangeLog | 6 ++++++ libtool.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e910e2e8f..cc2bc6c97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-02-25 Albert Chin-A-Young + + * Use $ac_n and $ac_c rather than $ECHO_N and $ECHO_C for + new LT_AC_PROG_SED macro. $ECHO_N and $ECHO_C defined for + autoconf 2.50 and above only. + 2002-02-01 Robert Boehne * libtool.m4 (LT_AC_PROG_SED): New macro tests sed for truncation of diff --git a/libtool.m4 b/libtool.m4 index 46abe0898..3abd86b00 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -3644,7 +3644,7 @@ $debug || test ! -f ${_sed} && break cat /dev/null > "$tmp/sed.in" _count=0 - echo $ECHO_N "0123456789$ECHO_C" >"$tmp/sed.in" + echo $ac_n "0123456789$ac_c" >"$tmp/sed.in" # Check for GNU sed and select it if it is found. if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then lt_cv_path_SED=${_sed} @@ -3657,7 +3657,7 @@ $debug || echo >>"$tmp/sed.nl" ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break - # 10000 chars as input seems more than enough + # 40000 chars as input seems more than enough test $_count -gt 10 && break _count=`expr $_count + 1` if test $_count -gt $_max; then -- 2.47.2