summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-06 15:36:31 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-06 15:36:31 -0300
commit04dd8ed0eb5f06f670f6e455b06c1173988a8f11 (patch)
tree78a2301cba59400f1052855a75768da32d7ac56a /configure.in
parentcd41cd953d9d76b4b9c13fd745856d5023f12d71 (diff)
downloadmariadb-git-04dd8ed0eb5f06f670f6e455b06c1173988a8f11.tar.gz
Bug#52514: mysql 5.1 do_abi_check does not compile w/ gcc4.5
due to GCC preprocessor change Temporary workaround: disable abi_check if GCC >= 4.5
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 539d597fd07..d47bf975fdd 100644
--- a/configure.in
+++ b/configure.in
@@ -475,7 +475,16 @@ if test "$GCC" != "yes" || expr "$CC" : ".*icc.*"
then
ABI_CHECK=""
else
- ABI_CHECK="abi_check"
+ # Workaround GCC >= 4.5 - See Bug#52514
+ case `$CC -dumpversion` in
+ [[4-9]].[[5-9]]*)
+ AC_MSG_WARN([ABI check disabled (GCC >= 4.5)])
+ ABI_CHECK=""
+ ;;
+ *)
+ ABI_CHECK="abi_check"
+ ;;
+ esac
fi
AC_SUBST(ABI_CHECK)