Skip to content

Commit 4f8cf05

Browse files
author
SendaoYan
committed
Make configure found g++ correctly
1 parent 8000a9d commit 4f8cf05

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

configure

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,10 +1137,10 @@ preset_cxx="$CXX"
11371137
if test -z "$CXX"
11381138
then
11391139
case "$ac_cv_cc_name" in
1140-
gcc) AC_PATH_TOOL([CXX], [g++], [g++], [notfound]) ;;
1141-
cc) AC_PATH_TOOL([CXX], [c++], [c++], [notfound]) ;;
1142-
clang) AC_PATH_TOOL([CXX], [clang++], [clang++], [notfound]) ;;
1143-
icc) AC_PATH_TOOL([CXX], [icpc], [icpc], [notfound]) ;;
1140+
gcc) AC_PATH_TOOL([CXX], [g++], [notfound]) ;;
1141+
cc) AC_PATH_TOOL([CXX], [c++], [notfound]) ;;
1142+
clang) AC_PATH_TOOL([CXX], [clang++], [notfound]) ;;
1143+
icc) AC_PATH_TOOL([CXX], [icpc], [notfound]) ;;
11441144
esac
11451145
if test "$CXX" = "notfound"
11461146
then

0 commit comments

Comments
 (0)