diff options
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 81433c8..8f174ad 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -57,6 +57,14 @@ case $host_cpu in | |||
57 | *sparc*) | 57 | *sparc*) |
58 | CFLAGS="$CFLAGS -D__STRICT_ALIGNMENT" | 58 | CFLAGS="$CFLAGS -D__STRICT_ALIGNMENT" |
59 | ;; | 59 | ;; |
60 | *arm*) | ||
61 | old_cflags=$CFLAGS | ||
62 | CFLAGS="$old_cflags -I$srcdir/include" | ||
63 | AC_TRY_COMPILE([#include "$srcdir/crypto/modes/modes_lcl.h"], | ||
64 | [int a = 0; BSWAP4(a);], | ||
65 | CFLAGS="$old_cflags", | ||
66 | CFLAGS="$old_cflags -D__STRICT_ALIGNMENT") | ||
67 | ;; | ||
60 | esac | 68 | esac |
61 | 69 | ||
62 | AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin]) | 70 | AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin]) |