1 AC_INIT([lttng-tools], [0.0.1], [david.goulet@polymtl.ca], [http://lttng.org])
2 AC_CONFIG_AUX_DIR([config])
3 AC_CONFIG_MACRO_DIR([config])
8 sys/types.h unistd.h fcntl.h string.h pthread.h limits.h \
9 signal.h stdlib.h sys/un.h sys/socket.h stdlib.h stdio.h \
10 getopt.h sys/ipc.h sys/shm.h popt.h grp.h \
14 AC_CHECK_LIB([pthread], [pthread_create], [],
15 [AC_MSG_ERROR([Cannot find libpthread. Use [LDFLAGS]=-Ldir to specify its location.])]
19 AC_CHECK_LIB([popt], [poptGetContext], [],
20 [AC_MSG_ERROR([Cannot find libpopt. Use [LDFLAGS]=-Ldir to specify its location.])]
24 AC_CHECK_LIB([uuid], [uuid_generate], [],
25 [AC_MSG_ERROR([Cannot find libuuid. Use [LDFLAGS]=-Ldir to specify its location.])]
29 AC_CHECK_LIB([ustctl], [ustctl_connect_pid], [],
30 [AC_MSG_ERROR([Cannot find libustctl. Use [LDFLAGS]=-Ldir to specify its location.])]
34 AC_CHECK_LIB([urcu], [synchronize_rcu], [],
35 [AC_MSG_ERROR([Cannot find liburcu. Use [LDFLAGS]=-Ldir to specify its location.])]
37 AC_CHECK_DECL([cds_list_add], [],
38 [AC_MSG_ERROR([liburcu 0.5.4 or newer is needed])], [[#include <urcu/list.h>]]
41 CFLAGS="-Wall $CFLAGS -g -fno-strict-aliasing"
50 liblttsessiondcomm/Makefile
54 tests/ltt-sessiond/Makefile