From 942e6c9ecaf12d2834ca5352c6f51e8419efc57c Mon Sep 17 00:00:00 2001 From: Ben Gamari <bgamari.foss@gmail.com> Date: Tue, 19 Jun 2018 23:16:26 -0400 Subject: [PATCH] configure: Fix libnuma detection logic Test Plan: Validate with numa support Subscribers: rwbarton, thomie, erikd, carter Differential Revision: https://phabricator.haskell.org/D4869 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 622ec96dafa0..1f9840743562 100644 --- a/configure.ac +++ b/configure.ac @@ -1263,7 +1263,7 @@ if test "$ac_cv_header_numa_h$ac_cv_header_numaif_h" = "yesyes" ; then AC_CHECK_LIB(numa, numa_available,HaveLibNuma=1) fi AC_DEFINE_UNQUOTED([HAVE_LIBNUMA], [$HaveLibNuma], [Define to 1 if you have libnuma]) -if test $HaveLibNuma = "YES" ; then +if test $HaveLibNuma = "1" ; then AC_SUBST([CabalHaveLibNuma],[True]) else AC_SUBST([CabalHaveLibNuma],[False]) -- GitLab