From 7a8716d60ec2c7400e6bca989b0d654fa6b72d0a Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 27 Apr 2005 17:14:53 -0700 Subject: Backport fix from 4.1 for testing whether CXX is gcc. (Bug #9690) configure.in: Use more flexible for test for CXX being gcc. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index dbde72b8d4e..d092921d10d 100644 --- a/configure.in +++ b/configure.in @@ -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 -- cgit v1.2.1