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:16:54 +0000 (07:16 -0500)
commit75df93099f6fc18ddd1599efd1313d5260c4d49a
treedf38d239a15cb282318ab22a0ec4d2d5ff9bfd3d
parent778d7cda5a7531acd7fb72352c393743d895835e
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.024884 seconds and 4 git commands to generate.