1. Armin Rigo
  2. cpython-withatomic

Commits

Benjamin Peterson  committed dfb239c

Merged revisions 78817 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r78817 | benjamin.peterson | 2010-03-09 15:43:36 -0600 (Tue, 09 Mar 2010) | 1 line

handle an empty OPT variable correctly #8100
........

  • Participants
  • Parent commits 3c8e200
  • Branches 2.6

Comments (0)

Files changed (2)

File configure

View file
 # tweak OPT based on compiler and platform, only if the user didn't set
 # it on the command line
 
-if test -z "$OPT"
+if test "${OPT-unset}" == "unset"
 then
     case $GCC in
     yes)

File configure.in

View file
 # tweak OPT based on compiler and platform, only if the user didn't set
 # it on the command line
 AC_SUBST(OPT)
-if test -z "$OPT"
+if test "${OPT-unset}" == "unset"
 then
     case $GCC in
     yes)