diff options
Diffstat (limited to 'm4/align.m4')
-rw-r--r-- | m4/align.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/align.m4 b/m4/align.m4 index 733afa6d4..25e1ee2d4 100644 --- a/m4/align.m4 +++ b/m4/align.m4 | |||
@@ -13,7 +13,7 @@ AC_DEFUN([AC_UNALIGNED_64_ACCESS], | |||
13 | [AC_CACHE_CHECK([whether unaligned 64-bit access works], | 13 | [AC_CACHE_CHECK([whether unaligned 64-bit access works], |
14 | ac_cv_unaligned_64_access, | 14 | ac_cv_unaligned_64_access, |
15 | [ | 15 | [ |
16 | AC_RUN_IFELSE(AC_LANG_PROGRAM([[struct S { int a,b,c;};]], | 16 | AC_RUN_IFELSE([AC_LANG_PROGRAM([[struct S { int a,b,c;};]], |
17 | [[struct S s = {0,0,0}; long long * p = (long long *) &s.b; | 17 | [[struct S s = {0,0,0}; long long * p = (long long *) &s.b; |
18 | void *bp = malloc (50); | 18 | void *bp = malloc (50); |
19 | long long x = *p; | 19 | long long x = *p; |
@@ -22,7 +22,7 @@ AC_DEFUN([AC_UNALIGNED_64_ACCESS], | |||
22 | return (int) x*y;]]), | 22 | return (int) x*y;]]), |
23 | ac_cv_unaligned_64_access=yes, | 23 | ac_cv_unaligned_64_access=yes, |
24 | ac_cv_unaligned_64_access=no, | 24 | ac_cv_unaligned_64_access=no, |
25 | ac_cv_unaligned_64_access=no) | 25 | ac_cv_unaligned_64_access=no]) |
26 | ]) | 26 | ]) |
27 | case "$ac_cv_unaligned_64_access" in | 27 | case "$ac_cv_unaligned_64_access" in |
28 | *yes) value=1;; | 28 | *yes) value=1;; |