35dcb2f709
ok mgrimm@ (MAINTAINER)
28 lines
795 B
Plaintext
28 lines
795 B
Plaintext
$OpenBSD: patch-configure_in,v 1.1 2010/04/23 05:54:26 jakemsr Exp $
|
|
--- configure.in.orig Mon Jan 18 03:43:35 2010
|
|
+++ configure.in Mon Jan 18 03:46:35 2010
|
|
@@ -63,6 +63,15 @@ if test "$have_oss" = yes; then
|
|
AC_DEFINE(HAVE_OSS,,[Define to enable OSS input module])
|
|
fi
|
|
|
|
+dnl Check for sndio
|
|
+
|
|
+AC_CHECK_HEADER(sndio.h, have_sndio=yes, have_sndio=no)
|
|
+AM_CONDITIONAL(HAVE_SNDIO, test "$have_sndio" = yes)
|
|
+if test "$have_sndio" = yes; then
|
|
+ SNDIO_LIBS="-lsndio"
|
|
+ AC_DEFINE(HAVE_SNDIO,,[Define to enable sndio input module])
|
|
+fi
|
|
+
|
|
dnl Check for Sun audio
|
|
|
|
AC_C_BIGENDIAN
|
|
@@ -120,6 +129,7 @@ XIPH_VAR_PREPEND([XIPH_LIBS], [$VORBISENC_LIBS $VORBIS
|
|
dnl Make substitutions
|
|
|
|
AC_SUBST(ALSA_LIBS)
|
|
+AC_SUBST(SNDIO_LIBS)
|
|
AC_SUBST(XML_LIBS)
|
|
AC_SUBST(XML_CFLAGS)
|
|
AC_SUBST(LIBTOOL_DEPS)
|