GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — bpo-45723: Add --with-pkg-config to configure (GH-29517) by tiran · Pull Request #29517 · python/cpython Conversation
|
| if test -z "$PKG_CONFIG"; then | ||
| dnl invalidate stale config.cache values | ||
| AS_UNSET([PKG_CONFIG]) | ||
| AS_UNSET([ac_cv_path_ac_pt_PKG_CONFIG]) | ||
| AS_UNSET([ac_cv_prog_ac_ct_PKG_CONFIG]) | ||
| fi |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Unsetting PKG_CONFIG and friends if PKG_CONFIG is not set? Is there a missing ! in the test? Is this check needed at all; the config.cache guard is pretty strict.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It's un-declaring the variables when it's empty. This solves a corner case when going from ./configure -C --without-pkg-config to ./configure -C --with-pkg-config=yes.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Maybe you are able to find a better way...
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I see. No, this is fine. I can't think of a better way.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Is it worth it listing the packages we actually use |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Erlend Egeberg Aasland <[email protected]>
The pkg-config m4 macro will do that for us. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Erlend Egeberg Aasland <[email protected]>
Co-authored-by: Erlend Egeberg Aasland <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.