diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 43ef0cd..91ae7ce 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -88,6 +88,18 @@ case $host_cpu in | |||
88 | ;; | 88 | ;; |
89 | esac | 89 | esac |
90 | 90 | ||
91 | AC_MSG_CHECKING([if .gnu.warning accepts long strings]) | ||
92 | AC_LINK_IFELSE([AC_LANG_SOURCE([[ | ||
93 | extern void SSLv3_method(); | ||
94 | __asm__(".section .gnu.warning.SSLv3_method; .ascii \"SSLv3_method is insecure\" ; .text"); | ||
95 | int main() {return 0;} | ||
96 | ]])], [ | ||
97 | AC_DEFINE(HAS_GNU_WARNING_LONG, 1, [Define if .gnu.warning accepts long strings.]) | ||
98 | AC_MSG_RESULT(yes) | ||
99 | ], [ | ||
100 | AC_MSG_RESULT(no) | ||
101 | ]) | ||
102 | |||
91 | AC_ARG_ENABLE([asm], | 103 | AC_ARG_ENABLE([asm], |
92 | AS_HELP_STRING([--disable-asm], [Disable assembly])) | 104 | AS_HELP_STRING([--disable-asm], [Disable assembly])) |
93 | AM_CONDITIONAL([OPENSSL_NO_ASM], [test "x$enable_asm" = "xno"]) | 105 | AM_CONDITIONAL([OPENSSL_NO_ASM], [test "x$enable_asm" = "xno"]) |