Commit 971c2cbd authored by unknown's avatar unknown

Backport fix from 4.1 for testing whether CXX is gcc. (Bug #9690)


configure.in:
  Use more flexible for test for CXX being gcc.
parent 2422eb73
......@@ -368,7 +368,7 @@ then
# we will gets some problems when linking static programs.
# The following code is used to fix this problem.
if test "$CXX" = "gcc" -o "$CXX" = "ccache gcc"
if echo $CXX | grep gcc > /dev/null 2>&1
then
if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1
then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment