Bug #9690 Configure tests for CXX=gcc do not allow for paths
Submitted: 6 Apr 2005 19:37 Modified: 12 May 2005 5:10
Reporter: Dean Ellis
Status: Closed
Category:Server: Compiling Severity:S3 (Non-critical)
Version:4.0 OS:
Assigned to: Jim Winstead Target Version:

[6 Apr 2005 19:37] Dean Ellis
Description:
4.0's configure test to see if CXX=gcc does not allow for a full path to gcc, causing it
to avoid the necessary defines (-DDEFINE_CXA_PURE_VIRTUAL, etc).

How to repeat:
CXX=/full/path/to/gcc
configure
examine CXXFLAGS

Suggested fix:
Backport 4.1's test (which greps $CXX for gcc) to 4.0.
[28 Apr 2005 2:14] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/24426
[29 Apr 2005 18:00] Jim Winstead
Fixed in 4.0.25.
[12 May 2005 5:10] Paul DuBois
Noted in 4.0.25 changelog.