[Zope-Checkins] CVS: Zope - configure:1.9

Chris McDonough chrism@zope.com
Thu, 19 Jun 2003 20:34:34 -0400


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

Modified Files:
	configure 
Log Message:
Collector 952 (--with-python that has no trailing arg causes it to be passed to Python configurator, which raises an inscrutable error).


=== Zope/configure 1.8 => 1.9 ===
--- Zope/configure:1.8	Fri Jun 13 12:43:05 2003
+++ Zope/configure	Thu Jun 19 20:34:33 2003
@@ -172,6 +172,14 @@
         out ""
         out "Using Python interpreter at $FOUND"
         ;;
+    --with-python)
+	# in case someone passed in a --with-python without a value,
+        # we raise an error instead of passing it along to configure.py
+        # (which would raise an inscrutable error were it to receive this
+        # option).
+        out "--with-python argument requires an option"
+	exit 1
+        ;;
     --quiet* | -q*)
         QUIET="true"
         NEWOPTS="$NEWOPTS $OPT"