Skip to content
Snippets Groups Projects
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
No related merge requests found
...@@ -1263,7 +1263,7 @@ if test "$ac_cv_header_numa_h$ac_cv_header_numaif_h" = "yesyes" ; then ...@@ -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) AC_CHECK_LIB(numa, numa_available,HaveLibNuma=1)
fi fi
AC_DEFINE_UNQUOTED([HAVE_LIBNUMA], [$HaveLibNuma], [Define to 1 if you have libnuma]) 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]) AC_SUBST([CabalHaveLibNuma],[True])
else else
AC_SUBST([CabalHaveLibNuma],[False]) AC_SUBST([CabalHaveLibNuma],[False])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment