diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-10-26 00:09:34 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-10-26 00:09:51 +0200 |
commit | 2c2e953da4eeb67db33fb7e69bbfaba22b19b224 (patch) | |
tree | d6903ea5ba94752465fade69189d03569523175e /configure.ac | |
parent | 86ccb531a7b0d14942fdcc85700771f54c967e60 (diff) | |
download | gnutls-2c2e953da4eeb67db33fb7e69bbfaba22b19b224.tar.gz |
disable hardware acceleration by default in solaris
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c222113f9e..49b6b5e6c0 100644 --- a/configure.ac +++ b/configure.ac @@ -79,6 +79,7 @@ AM_CONDITIONAL(ENABLE_CXX, test "$use_cxx" != "no") AM_CONDITIONAL(WANT_TEST_SUITE, [test -f tests/suite/mini-eagain2.c]) dnl Detect windows build +use_accel=yes case "$host" in *mingw32* | *mingw64*) have_win=yes @@ -86,6 +87,14 @@ case "$host" in *darwin*) have_macosx=yes ;; + *solaris*) + use_accel=no + AC_MSG_WARN([[ +*** +*** In solaris hardware acceleration is disabled by default due to issues +*** with the assembler. Use --enable-hardware-acceleration to enable it. +*** ]]) + ;; *) have_elf=yes ;; @@ -98,7 +107,7 @@ AM_CONDITIONAL(ELF, test "$have_elf" = yes) dnl Hardware Acceleration AC_ARG_ENABLE(hardware-acceleration, AS_HELP_STRING([--disable-hardware-acceleration], [unconditionally disable hardware acceleration]), - use_accel=$enableval, use_accel=yes) + use_accel=$enableval) hw_accel=none |