diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-06-21 18:59:49 +0530 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-08-13 10:29:31 +0100 |
commit | 6ef601367e0f5adb7a8b02cec94dec04fccf701a (patch) | |
tree | fd3935140b9f3b002b07d37964759f77b5e4b381 /configure.ac | |
parent | e2cd6ffafc11e8b1eb2d5ceb44766283c15884ff (diff) |
gstconfig.h: Detect unaligned access support at compile-time
This makes gstconfig.h completely arch-independent. Should cover all
compilers that gstreamer is known to build on, and all architectures
that I could find information on. People are encouraged to file bugs if
their platform/arch is missing.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index e116a739c..f663bf33a 100644 --- a/configure.ac +++ b/configure.ac @@ -411,17 +411,6 @@ dnl substitution for win32/common/config.h HOST_CPU=$host_cpu AC_SUBST(HOST_CPU) -dnl common/m4/gst-arch.m4 -dnl check for unaligned access -AG_GST_UNALIGNED_ACCESS -dnl create a configure variable for gst/gstconfig.h -if test x${as_cv_unaligned_access} = xyes ; then - GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 1" -else - GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 0" -fi -AC_SUBST(GST_HAVE_UNALIGNED_ACCESS_DEFINE) - dnl check for platform specific settings AG_GST_PLATFORM |