From 5bf6be7eb80991c7525da2485599ad8c972fbbb5 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Fri, 30 Jun 2017 11:32:23 -0400 Subject: Improved checks on libnuma --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1507cc43b..eec6878f5 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,7 @@ SHORT_MACHINE=`uname -m | cut -b1-3` if test $SHORT_MACHINE = "arm"; then LIBNUMA="" else - LIBNUMA="-lnuma" + AC_CHECK_LIB([numa], [numa_available], [LIBNUMA="-lnuma"]) fi if test -f $PCAP_HOME/libpcap/libpcap.a; then : -- cgit v1.2.3