[Zope-dev] ./configure on Zope27HEAD with Python 2.2.2

Fred L. Drake, Jr. fred@zope.com
Thu, 19 Jun 2003 22:05:29 -0400


Jamie Heilman writes:
 > > Does anyone care enough to fix configure to work properly on BSD?
 > 
 > i=$(($i+1))

Whatever happened to the old tried-but-true:

    i=`expr $i + 1`

Running an external process may be slower, but you don't need to run
./configure all that often unless you're developing Zope itself (and
even then, not all *that* often).  I suspect using expr is more
portable to the whole family of sh-derived shells than any of the more
new-fangled ways.

Sheesh, who ever imagined I'd be the curmudgeon?


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation