summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-09-27 17:03:43 +0200
committerunknown <msvensson@neptunus.(none)>2005-09-27 17:03:43 +0200
commitcd7942d4df34babf3cb309b229937b5601a6c2f5 (patch)
tree54ac8529489ce742bfc89b93376535d5bd5d77d2 /config
parentdd37fca2693b2a8230a3aaf8be6be6480c0722ed (diff)
downloadmariadb-git-cd7942d4df34babf3cb309b229937b5601a6c2f5.tar.gz
Bug #12526 yassl: Crashes in "integer.cpp"
- Improve detection of when to disable inlining for integer.cpp config/ac-macros/yassl.m4: Use variable $host_cpu the check for sparc. Print a message when inlining is disabled
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/yassl.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/config/ac-macros/yassl.m4 b/config/ac-macros/yassl.m4
index 7af39db48be..972e4530dab 100644
--- a/config/ac-macros/yassl.m4
+++ b/config/ac-macros/yassl.m4
@@ -23,13 +23,14 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
# System specific checks
yassl_integer_extra_cxxflags=""
- case $SYSTEM_TYPE--$CXX_VERSION in
- sparc*solaris*--*Sun*C++*5.6*)
+ case $host_cpu--$CXX_VERSION in
+ sparc*--*Sun*C++*5.6*)
# Disable inlining when compiling taocrypt/src/integer.cpp
yassl_integer_extra_cxxflags="+d"
+ AC_MSG_NOTICE([disabling inlining for yassl/taocrypt/src/integer.cpp])
;;
esac
- AC_SUBST([yassl_integer_extra_cxxflags])
+ AC_SUBST([yassl_integer_extra_cxxflags])
else
yassl_dir=""