Skip to content

Commit

Permalink
Detect clang in cc version.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Dec 31, 2016
1 parent 50dca6d commit f12d3dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ case "$cc" in
esac
case `$cc -v 2>&1` in
*gcc*) gcc=1 ;;
*clang*) gcc=1 ;;
esac

show $cc -c $test.c
Expand Down

0 comments on commit f12d3dc

Please sign in to comment.