22 lines
621 B
Plaintext
22 lines
621 B
Plaintext
$OpenBSD: patch-configure_ac,v 1.1 2018/06/23 16:32:24 ajacoutot Exp $
|
|
|
|
Index: configure.ac
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -147,6 +147,15 @@ if test x"$enable_oss" != x"no"; then
|
|
esac
|
|
fi
|
|
|
|
+dnl check for sndio
|
|
+AC_ARG_ENABLE([sndio],
|
|
+ [ --disable-sndio make a version not using sndio])
|
|
+if test x"$enable_sndio" != x"no"; then
|
|
+ AC_DEFINE([LIBAO_SNDIO],,[libao sndio support])
|
|
+ AC_CHECK_LIB([sndio],[sio_initpar],
|
|
+ [LIBAO_LIBS="$LIBAO_LIBS -lsndio"])
|
|
+fi
|
|
+
|
|
dnl check for solaris
|
|
AC_ARG_ENABLE([solaris-audio],
|
|
[ --disable-solaris-audio make a version not using solaris audio])
|