Add check for libuuid to configure.ac
[lttng-ust.git] / 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.023136 seconds and 4 git commands to generate.