From 26c789eb6a3a660f86a57dfa8fabf40f0b238c83 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 8 Sep 2006 12:28:11 +0000 Subject: r18261: print out the version of gcc metze (This used to be commit 655e400127d828104718ab87a0bc118dbf1a471f) --- source4/build/m4/check_cc.m4 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/build/m4') diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index 9b3c39141c..2b222f9f4b 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -14,6 +14,12 @@ if test x"$CC" = x""; then AC_MSG_ERROR([Please Install gcc from http://gcc.gnu.org/]) fi +if test x"$GCC" = x"yes" ; then + AC_MSG_CHECKING([for version of gcc]) + GCC_VERSION=`$CC -dumpversion` + AC_MSG_RESULT(${GCC_VERSION}) +fi + # # Set the debug symbol option if we have # --enable-*developer or --enable-debug -- cgit