From: Ralf Wildenhues Date: Tue, 28 Dec 2004 12:54:49 +0000 (+0000) Subject: * config/ltmain.m4sh (func_extract_archives): Not all shells grok X-Git-Tag: release-2-1b~803 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c4db3fb93175de7b57265476ba75c25f65e2a6;p=thirdparty%2Flibtool.git * config/ltmain.m4sh (func_extract_archives): Not all shells grok `read -r' (unnecessary in this case). Reported by Ralf Menzel . --- diff --git a/ChangeLog b/ChangeLog index 845851bf6..a2ebf393f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2004-12-28 Ralf Wildenhues + * config/ltmain.m4sh (func_extract_archives): Not all shells grok + `read -r' (unnecessary in this case). + Reported by Ralf Menzel . + * config/general.m4sh: New variable quote_scanset.. (func_quote_for_eval, func_quote_for_expand) ..use it to work around SunOS ksh `case' backslash-escaping bug: protect character class by diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index 1ec0fd8e4..3924e0b39 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -974,7 +974,7 @@ func_extract_an_archive () { func_warning "$modename: warning: object name conflicts; renaming object files" 1>&2 func_warning "$modename: warning: to ensure that they will not overwrite" 1>&2 func_show_eval "cp \$f_ex_an_ar_oldlib \$f_ex_an_ar_dir/\$f_ex_an_ar_lib" - $AR t "$f_ex_an_ar_oldlib" | sort | uniq -c | while read -r count name + $AR t "$f_ex_an_ar_oldlib" | sort | uniq -c | while read count name do # We don't want to do anything to objects with unique names test "$count" -eq 1 && continue