summaryrefslogtreecommitdiff
path: root/m4/_xine.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/_xine.m4')
-rw-r--r--m4/_xine.m418
1 files changed, 0 insertions, 18 deletions
diff --git a/m4/_xine.m4 b/m4/_xine.m4
index 8ff2d67ca..630758298 100644
--- a/m4/_xine.m4
+++ b/m4/_xine.m4
@@ -142,24 +142,6 @@ AC_DEFUN([AC_CHECK_DXR3],
fi
])
-
-dnl AC_C_ATTRIBUTE_ALIGNED
-dnl define ATTRIBUTE_ALIGNED_MAX to the maximum alignment if this is supported
-AC_DEFUN([AC_C_ATTRIBUTE_ALIGNED],
- [AC_CACHE_CHECK([__attribute__ ((aligned ())) support],
- [ac_cv_c_attribute_aligned],
- [ac_cv_c_attribute_aligned=0
- for ac_cv_c_attr_align_try in 2 4 8 16 32 64; do
- AC_TRY_COMPILE([],
- [static char c __attribute__ ((aligned($ac_cv_c_attr_align_try))) = 0
-; return c;],
- [ac_cv_c_attribute_aligned=$ac_cv_c_attr_align_try])
- done])
- if test x"$ac_cv_c_attribute_aligned" != x"0"; then
- AC_DEFINE_UNQUOTED([ATTRIBUTE_ALIGNED_MAX],
- [$ac_cv_c_attribute_aligned],[maximum supported data alignment])
- fi])
-
dnl AC_TRY_CFLAGS (CFLAGS, [ACTION-IF-WORKS], [ACTION-IF-FAILS])
dnl check if $CC supports a given set of cflags
AC_DEFUN([AC_TRY_CFLAGS],