* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): For AmigaOS with pdksh,

set the maximum command line length to 8K since otherwise the test
takes over an hour to run.
This commit is contained in:
Dalibor Topic 2003-07-14 21:00:32 +00:00 committed by Bob Friesenhahn
parent 139fb24af0
commit 11cd33d029
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-07-14 Dalibor Topic <robilad@yahoo.com>
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): For AmigaOS with pdksh,
set the maximum command line length to 8K since otherwise the test
takes over an hour to run.
2003-06-25 Alexandre Oliva <aoliva@redhat.com>, Tim Waugh <twaugh@redhat.com>
* libtool.m4: Replace mis-uses of path with pathname.

6
libtool.m4 vendored
View File

@ -670,6 +670,12 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
lt_cv_sys_max_cmd_len=8192;
;;
amigaos*)
# On AmigaOS with pdksh, this test takes hours, literally.
# So we just punt and use a minimum line length of 8192.
lt_cv_sys_max_cmd_len=8192;
;;
*)
# 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