projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: fix static build
[lttng-tools.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 2c451e97d1f13e408d688b128a552c2d7a9c9547..978e3bc0ccd6ce1909d5e5597cbc70db9d9f5524 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-218,15
+218,17
@@
AC_CHECK_LIB([pthread], [pthread_create], [],
)
# Check libpopt
)
# Check libpopt
-AC_CHECK_LIB([popt], [poptGetContext], [],
+PKG_CHECK_MODULES([POPT], [popt],
+ [LIBS="$LIBS $POPT_LIBS"],
[AC_MSG_ERROR([Cannot find libpopt. Use [LDFLAGS]=-Ldir to specify its location.])]
)
AM_PATH_XML2(2.7.6, true, AC_MSG_ERROR(No supported version of libxml2 found.))
# Check for libuuid
[AC_MSG_ERROR([Cannot find libpopt. Use [LDFLAGS]=-Ldir to specify its location.])]
)
AM_PATH_XML2(2.7.6, true, AC_MSG_ERROR(No supported version of libxml2 found.))
# Check for libuuid
-
AC_CHECK_LIB([uuid], [uuid_generate
],
+
PKG_CHECK_MODULES([UUID], [uuid
],
[
[
+ LIBS="$LIBS $UUID_LIBS"
AC_DEFINE_UNQUOTED([LTTNG_HAVE_LIBUUID], 1, [Has libuuid support.])
have_libuuid=yes
],
AC_DEFINE_UNQUOTED([LTTNG_HAVE_LIBUUID], 1, [Has libuuid support.])
have_libuuid=yes
],
This page took
0.023178 seconds
and
4
git commands to generate.