From 2cb765947efd2537aa896d1e82989679b5cc212a Mon Sep 17 00:00:00 2001 From: Alexandre Montplaisir Date: Fri, 4 Nov 2011 05:43:45 -0400 Subject: [PATCH] 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 --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) 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]) -- 2.34.1