Merge pull request #52 from AliceLR/fix-openbsd-audioio

Improve detection of old BSD sound driver to fix OpenBSD builds.
master
Alice R 4 years ago committed by GitHub
commit 5f227252d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      configure.ac

@ -245,9 +245,12 @@ beos*|haiku*)
AM_CONDITIONAL([SOUND_BEOS], [true])
;;
*)
dnl Modern OpenBSD has sys/audioio.h but does not support this driver.
AS_IF([test "$ac_cv_header_sys_audioio_h" = "yes"], [
AC_DEFINE([SOUND_BSD], 1, [ ])
AM_CONDITIONAL([SOUND_BSD], [true])
AC_CHECK_MEMBER([audio_info_t.play],
[ AC_DEFINE([SOUND_BSD], 1, [ ])
AM_CONDITIONAL([SOUND_BSD], [true])
], , [[#include <sys/audioio.h>]])
])
;;
esac

Loading…
Cancel
Save