diff options
author | Matt Turner <mattst88@gmail.com> | 2012-02-11 23:21:45 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-02-11 23:47:10 -0500 |
commit | 46fc4eb234f5c4f281c2901ea7514ff69e8670a8 (patch) | |
tree | 09c5a4e82dd26602afa9f82e21666afc0aea8966 | |
parent | e5555d7a749c90288463ed1c294f58963c607e52 (diff) |
Use AC_LANG_SOURCE for iwMMXt configure program
Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 2eded705..9f81b11d 100644 --- a/configure.ac +++ b/configure.ac @@ -551,7 +551,7 @@ have_iwmmxt_intrinsics=no AC_MSG_CHECKING(whether to use ARM IWMMXT intrinsics) xserver_save_CFLAGS=$CFLAGS CFLAGS="$IWMMXT_CFLAGS $CFLAGS" -AC_COMPILE_IFELSE([ +AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #ifndef __arm__ #error "IWMMXT is only available on ARM" #endif @@ -562,11 +562,11 @@ AC_COMPILE_IFELSE([ int main () { union { __m64 v; - [char c[8];] + char c[8]; } a = { .c = {1, 2, 3, 4, 5, 6, 7, 8} }; int b = 4; __m64 c = _mm_srli_si64 (a.v, b); -}], have_iwmmxt_intrinsics=yes) +}]])], have_iwmmxt_intrinsics=yes) CFLAGS=$xserver_save_CFLAGS AC_ARG_ENABLE(arm-iwmmxt, |