diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-10-21 04:25:19 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-10-21 04:25:19 +0000 |
commit | da1f0e9e8479741487a59ad68198262c3730081e (patch) | |
tree | 2f764fcd4574ddefd62ad0da44b1bec64df685dd /configure.ac | |
parent | 19b3adf57987584096ca59dc9852fb9573ee1715 (diff) |
add gcc version information to Configuration, and warn when building with v4.5.1 which has a buggy optimizer (resolves bug #266)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9d28d21fa..cabb50706 100644 --- a/configure.ac +++ b/configure.ac @@ -208,6 +208,8 @@ AC_PROG_CC AC_PROG_CXX AC_PROG_INSTALL +CVC4_GCC_VERSION + # [chris 8/24/2010] The user *must* specify --with-cln to get CLN # (and, thus, opt in to the GPL dependency). @@ -1062,3 +1064,10 @@ Install into : $prefix ${licensewarn}Now just type make, followed by make check or make install, as you like. EOF + +if test -n "$CVC4_INTEGRITY_WARNING"; then + AC_MSG_WARN([]) + AC_MSG_WARN($CVC4_INTEGRITY_WARNING) + AC_MSG_WARN([Please run "make check" after building to ensure integrity of the binary and library]) + AC_MSG_WARN([]) +fi |