summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-04-24 02:24:25 +0200
committerKevin Ryde <user42@zip.com.au>2002-04-24 02:24:25 +0200
commit7a658de7a7e30a539a4b35c770dcff64c7eaa333 (patch)
treed8749a81f34e882b458501f4f22d73a75ce9260f
parentfd6430b1e7b8795626a72922e05e9a0f915bbf7b (diff)
downloadgmp-7a658de7a7e30a539a4b35c770dcff64c7eaa333.tar.gz
* configure.in (*-*-cygwin*): Give a sensible default command line
limit, to avoid blowups reported by Jim Fougeron on windows 9x. (--enable-nails): Make the default 2, since mp_bases has data for that.
-rw-r--r--configure.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ca02e6dd9..d1daa98c1 100644
--- a/configure.in
+++ b/configure.in
@@ -152,7 +152,7 @@ esac],
[enable_nails=no])
case $enable_nails in
-yes) GMP_NAIL_BITS=1 ;;
+yes) GMP_NAIL_BITS=2 ;;
no) GMP_NAIL_BITS=0 ;;
*) GMP_NAIL_BITS=$enable_nails ;;
esac
@@ -1475,6 +1475,19 @@ case $host in
enable_shared=no ;;
esac
+# FIXME: AC_LIBTOOL_SYS_MAX_CMD_LEN has been reported to blow up in some
+# fashion on windows 9x (but not 2k), taking a very long time and
+# temporarily locking the whole PC. Clearly this is a libtool problem, but
+# for now force a sensible value to avoid the test.
+#
+case $build in
+ *-*-cygwin*)
+ if test -z "$lt_cv_sys_max_cmd_len"; then
+ lt_cv_sys_max_cmd_len=20000
+ fi
+ ;;
+esac
+
# Configs for Windows DLLs.