From: Albert Chin-A-Young Date: Thu, 7 Mar 2002 21:34:19 +0000 (+0000) Subject: * libtool.m4: Allow LT_AC_PROG_SED to work under autoconf X-Git-Tag: release-1-4-3~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86361aa30cd2aaed33479db77088fdc535340aa3;p=thirdparty%2Flibtool.git * libtool.m4: Allow LT_AC_PROG_SED to work under autoconf 2.13 and 2.5x with $ECHO_N/$ECHO_C and $ac_n/$ac_c. --- diff --git a/ChangeLog b/ChangeLog index 81c0fbe76..ebebecf73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-03-07 Albert Chin-A-Young + + * libtool.m4: Allow LT_AC_PROG_SED to work under autoconf + 2.13 and 2.5x with $ECHO_N/$ECHO_C and $ac_n/$ac_c. + 2002-02-25 Albert Chin-A-Young * ltmain.in: Quote $pic_mode. diff --git a/libtool.m4 b/libtool.m4 index 3abd86b00..a0b0fcd4b 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 $ac_n "0123456789$ac_c" >"$tmp/sed.in" + echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$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}