From: Samuel Martin Date: Sun, 22 Nov 2015 22:38:00 +0000 (+0100) Subject: configure.ac: fix static build X-Git-Tag: v2.8.0-rc1~203 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=e9cee23a2e92694ba1347fd1242026d4c19413a8;hp=e9cee23a2e92694ba1347fd1242026d4c19413a8;p=lttng-tools.git configure.ac: fix static build For static build, some extra LDFLAGS may be needed. Using PKG_CHECK_MODULES instead of AC_CHECK_LIB for librairy detection allows to get all these flags. Then, the LIBS variable can be extended with everything that is needed. So, use PKG_CHECK_MODULES for popt and uuid detection; which both depend on libintl. This changes fixes build failures triggered with Buildroot, e.g.: http://autobuild.buildroot.net/results/0f1/0f1e015a0c5a5ac2beeb5011d31a1e0058a32a0d/build-end.log Signed-off-by: Samuel Martin Signed-off-by: Jérémie Galarneau ---