mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
Use clang++ by default.
This commit is contained in:
@@ -2934,7 +2934,7 @@ if test -z "$CXX"; then
|
|||||||
CXX=$CCC
|
CXX=$CCC
|
||||||
else
|
else
|
||||||
if test -n "$ac_tool_prefix"; then
|
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
|
do
|
||||||
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
# 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
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
||||||
@@ -2978,7 +2978,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
if test -z "$CXX"; then
|
if test -z "$CXX"; then
|
||||||
ac_ct_CXX=$CXX
|
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
|
do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ AM_INIT_AUTOMAKE([foreign])
|
|||||||
if test -n "${CXXFLAGS}"; then
|
if test -n "${CXXFLAGS}"; then
|
||||||
user_set_cxxflags=yes
|
user_set_cxxflags=yes
|
||||||
fi
|
fi
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX([clang++ g++])
|
||||||
AC_ARG_ENABLE(debug, [--enable-debug Enable debug build (requires debug
|
AC_ARG_ENABLE(debug, [--enable-debug Enable debug build (requires debug
|
||||||
versions of wxWidgets and libstdc++.])
|
versions of wxWidgets and libstdc++.])
|
||||||
if test "x${enable_debug}" = "xyes"; then
|
if test "x${enable_debug}" = "xyes"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user