[FFmpeg-devel] [PATCH] configure: fix target_os haiku check and move it to the appropriate section.

Clément Bœsch ubitux at gmail.com
Tue Oct 4 15:24:12 CEST 2011


From: Clément Bœsch <clement.boesch at smartjog.com>

The '==' was wrong and likely to fail all the time.
---
 configure |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index fdc0fe3..ff27688 100755
--- a/configure
+++ b/configure
@@ -2491,6 +2491,8 @@ enabled spic && enable pic
 # OS specific
 case $target_os in
     haiku)
+        disable memalign
+        disable posix_memalign
         prefix_default="/boot/common"
         network_extralibs="-lnetwork"
         host_libs=
@@ -3272,11 +3274,6 @@ 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
 
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list