summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-05 04:31:03 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-02 02:28:55 -0500
commit7b2cf80717a6b16e3f6135c6c6905bd5d3bbde72 (patch)
tree7a55d9a8e92a6c0cad8c7bef93ffbe9dff38d13d /configure.ac
parentdde92d14a0dc64a1d3025ab97773bed72727b006 (diff)
downloadhaskell-wip/rts-configure-libdw-libnuma.tar.gz
Move lib{numa,dw} defines to RTS configurewip/rts-configure-libdw-libnuma
Clean up the m4 to handle the auto case always and be more consistent. Also simplify the CPP --- we should always have both headers if we are using libnuma. "side effects" (AC_DEFINE, and AC_SUBST) are removed from the macros to better separate searching from actions taken based on search results. This might seem overkill now, but will make shuffling logic between configure scripts easier later.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index be88deb270..4a39a9a314 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1124,7 +1124,14 @@ AC_SUBST([UseLibffiForAdjustors])
dnl ** Other RTS features
dnl --------------------------------------------------------------
FP_FIND_LIBDW
+AC_SUBST(UseLibdw)
+AC_SUBST(LibdwLibDir)
+AC_SUBST(LibdwIncludeDir)
+
FP_FIND_LIBNUMA
+AC_SUBST(UseLibNuma)
+AC_SUBST(LibNumaLibDir)
+AC_SUBST(LibNumaIncludeDir)
dnl ** Documentation
dnl --------------------------------------------------------------