From 45ad0c3946623bc8635d6e3964d9ebb1555a3df6 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 14 May 2018 10:17:51 -0400 Subject: Ensure that RTS cabal file reflects dependency on libnuma Test Plan: Validate with Hadrian and `libnuma` support Reviewers: snowleopard, hvr, erikd, simonmar Subscribers: izgzhen, alpmestan, thomie, carter Differential Revision: https://phabricator.haskell.org/D4616 --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a8b8681a36..1f4912855a 100644 --- a/configure.ac +++ b/configure.ac @@ -1258,6 +1258,12 @@ 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 + AC_SUBST([CabalHaveLibNuma],[True]) +else + AC_SUBST([CabalHaveLibNuma],[False]) +fi + dnl ** Documentation dnl -------------------------------------------------------------- -- cgit v1.2.1