libtool/libltdl/m4
Ralf Wildenhues da1e14c91c Exploit shell arithmetic expansion and ${#var}.
* libltdl/m4/libtool.m4 (_LT_CHECK_SHELL_FEATURES): Also check
for arithmetic expansion, and ${#var}.
(_LT_PROG_XSI_SHELLFNS): Define func_arith and func_len
accordingly, falling back on 'expr'.  Note that the argument to
func_len may not start with a hyphen.  In the pre-Posix
fallback, take care not to rely on the exit status of the
variable assignment (not portable), but set the length to
$max_cmd_len instead.
* libltdl/config/ltmain.m4sh (func_mode_link): Use func_arith
and func_len throughout for integer arithmetic, fixing
quadratical amount of counting for reloadable object and
piecewise archive linking.  Change all comparisons with
max_cmd_len to test for smaller, non-equal length.
* THANKS: Update.
Suggested by Roland Mainz.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2008-04-19 18:24:48 +02:00
..
.cvsignore
.gitignore Add .gitignore files. 2008-04-16 21:31:03 +02:00
argz.m4 * libltdl/m4/argz.m4 (AC_CHECK_FUNCS): Also use our replacement 2008-02-29 21:33:22 +00:00
libtool.m4 Exploit shell arithmetic expansion and ${#var}. 2008-04-19 18:24:48 +02:00
lt~obsolete.m4 * libltdl/m4/lt~obsolete.m4 (LTOBSOLETE_VERSION): New macro, to 2007-07-01 20:55:13 +00:00
ltdl.m4 * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4, 2008-04-01 18:23:20 +00:00
ltoptions.m4 Properly emulate AC_ENABLE_SHARED([no]) and others. 2008-04-18 23:45:43 +02:00
ltsugar.m4 Speed up bootstrap by improving lt_join. 2007-10-16 22:45:49 +00:00
ltversion.in * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00