diff options
author | unknown <jimw@mysql.com> | 2005-04-27 17:14:53 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-04-27 17:14:53 -0700 |
commit | 7a8716d60ec2c7400e6bca989b0d654fa6b72d0a (patch) | |
tree | 1b331749b287934f14100b597141c8c781719983 /configure.in | |
parent | c6bb22936a220aca3d1b608f467f769d8f5cfab7 (diff) | |
download | mariadb-git-7a8716d60ec2c7400e6bca989b0d654fa6b72d0a.tar.gz |
Backport fix from 4.1 for testing whether CXX is gcc. (Bug #9690)
configure.in:
Use more flexible for test for CXX being gcc.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |