diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 45ebdf457..ce672cf46 100644 --- a/configure.ac +++ b/configure.ac @@ -2063,13 +2063,13 @@ AC_DEFINE_UNQUOTED(restrict, $restrict, [restrict keyword]) dnl --------------------------------------------- dnl ASM ALIGN is power of two ? +dnl Used by internal FFmpeg and Planar postprocess dnl --------------------------------------------- -asmalign_pot="unknown" -if test $asmalign_pot = "unknown"; then - AC_TRY_COMPILE([], [ asm (".align 3"); ],[ - AC_DEFINE([HAVE_ASMALIGN_POT], 1, "asmalign power of two")],[ - AC_DEFINE([HAVE_ASMALIGN_POT], 0, "asmalign power of two")]) -fi +AC_TRY_COMPILE([], [ 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") +]) dnl --------------------------------------------- dnl Some extra checks. |