From 11cd33d02960898773cb8ac8843affbe02db8189 Mon Sep 17 00:00:00 2001 From: Dalibor Topic Date: Mon, 14 Jul 2003 21:00:32 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ libtool.m4 | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 36b29dd6e..0dd615926 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-07-14 Dalibor Topic + + * 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 , Tim Waugh * libtool.m4: Replace mis-uses of path with pathname. diff --git a/libtool.m4 b/libtool.m4 index 08a7015e4..54eaa0bf4 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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 -- 2.47.3