From 607d346e969776e6aee8042590f588ba66831b62 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sun, 15 Apr 2007 15:28:29 +0100 Subject: autoconf 2.59 mishandles AC_DEFINE([ASMALIGN(ZEROBITS)], ...). Work around it. --- configure.ac | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 952c55327..b43bd1b8f 100644 --- a/configure.ac +++ b/configure.ac @@ -2084,10 +2084,14 @@ dnl --------------------------------------------- dnl ASM ALIGN is power of two ? dnl Used by internal FFmpeg and Planar postprocess dnl --------------------------------------------- -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ asm (".align 3"); ]])],[ - AC_DEFINE([ASMALIGN(ZEROBITS)], [".align " #ZEROBITS "\n\t"], "asmalign power of two") -],[ - AC_DEFINE([ASMALIGN(ZEROBITS)], [".align 1<<" #ZEROBITS "\n\t"], "asmalign power of two") +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ asm (".align 3"); ]])], + AC_DEFINE([ASMALIGN_1SLN], [1], [define if '.align n' means alignment to (1<