[FFmpeg-devel,2/2] configure: djgpp: do not disable memalign when using custom_allocator

Submitted by Peter Ross on Dec. 8, 2018, 10:28 p.m.

Details

Message ID 3ee018422a3260f35483d382506d374886d605df.1544308047.git.pross@xvid.org
State New
Headers show

Commit Message

Peter Ross Dec. 8, 2018, 10:28 p.m.
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index 4d7b2b37c3..99c4c05347 100755
--- a/configure
+++ b/configure
@@ -6809,7 +6809,7 @@  haiku)
     disable posix_memalign
     ;;
 *-dos|freedos|opendos)
-    if test_cpp_condition sys/version.h "defined(__DJGPP__) && __DJGPP__ == 2 && __DJGPP_MINOR__ == 5"; then
+    if test -z "$custom_allocator" && test_cpp_condition sys/version.h "defined(__DJGPP__) && __DJGPP__ == 2 && __DJGPP_MINOR__ == 5"; then
         disable memalign
     fi
     ;;