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
This commit is contained in:
Davi Arnaut 2010-07-06 15:36:31 -03:00
parent 46a3afb331
commit e087f69dc5

View File

@ -475,7 +475,16 @@ if test "$GCC" != "yes" || expr "$CC" : ".*icc.*"
then then
ABI_CHECK="" ABI_CHECK=""
else 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 fi
AC_SUBST(ABI_CHECK) AC_SUBST(ABI_CHECK)