warnings to /dev/null, helps FreeBSD and maybe others.
+2001-11-27 Kevin Ryde <user42@zip.com.au>
+ * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test"
+ warnings to /dev/null, helps FreeBSD and maybe others.
+
2001-11-15 Albert Chin-A-Young <china@thewrittenword.com>
* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
# If test is not a shell built-in, we'll probably end up computing a
# maximum length that is only half of the actual maximum length, but
# we can't tell.
- while test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
- = "XX$testring" &&
+ while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
+ = "XX$testring") >/dev/null 2>&1 &&
new_result=`expr "X$testring" : ".*" 2>&1` &&
lt_cv_sys_max_cmd_len=$new_result &&
test $i != 17 # 1/2 MB should be enough