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

build: fixed pkg-config operations #10

Closed
wants to merge 1 commit into from
Closed

Conversation

ensc
Copy link

@ensc ensc commented Nov 11, 2018

PKG_PROG_PKG_CONFIG must not be in a conditional section because
autoconf expands this macro only once. E.g. actually, builds without
python support will fail to detect systemd.

See in https://autotools.io/pkgconfig/pkg_check_modules.html the notes
at "3.4 Optional modules" for details.

Commit moves PKG_PROG_PKG_CONFIG out of the "if ..." condition.

Signed-off-by: Enrico Scholz enrico.scholz@ensc.de

@ensc ensc changed the title build: fiued pjg-config operations build: fixed pkg-config operations Nov 11, 2018
PKG_PROG_PKG_CONFIG must not be in a conditional section because
autoconf expands this macro only once.  E.g. actually, builds without
python support will fail to detect systemd.

See in https://autotools.io/pkgconfig/pkg_check_modules.html the notes
at "3.4 Optional modules" for details.

Commit moves PKG_PROG_PKG_CONFIG out of the "if ..." condition.

Signed-off-by: Enrico Scholz <enrico.scholz@ensc.de>
@wcawijngaards
Copy link
Member

Thanks, applied.

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.

2 participants