diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 16ed825..72a49b3 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -80,12 +80,12 @@ CFLAGS="$old_cflags" | |||
80 | 80 | ||
81 | AS_CASE([$host_cpu], | 81 | AS_CASE([$host_cpu], |
82 | [*sparc*], [CPPFLAGS="$CPPFLAGS -D__STRICT_ALIGNMENT"], | 82 | [*sparc*], [CPPFLAGS="$CPPFLAGS -D__STRICT_ALIGNMENT"], |
83 | [*arm*], AS_IF([test "x$BSWAP4" = "xyes"],, | 83 | [*arm*], [host_cpu=arm], |
84 | CPPFLAGS="$CPPFLAGS -D__STRICT_ALIGNMENT"), | ||
85 | [*amd64*], [host_cpu=x86_64 HOSTARCH=intel], | 84 | [*amd64*], [host_cpu=x86_64 HOSTARCH=intel], |
86 | [i?86], [HOSTARCH=intel], | 85 | [i?86], [HOSTARCH=intel], |
87 | [x86_64], [HOSTARCH=intel] | 86 | [x86_64], [HOSTARCH=intel] |
88 | ) | 87 | ) |
88 | AS_IF([test "x$BSWAP4" = "xyes" -a "$host_cpu" = "arm" ],,CPPFLAGS="$CPPFLAGS -D__STRICT_ALIGNMENT") | ||
89 | AM_CONDITIONAL([HOST_CPU_IS_INTEL], [test "x$HOSTARCH" = "xintel"]) | 89 | AM_CONDITIONAL([HOST_CPU_IS_INTEL], [test "x$HOSTARCH" = "xintel"]) |
90 | 90 | ||
91 | AC_MSG_CHECKING([if .gnu.warning accepts long strings]) | 91 | AC_MSG_CHECKING([if .gnu.warning accepts long strings]) |
@@ -105,6 +105,8 @@ AC_ARG_ENABLE([asm], | |||
105 | AM_CONDITIONAL([OPENSSL_NO_ASM], [test "x$enable_asm" = "xno"]) | 105 | AM_CONDITIONAL([OPENSSL_NO_ASM], [test "x$enable_asm" = "xno"]) |
106 | 106 | ||
107 | # Conditionally enable assembly by default | 107 | # Conditionally enable assembly by default |
108 | AM_CONDITIONAL([HOST_ASM_ELF_ARM], | ||
109 | [test "x$HOST_ABI" = "xelf" -a "$host_cpu" = "arm" -a "x$enable_asm" != "xno"]) | ||
108 | AM_CONDITIONAL([HOST_ASM_ELF_X86_64], | 110 | AM_CONDITIONAL([HOST_ASM_ELF_X86_64], |
109 | [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"]) |
110 | AM_CONDITIONAL([HOST_ASM_MACOSX_X86_64], | 112 | AM_CONDITIONAL([HOST_ASM_MACOSX_X86_64], |