openbsd-ports/net/ices2/patches/patch-configure_in
jasper 84d9aa303a - update to ices-2.0.2
- reformat Makefile to make it readable again
- use correct AUTOCONF_VERSION
- add rc script

ok aja@
2015-04-15 10:13:21 +00:00

40 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure_in,v 1.2 2015/04/15 10:13:21 jasper Exp $
--- configure.in.orig Tue Aug 7 00:22:01 2012
+++ configure.in Wed Apr 15 11:15:31 2015
@@ -73,7 +73,19 @@ fi
AM_CONDITIONAL(HAVE_OSS,test "$have_oss" = yes)
+dnl ================================================================
+dnl Check for sndio
+dnl ================================================================
+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
+
+AM_CONDITIONAL(HAVE_SNDIO,test "$have_sndio" = yes)
+
dnl ================================================================
dnl Check for Sun audio
dnl ================================================================
@@ -173,6 +185,7 @@ XIPH_VAR_PREPEND([XIPH_LIBS], [$VORBISENC_LIBS $VORBIS
dnl Make substitutions
AC_SUBST(ALSA_LIBS)
+AC_SUBST(SNDIO_LIBS)
AC_SUBST(ROARAUDIO_LIBS)
AC_SUBST(XML_LIBS)
AC_SUBST(XML_CFLAGS)
@@ -198,6 +211,7 @@ echo "
Build with alsa: $have_alsa
Build with OSS: $have_oss
+ Build with sndio: $have_sndio
Build with Sun audio: $have_sun_audio
Build with RoarAudio: $have_roaraudio