summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-05-06 18:12:08 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-05-06 18:12:08 +0000
commitb0dd9cb7966c55be292e50589aac58435d7b5540 (patch)
treeb8452a37889cb7e8f4630f9a24ef356eb11c119f /configure.ac
parent18fb6366a42eb4562d3b483e254d1a12aa872e69 (diff)
downloadmpc-b0dd9cb7966c55be292e50589aac58435d7b5540.tar.gz
tget_version.c: added compiler versions to output
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1001 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b22c3b4..4aa8431 100644
--- a/configure.ac
+++ b/configure.ac
@@ -219,6 +219,9 @@ MPC_PROG_CC_WARNINGCFLAGS([WARNINGCFLAGS])
# Checks for gcc version, result in GCC_VERSION inside config.log, for instance
AX_GCC_VERSION
+AC_DEFINE_UNQUOTED([MPC_GCC], ["$GCC"], [Gcc yes or no])
+AC_DEFINE_UNQUOTED([MPC_CC], ["$CC"], [C compiler])
+AC_DEFINE_UNQUOTED([MPC_GCC_VERSION], ["$GCC_VERSION"], [Version of gcc])
# Checks for library functions with warning flags.
old_cflags=$CFLAGS