diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2017-03-28 15:25:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-28 15:25:26 (GMT) |
commit | f01de61a8efea8319c65365898982f929d59a895 (patch) | |
tree | c754007747a301b021e9d92d4fdf96e99f295d0f /configure | |
parent | 596506216104613591218c2896cdb49fa0b7e5bb (diff) | |
download | cpython-f01de61a8efea8319c65365898982f929d59a895.zip cpython-f01de61a8efea8319c65365898982f929d59a895.tar.gz cpython-f01de61a8efea8319c65365898982f929d59a895.tar.bz2 |
bpo-29643: Fix check for --enable-optimizations (GH-869)
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
(cherry picked from commit 8cea5929f52801b0ce5928b46ef836e99a24321a)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6521,7 +6521,7 @@ $as_echo_n "checking for --enable-optimizations... " >&6; } # Check whether --enable-optimizations was given. if test "${enable_optimizations+set}" = set; then : enableval=$enable_optimizations; -if test "$withval" != no +if test "$enableval" != no then Py_OPT='true' { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |