aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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 :