Message97883
configure.in contains a check for the compiler in use for Darwin like this:
gcc_version=`gcc -v 2>&1 | grep version | cut -d\ -f3`
This yields in a wrong answer if the output of gcc -v has "version" in another place as well, such as when --enable-version-specific-runtime-libs is enabled. A better way to retrieve the compiler version is to use GCC's -dumpversion argument, which works with Apple's GCC 3.3, 4.0.1 and 4.2.1 and doesn't need additional grepping/cutting, etc.
The attached patch uses -dumpversion to retrieve the GCC version, which allows a successful configure run. |
|
Date |
User |
Action |
Args |
2010-01-16 16:25:12 | grobian | set | recipients:
+ grobian |
2010-01-16 16:25:11 | grobian | set | messageid: <1263659111.9.0.539414753247.issue7714@psf.upfronthosting.co.za> |
2010-01-16 16:25:10 | grobian | link | issue7714 messages |
2010-01-16 16:25:10 | grobian | create | |
|