From Michael Elizabeth Chastain <chastain@cygnus.com>:
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN):  Set max_cmd_len
to a maximum of 512Kb, as it seems some HPUX 11.0 systems
have trouble with 1MB.
diff --git a/ChangeLog b/ChangeLog
index 40e734e..93ff998 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-07-09  Robert Boehne  <rboehne@ricardo-us.com>
+
+	From Michael Elizabeth Chastain <chastain@cygnus.com>:
+	* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN):  Set max_cmd_len
+	to a maximum of 512Kb, as it seems some HPUX 11.0 systems
+	have trouble with 1MB.
+
 2001-07-09  Gary V. Vaughan  <gary@gnu.org>
 
 	* README-alpha:  Upgrade distribution instructions to include
diff --git a/libtool.m4 b/libtool.m4
index cab8f20..acfea71 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -568,7 +568,7 @@
                = "XX$testring" &&
             new_result=`expr "X$testring" : ".*" 2>&1` &&
             lt_cv_sys_max_cmd_len=$new_result &&
-            test $i != 18 # 1 MB should be enough
+            test $i != 17 # 1/2 MB should be enough
     do
       i=`expr $i + 1`
       testring=$testring$testring