]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set correctly for
authorKean Johnston <jkj@sco.com>
Mon, 31 Oct 2005 18:54:20 +0000 (18:54 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 31 Oct 2005 18:54:20 +0000 (18:54 +0000)
SCO.

ChangeLog
libtool.m4

index 212ea2bc328951e03719f4ec7d9b763a02f3de98..21829d6f40e0560946a45f820ea6a3cbf4185d0e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-10-31  Kean Johnston  <jkj@sco.com>
 
+       * 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.
 
index b367de25b9cf3649356f48882f7bc296b90fe4b0..d93e5cc3d2d65d0e08392e4ac03f9b7239b8191a 100644 (file)
@@ -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