Commit 7a8716d6 authored by unknown's avatar unknown
Browse files

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 c6bb2293
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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