Fix: libnuma is prepended to LIBS
[lttng-ust.git] / configure.ac
index e30899643b5e54a8298048fc59152e74d5fcc94d..e59602ba41861991df91f9280e253d8e527bce26 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.022837 seconds and 4 git commands to generate.