Skip to content

Commit 9714b67

Browse files
committed
configure.ac, configure:
Fix another reference of CC variable
1 parent e4fa74f commit 9714b67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ AC_SUBST(CXX)
879879
preset_cxx="$CXX"
880880
if test -z "$CXX"
881881
then
882-
case "$CC" in
882+
case $(basename "$CC") in
883883
gcc) AC_PATH_TOOL(CXX, [g++], [g++], [notfound]) ;;
884884
cc) AC_PATH_TOOL(CXX, [c++], [c++], [notfound]) ;;
885885
clang|*/clang) AC_PATH_TOOL(CXX, [clang++], [clang++], [notfound]) ;;

0 commit comments

Comments
 (0)