Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
Mar 28, 2017
Merged

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

merged 5 commits into from
Mar 28, 2017

Conversation

ts826848
Copy link
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

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA. This is necessary for legal reasons before we can look at your contribution. Please follow these steps to help rectify the issue:

  1. If you don't have an account on b.p.o, please create one
  2. Make sure your GitHub username is listed in "Your Details" at b.p.o
  3. If you have not already done so, please sign the PSF contributor agreement
  4. If you just signed the CLA, please wait at least one US business day and then check "Your Details" on bugs.python.org to see if your account has been marked as having signed the CLA (the delay is due to a person having to manually check your signed CLA)
  5. Reply here saying you have completed the above steps

Thanks again to your contribution and we look forward to looking at it!

@ts826848
Copy link
Contributor Author

ts826848 commented Feb 20, 2017 via email

@zhangyangyu
Copy link
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
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
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
Copy link
Member

gpshead commented Mar 11, 2017

thanks, this change looks good.

@gpshead
Copy link
Member

gpshead commented Mar 11, 2017

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
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
Copy link
Member

methane commented Mar 27, 2017

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
Copy link
Member

methane commented Mar 27, 2017

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

@ned-deily
Copy link
Member

@methane: The change to aclocal.m4 should not matter one way or another. You can leave it in or not.

@methane methane merged commit 8cea592 into python:master Mar 28, 2017
methane pushed a commit to methane/cpython 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)
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 pushed a commit to methane/cpython 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)
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
pablogsal pushed a commit to pablogsal/cpython that referenced this pull request Aug 13, 2022
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