From a1660983b6478cc28b81ced9dc62dbfa6e0d0970 Mon Sep 17 00:00:00 2001 From: Lymia Aluysia Date: Tue, 17 Jan 2017 23:33:43 -0600 Subject: [PATCH] Use clang++ by default. --- configure | 4 ++-- configure.ac | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index a6c440e5..e25cf3ec 100755 --- a/configure +++ b/configure @@ -2934,7 +2934,7 @@ if test -z "$CXX"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + for ac_prog in clang++ g++ 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 @@ -2978,7 +2978,7 @@ fi fi if test -z "$CXX"; then ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + for ac_prog in clang++ g++ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 diff --git a/configure.ac b/configure.ac index d31290bc..553201c3 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ AM_INIT_AUTOMAKE([foreign]) if test -n "${CXXFLAGS}"; then user_set_cxxflags=yes fi -AC_PROG_CXX +AC_PROG_CXX([clang++ g++]) AC_ARG_ENABLE(debug, [--enable-debug Enable debug build (requires debug versions of wxWidgets and libstdc++.]) if test "x${enable_debug}" = "xyes"; then