[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LT_AC_PROG_SED patch against 1.4 branch
From: |
Albert Chin |
Subject: |
LT_AC_PROG_SED patch against 1.4 branch |
Date: |
Mon, 25 Feb 2002 00:25:18 -0600 |
User-agent: |
Mutt/1.2.5i |
The new LT_AC_PROG_SED macro uses $ECHO_N and #ECHO_C. However, these
aren't defined in autoconf 2.13, only 2.50 and above. Patch below.
2002-02-25 Albert Chin-A-Young <address@hidden>
* 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.
--
albert chin (address@hidden)
-- snip snip
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libtool.m4,v
retrieving revision 1.166.2.34
diff -u -3 -p -r1.166.2.34 libtool.m4
--- libtool.m4 2 Feb 2002 00:17:12 -0000 1.166.2.34
+++ libtool.m4 25 Feb 2002 06:09:14 -0000
@@ -3644,7 +3648,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 +3661,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
- LT_AC_PROG_SED patch against 1.4 branch,
Albert Chin <=