From: Martin v. Löwis Date: Sat, 14 Jun 2003 14:46:38 +0000 (+0000) Subject: Give a warning if SO is set. Fixes #610332. X-Git-Tag: v2.3c1~442 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=368de8f17f60316402ce7d498bd9e1fcc759ea33;p=python Give a warning if SO is set. Fixes #610332. --- diff --git a/configure b/configure index 5db96b32f8..20ac6ffe66 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.414 . +# From configure.in Revision: 1.415 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53 for python 2.3. # @@ -9478,6 +9478,17 @@ then CYGWIN*) SO=.dll;; *) SO=.so;; esac +else + # this might also be a termcap variable, see #610332 + echo + echo '=====================================================================' + echo '+ +' + echo '+ WARNING: You have set SO in your environment. +' + echo '+ Do you really mean to change the extension for shared libraries? +' + echo '+ Continuing in 10 seconds to let you to ponder. +' + echo '+ +' + echo '=====================================================================' + sleep 10 fi echo "$as_me:$LINENO: result: $SO" >&5 echo "${ECHO_T}$SO" >&6 diff --git a/configure.in b/configure.in index 963c6642e5..402172829d 100644 --- a/configure.in +++ b/configure.in @@ -1140,6 +1140,17 @@ then CYGWIN*) SO=.dll;; *) SO=.so;; esac +else + # this might also be a termcap variable, see #610332 + echo + echo '=====================================================================' + echo '+ +' + echo '+ WARNING: You have set SO in your environment. +' + echo '+ Do you really mean to change the extension for shared libraries? +' + echo '+ Continuing in 10 seconds to let you to ponder. +' + echo '+ +' + echo '=====================================================================' + sleep 10 fi AC_MSG_RESULT($SO) # LDSHARED is the ld *command* used to create shared library