Improve compiler string shown in version()
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 6 May 2011 19:14:53 +0000 (22:14 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 6 May 2011 20:01:50 +0000 (23:01 +0300)
commit8dd2ede3f82505c3fd041c1953524305df0732d1
treee0c5b6c261d8bb613964398b2b310236611d089a
parentd2088ae949993ad8e3aabc3b6a9cd77aa5cac957
Improve compiler string shown in version()

With some compilers such as Clang and ICC emulating GCC, using a
version string of the form "GCC $version" can be quite misleading.
Also, a great while ago, the version output from gcc --version started
including the string "gcc", so it is redundant to repeat that.  In
order to support ancient GCC versions, we now prefix the result with
"GCC " only if the version output does not start with a letter.
configure
configure.in