gst-arch.m4: fix unaligned detection for x86-64 when cross compiling
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 18 Jan 2010 15:22:01 +0000 (16:22 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 19 Jan 2010 08:20:54 +0000 (09:20 +0100)
commit15d47a6bedef727075895311282d9f5f5186b49d
tree116e362f6f73a92c915e00bbd17ca72a1b996d04
parent358cf5c82f09b315f77f6002c5d95e05f63b0f3b
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