summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-05-03 05:53:15 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-05-03 05:53:15 (GMT)
commitb51033d48f024f84eb0c6e40c6a77520b8065038 (patch)
tree787687ad149262bfb377b25088e95c6aa0a2ebaf
parentbfc18bdf031bb473e8f3ed5d9a880458893524a3 (diff)
downloadcpython-b51033d48f024f84eb0c6e40c6a77520b8065038.zip
cpython-b51033d48f024f84eb0c6e40c6a77520b8065038.tar.gz
cpython-b51033d48f024f84eb0c6e40c6a77520b8065038.tar.bz2
Patch #551093: Let cygwin default to --enable-shared.
-rwxr-xr-xconfigure9
-rw-r--r--configure.in7
2 files changed, 13 insertions, 3 deletions
diff --git a/configure b/configure
index cc8c477..9371e6b 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.311 .
+# From configure.in Revision: 1.313 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
@@ -3070,7 +3070,12 @@ fi;
if test -z "$enable_shared"
then
- enable_shared="no"
+ case $ac_sys_system in
+ CYGWIN*)
+ enable_shared="yes";;
+ *)
+ enable_shared="no";;
+ esac
fi
echo "$as_me:$LINENO: result: $enable_shared" >&5
echo "${ECHO_T}$enable_shared" >&6
diff --git a/configure.in b/configure.in
index fb322f2..baad80f 100644
--- a/configure.in
+++ b/configure.in
@@ -337,7 +337,12 @@ AC_ARG_ENABLE(shared,
if test -z "$enable_shared"
then
- enable_shared="no"
+ case $ac_sys_system in
+ CYGWIN*)
+ enable_shared="yes";;
+ *)
+ enable_shared="no";;
+ esac
fi
AC_MSG_RESULT($enable_shared)