Add check for libuuid to configure.ac
authorAlexandre Montplaisir <alexandre.montplaisir@polymtl.ca>
Fri, 4 Nov 2011 09:43:45 +0000 (05:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 4 Nov 2011 09:43:45 +0000 (05:43 -0400)
libuuid is needed by the ring-buffer library.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac

index bc0eb6b667eb8b84ea7baa9be0707a0e5cf38a5a..391cc9ac5de1b886b5f8512cfe3e65131a28b642 100644 (file)
@@ -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])
 
This page took 0.024767 seconds and 4 git commands to generate.