]> git.ipfire.org Git - thirdparty/asterisk.git/commit
configure.ac: Use pkg-config to detect libxml2
authorHugh McMaster <hugh.mcmaster@outlook.com>
Thu, 24 Mar 2022 10:43:14 +0000 (21:43 +1100)
committerKevin Harwell <kharwell@digium.com>
Fri, 25 Mar 2022 20:10:39 +0000 (15:10 -0500)
commitbf9dafa7c22302b2f1a12b8216da63102116d9c9
treefec02267712643c8ec60fd248ae3f72780ab8888
parent7f8803ba1c725a2f6a308ebbb6965f95da365840
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