From: Alexandre Montplaisir Date: Fri, 4 Nov 2011 09:43:45 +0000 (-0400) Subject: Add check for libuuid to configure.ac X-Git-Tag: v1.9.1~137 X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=2cb765947efd2537aa896d1e82989679b5cc212a Add check for libuuid to configure.ac libuuid is needed by the ring-buffer library. Signed-off-by: Alexandre Montplaisir Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index bc0eb6b6..391cc9ac 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,11 @@ AC_PROG_LIBTOOL AC_CHECK_LIB([dl], [dlopen]) AC_CHECK_LIB([pthread], [pthread_create]) +# Check for libuuid +AC_CHECK_LIB([uuid], [uuid_generate], [], + [AC_MSG_ERROR([Cannot find libuuid. Use [LDFLAGS]=-Ldir to specify its location.])] +) + # Checks for header files. #AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h])