Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion config/cs_auto_flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -751,10 +751,19 @@ elif test "x$cs_gxx" = "xclang"; then
cxxflags_default_omp="-fopenmp=libomp"

cs_clangpp_version_number=`echo $cs_ac_cxx_version | sed -e "s/^.*version //"`
case "$cs_clangpp_version_number" in
case "$cs_ac_cxx_version" in
*Apple*)
# Apple clang version numbers do not match LLVM ones, and the
# default C++ standard remains C++14 in recent versions.
cxxflags_default="$cxxflags_default -std=c++17"
;;
*)
case "$cs_clangpp_version_number" in
14* | 15*)
cxxflags_default="$cxxflags_default -std=c++17"
;;
esac
;;
esac
case "$cs_clangpp_version_number" in
14* | 15* | 16* | 17* | 18* | 19* | 2*)
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ sys.exit(0)]"
fi

# Test for PyQt6 developer tools
if test "x$cs_have_gui" = "xPyQt5" ; then
if test "x$cs_have_gui" = "xPyQt6" ; then

# Try to find PyQt6 tools through Python interpreter
prog="[import os, sys
Expand Down