mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
configure: enable memalign_hack automatically when needed
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
a724ee6265
commit
9bbd6a4cd8
8
configure
vendored
8
configure
vendored
@ -2823,11 +2823,6 @@ check_header X11/extensions/XvMClib.h
|
||||
|
||||
check_struct dxva2api.h DXVA_PictureParameters wDecodedPictureIndex
|
||||
|
||||
if ! enabled_any memalign memalign_hack posix_memalign malloc_aligned &&
|
||||
enabled_any $need_memalign ; then
|
||||
die "Error, no aligned memory allocator but SSE enabled, disable it or use --enable-memalign-hack."
|
||||
fi
|
||||
|
||||
disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib
|
||||
disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
|
||||
|
||||
@ -3091,6 +3086,9 @@ check_deps $CONFIG_LIST \
|
||||
|
||||
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
|
||||
|
||||
! enabled_any memalign posix_memalign malloc_aligned &&
|
||||
enabled_any $need_memalign && enable memalign_hack
|
||||
|
||||
echo "install prefix $prefix"
|
||||
echo "source path $source_path"
|
||||
echo "C compiler $cc"
|
||||
|
Loading…
x
Reference in New Issue
Block a user