]> git.ipfire.org Git - thirdparty/asterisk.git/commit
configure.ac: Use pkg-config to detect libxml2
authorHugh McMaster <hugh.mcmaster@outlook.com>
Tue, 15 Mar 2022 23:53:05 +0000 (10:53 +1100)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 25 Mar 2022 19:26:29 +0000 (14:26 -0500)
commitd132184520408a7be77034a791d0f557e703a77c
treefaee81716b8eeb4d0b9f1ac09b95670bef6dbc0c
parented8ca6c38a75e7e31768f7eeeaf236fe8116c9c2
configure.ac: Use pkg-config to detect libxml2

Use pkg-config to detect libxml2, falling back to xml2-config if the
former is not available.

This patch ensures Asterisk continues to build on systems without
xml2-config installed.

The patch also updates the associated 'configure' files.

ASTERISK-29970 #close

Change-Id: I3c90dfe0b0590486cbb8e6d426a7c5c4199410c0
configure
configure.ac
menuselect/configure
menuselect/configure.ac