Comment 2 for bug 992124

su_v (suv-lp) wrote :

Workaround used for 'configure.ac' (not a real fix!):

=== modified file 'configure.ac'
--- configure.ac 2012-04-14 20:28:04 +0000
+++ configure.ac 2012-04-30 17:56:22 +0000
@@ -112,8 +112,8 @@

  # Don't pass CXXFLAGS to the following CXX command as some
  # of them can't be specified along with '-v'.
- cc_version=["`$CXX -v 2>&1 </dev/null |grep 'gcc version' |\
- sed 's/.*gcc version \([-a-z0-9\.]*\).*/\1/'`"]
+ cc_version=["`$CXX -v 2>&1 </dev/null |grep ' version' |\
+ sed 's/.* version \([-a-z0-9\.]*\).*/\1/'`"]

  AC_MSG_RESULT([$cc_version])