Better clang check

This commit is contained in:
Luca
2018-11-01 09:36:11 +01:00
parent 6a4324f451
commit 875b1e0dd5
+8 -4
View File
@@ -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=