Fix: libnuma is prepended to LIBS
[lttng-ust.git] / configure.ac
index 86b1d052393846c8a7da13df2b5e1630cd602b09..b62542287f6fbbaedf7421f288c849253c40eb22 100644 (file)
@@ -404,7 +404,9 @@ AE_IF_FEATURE_ENABLED([java-agent-all], [
 
 # The numa integration requires libnuma
 AE_IF_FEATURE_ENABLED([numa], [
-  AC_CHECK_LIB([numa], [numa_available], [], [
+  AC_CHECK_LIB([numa], [numa_available], [
+    AC_DEFINE([HAVE_LIBNUMA], [1], [Define to 1 if libnuma is available.])
+  ], [
     AC_MSG_ERROR([dnl
 libnuma is not available. Please either install it (e.g. libnuma-dev) or use
 [LDFLAGS]=-Ldir to specify the right location, or use --disable-numa configure
This page took 0.02356 seconds and 4 git commands to generate.