aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.seed12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.seed b/configure.seed
index 548cffc83..f3b267904 100644
--- a/configure.seed
+++ b/configure.seed
@@ -52,10 +52,14 @@ else
AC_CHECK_LIB([numa], [numa_available], [LIBNUMA="-lnuma"])
fi
-if test -z `which clang`; then
-CC=gcc
-else
-CC=clang
+MACHINE=`uname -m`
+SYSTEM=`uname -s`
+if test $SYSTEM = "Darwin"; then
+ CC=clang
+fi
+
+if test $ax_cv_PTHREAD_CLANG = "yes"; then
+ CC=clang
fi
HS_LIB=