summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-08 12:28:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:58 -0500
commit26c789eb6a3a660f86a57dfa8fabf40f0b238c83 (patch)
tree607c488cb7ef816eea10876c000ea7d9446fa35e /source4
parentebc1533a2054cb1da50b9bf71c30812cd5b766b9 (diff)
downloadsamba-26c789eb6a3a660f86a57dfa8fabf40f0b238c83.tar.gz
samba-26c789eb6a3a660f86a57dfa8fabf40f0b238c83.tar.bz2
samba-26c789eb6a3a660f86a57dfa8fabf40f0b238c83.zip
r18261: print out the version of gcc
metze (This used to be commit 655e400127d828104718ab87a0bc118dbf1a471f)
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