]> granicus.if.org Git - python/commitdiff
Give a warning if SO is set. Fixes #610332.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 14 Jun 2003 14:46:38 +0000 (14:46 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 14 Jun 2003 14:46:38 +0000 (14:46 +0000)
configure
configure.in

index 5db96b32f87ebdfc5d17916cc9f4255969cf02b5..20ac6ffe66989ed7fb3aaf58b13bcb647da1eb08 100755 (executable)
--- 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
index 963c6642e549ca05c823e134b7b2d3d629e49a18..402172829d4187614d37b76626cf038246247552 100644 (file)
@@ -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