diff options
| -rw-r--r-- | configure.ac | 4 | ||||
| -rw-r--r-- | crypto/Makefile.am | 3 | ||||
| -rw-r--r-- | m4/check-os-options.m4 | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 2d0ad63..e584113 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -111,6 +111,10 @@ AM_CONDITIONAL([HOST_ASM_ELF_X86_64], | |||
| 111 | [test "x$HOST_ABI" = "xelf" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) | 111 | [test "x$HOST_ABI" = "xelf" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) |
| 112 | AM_CONDITIONAL([HOST_ASM_MACOSX_X86_64], | 112 | AM_CONDITIONAL([HOST_ASM_MACOSX_X86_64], |
| 113 | [test "x$HOST_ABI" = "xmacosx" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) | 113 | [test "x$HOST_ABI" = "xmacosx" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) |
| 114 | AM_CONDITIONAL([HOST_ASM_MASM_X86_64], | ||
| 115 | [test "x$HOST_ABI" = "xmasm" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) | ||
| 116 | AM_CONDITIONAL([HOST_ASM_MINGW64_X86_64], | ||
| 117 | [test "x$HOST_ABI" = "xmingw64" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) | ||
| 114 | 118 | ||
| 115 | # Check if time_t is sized correctly | 119 | # Check if time_t is sized correctly |
| 116 | AC_CHECK_SIZEOF([time_t], [time.h]) | 120 | AC_CHECK_SIZEOF([time_t], [time.h]) |
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index ce846b4..d2c7431 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
| @@ -102,9 +102,6 @@ libcrypto_la_CPPFLAGS += -DOPENSSL_NO_HW_PADLOCK | |||
| 102 | if OPENSSL_NO_ASM | 102 | if OPENSSL_NO_ASM |
| 103 | libcrypto_la_CPPFLAGS += -DOPENSSL_NO_ASM | 103 | libcrypto_la_CPPFLAGS += -DOPENSSL_NO_ASM |
| 104 | else | 104 | else |
| 105 | if HOST_WIN | ||
| 106 | libcrypto_la_CPPFLAGS += -DOPENSSL_NO_ASM | ||
| 107 | endif | ||
| 108 | endif | 105 | endif |
| 109 | 106 | ||
| 110 | if OPENSSLDIR_DEFINED | 107 | if OPENSSLDIR_DEFINED |
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4 index 9fc0faf..445bd74 100644 --- a/m4/check-os-options.m4 +++ b/m4/check-os-options.m4 | |||
| @@ -101,6 +101,7 @@ char buf[1]; getentropy(buf, 1); | |||
| 101 | ;; | 101 | ;; |
| 102 | *mingw*) | 102 | *mingw*) |
| 103 | HOST_OS=win | 103 | HOST_OS=win |
| 104 | HOST_ABI=mingw64 | ||
| 104 | BUILD_NC=no | 105 | BUILD_NC=no |
| 105 | CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_POSIX -D_POSIX_SOURCE -D__USE_MINGW_ANSI_STDIO" | 106 | CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_POSIX -D_POSIX_SOURCE -D__USE_MINGW_ANSI_STDIO" |
| 106 | CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS" | 107 | CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS" |
