summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/build/m4/check_cc.m46
1 files changed, 6 insertions, 0 deletions
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