Skip to content

configure.ac: replace krb5-config with pkg-config#7916

Closed
kanavin wants to merge 1 commit intocurl:masterfrom
kanavin:use-pkgconfig
Closed

configure.ac: replace krb5-config with pkg-config#7916
kanavin wants to merge 1 commit intocurl:masterfrom
kanavin:use-pkgconfig

Conversation

@kanavin
Copy link
Copy Markdown

@kanavin kanavin commented Oct 28, 2021

The rationale is that custom *-config tools don't work well when cross-compiling or using
sysroots (such as when using Yocto project) and require custom fixing for each of them;
pkg-config on the other hand works similarly everywhere.

Comment thread configure.ac Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should check how CURL_CHECK_PKGCONFIG is used for other components and use that method for pkg-config detection.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls check again.

The rationale is that custom *-config tools don't work well when cross-compiling or using
sysroots (such as when using Yocto project) and require custom fixing for each of them;
pkg-config on the other hand works similarly everywhere.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
@bagder bagder closed this in 6fe4e7d Oct 28, 2021
@bagder
Copy link
Copy Markdown
Member

bagder commented Oct 28, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants