From 15d47a6bedef727075895311282d9f5f5186b49d Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 18 Jan 2010 16:22:01 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) 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 ;; -- 2.34.1