Commit 942e6c9e authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

configure: Fix libnuma detection logic

Test Plan: Validate with numa support

Subscribers: rwbarton, thomie, erikd, carter

Differential Revision: https://phabricator.haskell.org/D4869
parent e839ee2f
......@@ -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])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment