]> granicus.if.org Git - python/commitdiff
Patch #551093: Let cygwin default to --enable-shared.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 3 May 2002 05:53:15 +0000 (05:53 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 3 May 2002 05:53:15 +0000 (05:53 +0000)
configure
configure.in

index cc8c4773385ece29e874ebaff8431b0db4e40148..9371e6b07177d0f3e8da0288a6a30e94c4e85b80 100755 (executable)
--- 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
index fb322f294dd867440ad34eaccc6a8e82f5921a87..baad80f5cc7a72fa9caf7d69fc69cb0249c40b09 100644 (file)
@@ -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)