patch-libao_configure_incl 674 B

1234567891011121314151617181920
  1. $OpenBSD: patch-libao_configure_incl,v 1.1 2014/10/26 15:27:03 ratchov Exp $
  2. --- libao/configure.incl.orig Wed Oct 22 17:08:13 2014
  3. +++ libao/configure.incl Wed Oct 22 18:29:09 2014
  4. @@ -12,6 +12,15 @@ if test x"$enable_oss" != x"no"; then
  5. esac
  6. fi
  7. +dnl check for sndio
  8. +AC_ARG_ENABLE([sndio],
  9. + [ --disable-sndio make a version not using sndio])
  10. +if test x"$enable_sndio" != x"no"; then
  11. + AC_DEFINE([LIBAO_SNDIO],,[libao SNDIO support])
  12. + AC_CHECK_LIB([sndio],[sio_initpar],
  13. + [LIBAO_LIBS="$LIBAO_LIBS -lsndio"])
  14. +fi
  15. +
  16. dnl check for solaris
  17. AC_ARG_ENABLE([solaris-audio],
  18. [ --disable-solaris-audio make a version not using solaris audio])