summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-06-21 16:36:23 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-06-21 16:36:23 +0200
commitad3ac1d507a9c99795f4f2a0c468fc4658f44788 (patch)
treef005ce385c3ba4bbf7962745903ac7a3a0ee0904 /configure
parent06724c5f5d07c4fee271832349d8f562db8b409b (diff)
build system: disable memalign on haiku, its not reliable there.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 84d8feba1b..c9eedaf974 100755
--- a/configure
+++ b/configure
@@ -3148,6 +3148,11 @@ check_deps $CONFIG_LIST \
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
+if test $target_os == "haiku"; then
+ disable memalign
+ disable posix_memalign
+fi
+
! enabled_any memalign posix_memalign malloc_aligned &&
enabled_any $need_memalign && enable memalign_hack