]> git.ipfire.org Git - thirdparty/asterisk.git/commit
BuildSystem: Enable Jansson in Solaris 11.
authorAlexander Traud <pabstraud@compuserve.com>
Sat, 28 Jul 2018 12:39:40 +0000 (14:39 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Sat, 28 Jul 2018 12:48:16 +0000 (07:48 -0500)
commitc10b3ccd5f988990a853d9cf0c9bfb11aac4aa4d
tree4d721d752ed9f2dc8ab383ac685563039781b044
parent59f53514cedddee8e48392ecdaa082419728aaf8
BuildSystem: Enable Jansson in Solaris 11.

In Solaris, the header <jansson.h> is in /usr/include/jansson. To find
Jansson even in such a subdirectory, the tool pkg-config is queried via
AST_PKG_CONFIG_CHECK. For those platforms, which do not list Jansson via
pkg-config, the previous check remains and is executed thereafter.

Because the check for the NetBSD Editline library uses the tool pkg-config
the code of PKG_PROG_PKG_CONFIG must be used. Because that check happens
earlier than Jansson, it must be placed in front of that.

ASTERISK-27991

Change-Id: I69ea0f379f87a50049654b2487c76ee1c04fa53a
configure
configure.ac
include/asterisk/autoconfig.h.in