]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
authorRobert Boehne <rboehne@ricardo-us.com>
Wed, 28 Nov 2001 23:20:53 +0000 (23:20 +0000)
committerRobert Boehne <rboehne@gnu.org>
Wed, 28 Nov 2001 23:20:53 +0000 (23:20 +0000)
factor of saftey as 3/4 of the result was not low enough.

ChangeLog
libtool.m4

index 78ee7cc1986ee73a79eb58109b7c555ccec45826..4a133ded99a85b880f6445250e726f666e5a4d83 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-28  Robert Boehne  <rboehne@ricardo-us.com>
+
+       * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
+       factor of saftey as 3/4 of the result was not low enough.
+
 2001-11-28  Gary V. Vaughan  <gary@gnu.org>
 
        * libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
index 07ebbade8860751f66f54b3f547b38f8fef13cf7..236b96685fbac4870f977bdc534de8b699eee2c9 100644 (file)
@@ -604,11 +604,10 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
       testring=$testring$testring
     done
     testring=
-    # add a significant safety factor because C++ compilers can tack on massive
-    # amounts of additional arguments before passing them to the linker.  1/4
-    # should be good.
-    len=`expr $lt_cv_sys_max_cmd_len \/ 4`
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len - $len`
+    # Add a significant safety factor because C++ compilers can tack on massive
+    # amounts of additional arguments before passing them to the linker.
+    # It appears as though 1/2 is a usable value.
+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     ;;
   esac
 ])