configure.ac: fix static build
authorSamuel Martin <s.martin49@gmail.com>
Sun, 22 Nov 2015 22:38:00 +0000 (23:38 +0100)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 1 Dec 2015 12:17:00 +0000 (07:17 -0500)
commitcc1aea280e10332aa37a3839ca8e252cf2a2a2ec
treed48d7a7ecae456f3b432319497761be7d3b11f51
parentf5aa4ae8283e4865ee614b8f61590dad9b24f0b5
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 <s.martin49@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
This page took 0.025741 seconds and 4 git commands to generate.