diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-01-18 16:22:01 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-01-19 09:20:54 +0100 |
commit | 15d47a6bedef727075895311282d9f5f5186b49d (patch) | |
tree | 116e362f6f73a92c915e00bbd17ca72a1b996d04 | |
parent | 358cf5c82f09b315f77f6002c5d95e05f63b0f3b (diff) |
gst-arch.m4: fix unaligned detection for x86-64 when cross compiling
Commit 4221e9dc (amd64/x86_64 allows unaligned memory access too) added
x86-64 to the unaligned access whitelist, but missed the trailing
wildcards, so the test never succeeds (host is something like
x86_64-unknown-linux-gnu).
When building natively, this isn't a big deal as the AC_TRY_RUN test
correctly detects it, but that doesn't work when cross compiling so
the build dies with:
configure: error: cannot run test program while cross compiling
See `config.log' for more details.
Fix it by adding the trailing wildcards.
Fixes bug #607317.
-rw-r--r-- | m4/gst-arch.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gst-arch.m4 b/m4/gst-arch.m4 index f40db1d..c136c95 100644 --- a/m4/gst-arch.m4 +++ b/m4/gst-arch.m4 @@ -91,7 +91,7 @@ AC_DEFUN([AG_GST_UNALIGNED_ACCESS], [ _AS_ECHO_N([(blacklisted) ]) as_cv_unaligned_access=no ;; - i?86*|x86_64|amd64|powerpc*|m68k*|cris*) + i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*) _AS_ECHO_N([(whitelisted) ]) as_cv_unaligned_access=yes ;; |