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

configure should use PKG_PROG_PKG_CONFIG #59711

Closed
vapier mannequin opened this issue Jul 30, 2012 · 3 comments
Closed

configure should use PKG_PROG_PKG_CONFIG #59711

vapier mannequin opened this issue Jul 30, 2012 · 3 comments
Labels
build The build process and cross-build

Comments

@vapier
Copy link
Mannequin

vapier mannequin commented Jul 30, 2012

BPO 15506
Nosy @doko42, @vapier

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2014-12-15.05:03:25.185>
created_at = <Date 2012-07-30.17:52:20.649>
labels = ['build']
title = 'configure should use PKG_PROG_PKG_CONFIG'
updated_at = <Date 2014-12-15.05:03:25.155>
user = 'https://github.com/vapier'

bugs.python.org fields:

activity = <Date 2014-12-15.05:03:25.155>
actor = 'python-dev'
assignee = 'none'
closed = True
closed_date = <Date 2014-12-15.05:03:25.185>
closer = 'python-dev'
components = ['Build']
creation = <Date 2012-07-30.17:52:20.649>
creator = 'vapier'
dependencies = []
files = []
hgrepos = []
issue_num = 15506
keywords = []
message_count = 3.0
messages = ['166915', '220631', '232647']
nosy_count = 6.0
nosy_names = ['doko', 'vapier', 'Arfrever', 'BreamoreBoy', 'tshepang', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue15506'
versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

@vapier
Copy link
Mannequin Author

vapier mannequin commented Jul 30, 2012

the current configure script open codes the pkg-config look up:
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])

rather than using the standard macro from pkg-config's own pkg.m4:
PKG_PROG_PKG_CONFIG

this causes the build env to not operate exactly like other pkg-config autoconf builds :(

simple fix:
-AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+PKG_PROG_PKG_CONFIG

@vapier vapier mannequin added build The build process and cross-build labels Jul 30, 2012
@BreamoreBoy
Copy link
Mannequin

BreamoreBoy mannequin commented Jun 15, 2014

I've guessed at the versions impacted, assuming of course that the change proposed inline in msg166915 is acceptable. I'm sorry but I don't know who is best qualified to put on the nosy list for this issue.

@python-dev
Copy link
Mannequin

python-dev mannequin commented Dec 15, 2014

New changeset 54939f3c1e17 by Benjamin Peterson in branch '2.7':
use autoconf macro to check for pkg-config (closes bpo-15506)
https://hg.python.org/cpython/rev/54939f3c1e17

New changeset 76df5870757a by Benjamin Peterson in branch '3.4':
use autoconf macro to check for pkg-config (closes bpo-15506)
https://hg.python.org/cpython/rev/76df5870757a

New changeset 5e473a7a01f3 by Benjamin Peterson in branch 'default':
merge 3.4 (bpo-15506)
https://hg.python.org/cpython/rev/5e473a7a01f3

@python-dev python-dev mannequin closed this as completed Dec 15, 2014
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

0 participants