]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Allow LT_AC_PROG_SED to work under autoconf
authorAlbert Chin-A-Young <china@thewrittenword.com>
Thu, 7 Mar 2002 21:34:19 +0000 (21:34 +0000)
committerRobert Boehne <rboehne@gnu.org>
Thu, 7 Mar 2002 21:34:19 +0000 (21:34 +0000)
2.13 and 2.5x with $ECHO_N/$ECHO_C and $ac_n/$ac_c.

ChangeLog
libtool.m4

index 81c0fbe76e120c9240c35d477a423ba107dfbf99..ebebecf731e27f432534e374890fd0b518d38689 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-07  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * 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  <china@thewrittenword.com>
 
        * ltmain.in: Quote $pic_mode.
index 3abd86b000c959715b29c6058d5b43d4de24c84a..a0b0fcd4b39cdf9f1043a90eea75a25df4886ece 100644 (file)
@@ -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}