From 3c291b3c61c1857449f26285c34c9ac406407f5d Mon Sep 17 00:00:00 2001 From: Spencer Thomason Date: Thu, 17 Dec 2015 16:33:53 +0000 Subject: [PATCH] Use mtmalloc on Solaris SPARC if available FS-8666 #resolve --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 10d13898b0..2ac890a386 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,9 @@ if test "${enable_64}" = "yes"; then esac fi +# use mtmalloc on Solaris SPARC if available +AS_CASE([$host], [sparc-*-solaris2*], [AC_CHECK_LIB(mtmalloc, malloc)]) + # Whether to follow FHS AC_ARG_ENABLE([fhs],[AS_HELP_STRING([--disable-fhs], [Do Not follow the FHS when placing files and directories (default only when not specifying prefix])],[enable_fhs="$enableval"],[enable_fhs="yes"])