From: Robert Boehne Date: Wed, 28 Nov 2001 23:20:53 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the X-Git-Tag: release-1-4d~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21c4662d62ed2c874c8280cddbfd23e0ce1feaa4;p=thirdparty%2Flibtool.git * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the factor of saftey as 3/4 of the result was not low enough. --- diff --git a/ChangeLog b/ChangeLog index 78ee7cc19..4a133ded9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-28 Robert Boehne + + * 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 * libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined diff --git a/libtool.m4 b/libtool.m4 index 07ebbade8..236b96685 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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 ])