diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-04 13:13:26 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-04 13:13:26 +0200 |
commit | fb29effbbc643215c92fd20a9b97410d4dfc7498 (patch) | |
tree | 60569cef1cf58f4f82a2986c30255df4fcb1ba8a /configure.ac | |
parent | 1563a2e0e9557b293ed71de35f5615637df2823d (diff) | |
download | xine-lib-fb29effbbc643215c92fd20a9b97410d4dfc7498.tar.gz xine-lib-fb29effbbc643215c92fd20a9b97410d4dfc7498.tar.bz2 |
Check for audio_info_t.output_muted member, rather than assuming it's not available on NetBSD only.
With this, it's not needed to check for OpenBSD too.
Thanks to Pascal S. de Kloe for pointing at it.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 37232b54b..c0b299ea3 100644 --- a/configure.ac +++ b/configure.ac @@ -1618,6 +1618,12 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ AC_MSG_RESULT($have_sunaudio) AM_CONDITIONAL(HAVE_SUNAUDIO, test "x$have_sunaudio" = "xyes") +if "x$have_sunaudio" = "xyes"; then + dnl NetBSD and OpenBSD don't have this, but check for it + dnl rather than assuming that it doesn't happen elsewhere. + AC_CHECK_MEMBERS([audio_info_t.output_muted]) +fi + dnl --------------------------------------------- dnl IRIX style audio interface |