diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-19 23:04:08 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-19 23:04:08 +0000 |
commit | 291b576adf3e318710dfa2f03523f0a6eb877b50 (patch) | |
tree | d59f7ab59bc23caa548a989c043987e26580aa81 | |
parent | 18d33de1a5e37d4d9a64170c1464250867fc78e1 (diff) | |
download | xine-lib-291b576adf3e318710dfa2f03523f0a6eb877b50.tar.gz xine-lib-291b576adf3e318710dfa2f03523f0a6eb877b50.tar.bz2 |
We can't use Real codecs support on Darwin systems (OS X), as the format there is Mach-O and not ELF (and also aliases are not available).
CVS patchset: 8716
CVS date: 2007/03/19 23:04:08
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bcab9f2fd..4f5ec7a1d 100644 --- a/configure.ac +++ b/configure.ac @@ -2070,6 +2070,12 @@ AC_ARG_WITH([real-codecs-path], AC_DEFINE_UNQUOTED([REAL_CODEC_PATH], ["$withval"], [Specified path for Real binary codecs]) ]) +dnl On some systems, we cannot enable Real codecs support to begin with. +dnl This includes Darwin, that uses Mach-O rather than ELF. +case $host in + *-darwin*) enable_real_codecs="no" ;; +esac + if test "x$enable_real_codecs" != "xno"; then dnl For those that have a replacement, break at the first one found AC_CHECK_SYMBOLS([__environ _environ environ], [break], [need_weak_aliases=yes]) |