From: Kean Johnston Date: Mon, 31 Oct 2005 18:54:20 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set correctly for X-Git-Tag: release-1-5-22~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0293facce526316878b01a20b524b4fcd445c5e8;p=thirdparty%2Flibtool.git * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set correctly for SCO. --- diff --git a/ChangeLog b/ChangeLog index 212ea2bc3..21829d6f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-10-31 Kean Johnston + * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set correctly for + SCO. + * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Set correct symcode values for the native nm on SCO platforms. diff --git a/libtool.m4 b/libtool.m4 index b367de25b..d93e5cc3d 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -738,6 +738,17 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl esac fi ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; *) # 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