summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2007-04-15 21:19:24 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2007-04-15 21:19:24 +0100
commit7425a2af0f717b9905c93e6facfdb67c9867c9a6 (patch)
treefa7c6670dcd6bb4a66f10652e5dbb2dd0e6c8809 /configure.ac
parent2a9e9c8d50e529813288a2306bac2ac2bf43d784 (diff)
parent6c2b67346d5d84462fc0d69687ae5dd592977061 (diff)
downloadxine-lib-7425a2af0f717b9905c93e6facfdb67c9867c9a6.tar.gz
xine-lib-7425a2af0f717b9905c93e6facfdb67c9867c9a6.tar.bz2
Merge from 1.1.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 1ccd1005b..a20f64a21 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2047,10 +2047,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<<n)-byte boundaries]),
+ :)
+AH_BOTTOM([#ifdef ASMALIGN_1SLN
+# define ASMALIGN(ZEROBITS) ".align " #ZEROBITS "\n\t"
+#else
+# define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\n\t"
+#endif
])
dnl ---------------------------------------------