Add check for libuuid to configure.ac
[lttng-ust.git] / configure.ac
index 8968d69666b79b6a3dd06294464dd8cbf2474b3e..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])
 
@@ -222,6 +227,6 @@ AC_CONFIG_FILES([
        tests/register_test/Makefile
        tests/libustctl_function_tests/Makefile
        tests/exit-fast/Makefile
-       ust.pc
+       lttng-ust.pc
 ])
 AC_OUTPUT
This page took 0.023843 seconds and 4 git commands to generate.