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

Update configure.ac to use pkg-config to find libxml2 #5

Merged
merged 3 commits into from
Jul 8, 2022

Conversation

hughmcmaster
Copy link
Contributor

Debian is taking steps towards removing xml2-config in favour of pkg-config. This means terminatorX fails to build.

This patchset:

  1. Allows cross-compiling with pkg-config
  2. Drops the legacy check for libxml 1.x
  3. Uses PKG_CHECK_MODULES to find libxml2, falling back to xml2-config if necessary.

PKG_PROG_PKG_CONFIG calls AC_PATH_TOOL when checking for pkg-config.
When cross-compiling, pkg-config is prefixed with the host type.
libxml2 has been available for more than 20 years.
If libxml2 is not found, `configure' falls back to `xml2-config'.
Copy link
Owner

@axkg axkg left a comment

Choose a reason for hiding this comment

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

Sigh, catching-up with the continuous stream of bleeding edge updates of libraries is such a challenge 😉 Thanks for your contribution!

@axkg axkg merged commit 2887fc6 into axkg:main Jul 8, 2022
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.

None yet

2 participants