[Zope-CVS] CVS: Zope - configure:1.1.4.5

Chris McDonough chrism@zope.com
Sun, 8 Sep 2002 22:33:49 -0400


Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv18032

Modified Files:
      Tag: chrism-install-branch
	configure 
Log Message:
VERSION didn't agree with FOUND when optimum version was not found.


=== Zope/configure 1.1.4.4 => 1.1.4.5 ===
--- Zope/configure:1.1.4.4	Fri Aug 30 10:27:14 2002
+++ Zope/configure	Sun Sep  8 22:33:49 2002
@@ -28,11 +28,13 @@
             echo "  Python version $VERSION found at $full"
             if [ $VERSION = $TARGET ]; then
                 FOUND=$full
+                FOUNDVERSION=$VERSION
 		break 2
             else
                 for acceptable in $ACCEPTABLE; do
                     if [ $VERSION = $acceptable ]; then
                         FOUND=$full
+                        FOUNDVERSION=$VERSION
                     fi
                 done
             fi
@@ -50,8 +52,8 @@
     echo "  The optimimum Python version ($TARGET) was found at $FOUND."
 else
     echo "  !! WARNING !! "
-    echo "  An acceptable, but non-optimal version of Python ($VERSION) was"
-    echo "  found at '$FOUND' but consider installing version $TARGET"
+    echo "  An acceptable, but non-optimal version of Python ($FOUNDVERSION) "
+    echo "  was found at '$FOUND' but consider installing version $TARGET"
     echo "  before running 'make'."
 fi
 echo