bpo-29643: Fix check for --enable-optimizations by ts826848 · Pull Request #129 · python/cpython · GitHub
Skip to content

bpo-29643: Fix check for --enable-optimizations - #129

Merged
methane merged 5 commits into
python:masterfrom
ts826848:patch-1
Mar 28, 2017
Merged

methane merged 5 commits into
python:masterfrom
ts826848:patch-1

Conversation

@ts826848

Copy link
Copy Markdown
Contributor

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.

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.
@the-knights-who-say-ni

Copy link
Copy Markdown

@ts826848

ts826848 commented Feb 20, 2017 via email

Copy link
Copy Markdown
Contributor Author

@zhangyangyu

Copy link
Copy Markdown
Member

It would be nice to open an issue on http://bugs.python.org/ to track this problem. And don't forget to nosy @brettcannon .

@brettcannon

Copy link
Copy Markdown
Member

My Makefile knowledge is fairly limited so I'm adding @gpshead to see if he is up for reviewing. If not then I can handle it.

And can you open an issue on bugs.python.org for this, @aw1621107 ?

@ts826848

Copy link
Copy Markdown
Contributor Author

Oops, forgot about that. Submitted issue 29643. Sorry about the delay.

@brettcannon brettcannon changed the title configure: Fix check for --enable-optimizations bpo-29643: Fix check for --enable-optimizations Feb 24, 2017
@gpshead

gpshead commented Mar 11, 2017

Copy link
Copy Markdown
Member

thanks, this change looks good.

@gpshead

gpshead commented Mar 11, 2017

Copy link
Copy Markdown
Member

When checking it in, we need to check in regenerated configure files along with it. but that could make easy backporting/merging a pain. do we have a process preference for configure.ac & configure changes? or just leave it up to whomever is merging?

@brettcannon

Copy link
Copy Markdown
Member

@gpshead I think we have a version requirement specified in configure.ac, but otherwise the committer just runs autoconf and commits both configure.ac and configure.

@methane

methane commented Mar 27, 2017

Copy link
Copy Markdown
Member

I'm sorry. I failed to merge master and I used push --force to solve it.
If curious notify sent to you, please ignore it.

@methane

methane commented Mar 27, 2017

Copy link
Copy Markdown
Member

When I ran autoreconf, unrelated changes (pkg-config 0.29 -> 0.29.2) happens.
Should I remove the change?

@ned-deily

Copy link
Copy Markdown
Member

@methane
methane merged commit 8cea592 into python:master Mar 28, 2017
methane referenced this pull request in methane/cpython Mar 28, 2017
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 8cea592)
vstinner pushed a commit that referenced this pull request Mar 28, 2017
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 8cea592)
methane referenced this pull request in methane/cpython Mar 28, 2017
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 8cea592)
akruis referenced this pull request in stackless-dev/stackless Sep 5, 2017
akruis pushed a commit to akruis/cpython that referenced this pull request Sep 9, 2017
akruis pushed a commit to akruis/cpython that referenced this pull request Sep 9, 2017
Re-add the test for NULL. It got lost in change 20dad21ded9c (2.7-slp) and dae0e80f141d (3.2-slp). Update the documentation.

https://bitbucket.org/stackless-dev/stackless/issues/129
(grafted from a4dfdadc7cf547e7f589e8191b8bab2c67e34f00)
akruis pushed a commit to akruis/cpython that referenced this pull request Oct 10, 2017
jaraco pushed a commit that referenced this pull request Dec 2, 2022
lazka added a commit to lazka/cpython that referenced this pull request Mar 2, 2023
lazka added a commit to lazka/cpython that referenced this pull request Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants