From: <sl...@ke...> - 2010-01-19 08:21:25
|
Module: common Branch: master Commit: 15d47a6bedef727075895311282d9f5f5186b49d URL: http://cgit.freedesktop.org/gstreamer/common/commit/?id=15d47a6bedef727075895311282d9f5f5186b49d Author: Peter Korsgaard <ja...@su...> Date: Mon Jan 18 16:22:01 2010 +0100 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. --- 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 ;; |