ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: libao
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: libao-1.0.0-alt-oss.patch
Download
Download
--- libao-1.0.0/configure.ac.alt 2010-03-26 04:07:30.000000000 +0300
+++ libao-1.0.0/configure.ac 2010-03-26 22:32:50.000000000 +0300
@@ -229,12 +229,15 @@ AM_CONDITIONAL(HAVE_ESD,test "x$have_esd
dnl Check for OSS
-
have_oss="no";
-AC_CHECK_HEADERS(sys/soundcard.h, have_oss=yes)
-AC_CHECK_HEADERS(machine/soundcard.h, have_oss=yes)
-AM_CONDITIONAL(HAVE_OSS,test "${have_oss}" = "yes")
+AC_ARG_ENABLE(oss, [ --enable-oss include OSS output plugin ],
+[ BUILD_OSS="$enableval" ],[ BUILD_OSS="yes" ])
+if test "$BUILD_OSS" = "yes"; then
+ AC_CHECK_HEADERS(sys/soundcard.h)
+ AC_CHECK_HEADERS(machine/soundcard.h)
+fi
+AM_CONDITIONAL(HAVE_OSS,test "${ac_cv_header_sys_soundcard_h}" = "yes" || test "${ac_cv_header_machine_soundcard_h}" = "yes")
dnl Check for ALSA 0.9/1.0
have_alsa="no";