configure: always print ac_cv_c_compiler_gnu
authorMax Horn <max@quendi.de>
Wed, 12 Dec 2012 20:33:53 +0000 (21:33 +0100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Wed, 12 Dec 2012 21:12:30 +0000 (08:12 +1100)
Previously, we only printed whether the used compiler was
detected as gcc if the answer was positive. Now we always
print the result (but the GCC version still is only
printed when we are using GCC)

Signed-off-by: Max Horn <max@quendi.de>
configure.ac

index 1c936b3..abc1640 100644 (file)
@@ -474,7 +474,7 @@ AC_MSG_RESULT([
     Host OS : ............................. ${host_os}
 ])
 
-if test x$ac_cv_c_compiler_gnu = xyes ; then
        echo "    Compiler is GCC : ..................... ${ac_cv_c_compiler_gnu}"
+if test x$ac_cv_c_compiler_gnu = xyes ; then
        echo "    GCC version : ......................... ${GCC_VERSION}"
-       fi
+fi