Author: metze Date: 2006-09-08 12:28:11 +0000 (Fri, 08 Sep 2006) New Revision: 18261
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18261 Log: print out the version of gcc metze Modified: branches/SAMBA_4_0/source/build/m4/check_cc.m4 Changeset: Modified: branches/SAMBA_4_0/source/build/m4/check_cc.m4 =================================================================== --- branches/SAMBA_4_0/source/build/m4/check_cc.m4 2006-09-08 11:42:47 UTC (rev 18260) +++ branches/SAMBA_4_0/source/build/m4/check_cc.m4 2006-09-08 12:28:11 UTC (rev 18261) @@ -14,6 +14,12 @@ 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