clang build fixes
This commit is contained in:
parent
a260b75db5
commit
ce0189dc1e
|
@ -3292,7 +3292,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
for ac_prog in gcc clang suncc aCC xlc_r gxlc xlC_r xlC cl.exe
|
||||
for ac_prog in gcc clang suncc aCC xlc_r gxlc cl
|
||||
do
|
||||
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
||||
|
@ -3336,7 +3336,7 @@ fi
|
|||
fi
|
||||
if test -z "$CC"; then
|
||||
ac_ct_CC=$CC
|
||||
for ac_prog in gcc clang suncc aCC xlc_r gxlc xlC_r xlC cl.exe
|
||||
for ac_prog in gcc clang suncc aCC xlc_r gxlc cl
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
|
@ -4143,7 +4143,7 @@ if test -z "$CXX"; then
|
|||
CXX=$CCC
|
||||
else
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
for ac_prog in g++ c++ clang++ sunCC aCC xlc++_r gxlc++ xlC_r xlC cl.exe
|
||||
for ac_prog in g++ clang++ sunCC aCC xlc++_r gxlc++ ixlc icc owcc cl KCC cfront c++
|
||||
do
|
||||
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
||||
|
@ -4187,7 +4187,7 @@ fi
|
|||
fi
|
||||
if test -z "$CXX"; then
|
||||
ac_ct_CXX=$CXX
|
||||
for ac_prog in g++ c++ clang++ sunCC aCC xlc++_r gxlc++ xlC_r xlC cl.exe
|
||||
for ac_prog in g++ clang++ sunCC aCC xlc++_r gxlc++ ixlc icc owcc cl KCC cfront c++
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
|
|
|
@ -28,8 +28,8 @@ AH_BOTTOM([#include "core/fixups.h"])
|
|||
dnl ###################
|
||||
dnl Checks for programs
|
||||
dnl ###################
|
||||
AC_PROG_CC([gcc clang suncc aCC xlc_r gxlc xlC_r xlC cl.exe])
|
||||
AC_PROG_CXX([g++ c++ clang++ sunCC aCC xlc++_r gxlc++ xlC_r xlC cl.exe])
|
||||
AC_PROG_CC([gcc clang suncc aCC xlc_r gxlc cl])
|
||||
AC_PROG_CXX([g++ clang++ sunCC aCC xlc++_r gxlc++ ixlc icc owcc cl KCC cfront c++])
|
||||
AC_PROG_RANLIB
|
||||
AC_PROG_YACC
|
||||
AC_PROG_LN_S
|
||||
|
|
|
@ -129,7 +129,7 @@ protected:
|
|||
|
||||
// TODO: make use of 'explicit' more portable here, and/or figure out why
|
||||
// this doesn't work on so many compilers
|
||||
#if HAVE_GCC || HAVE_IBM_XLC || HAVE_IBM_GXLC || HAVE_ORACLE_SUNCC
|
||||
#if 1 //HAVE_GCC || HAVE_CLANG || HAVE_IBM_XLC || HAVE_IBM_GXLC || HAVE_ORACLE_SUNCC
|
||||
# define TSS_BEGIN_EXCEPTION_EXPLICIT
|
||||
#else
|
||||
# define TSS_BEGIN_EXCEPTION_EXPLICIT explicit
|
||||
|
|
|
@ -165,7 +165,7 @@
|
|||
# define COMP COMP_SUNPRO
|
||||
# define IS_SUNPRO 1
|
||||
|
||||
# elif defined(HAVE_IBM_XL_C || HAVE_IBM_GXLC)
|
||||
# elif defined(HAVE_IBM_XL_C) || defined(HAVE_IBM_GXLC)
|
||||
# define COMP COMP_XL_C
|
||||
# define IS_XL_C 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue