shithub: sox

Download patch

ref: b51d1af4f44e45c118a9831350e9b3180b0366b4
parent: d896176ab01d03db0b4138dda3c005f003d56ea4
author: rrt <rrt>
date: Mon Dec 11 20:14:24 EST 2006

Define HAVE_SUN_AUDIO so we can build Sun audio. Oops.

--- a/configure.ac
+++ b/configure.ac
@@ -82,6 +82,9 @@
 with_sun_audio=no
 AC_CHECK_HEADERS(sys/audioio.h, with_sun_audio=yes)
 AC_CHECK_HEADERS(sun/audioio.h, with_sun_audio=yes)
+if test "$with_sun_audio" = yes; then
+   AC_DEFINE(HAVE_SUN_AUDIO, 1, [Define to 1 if you have Sun /dev/audio.])
+fi
 
 dnl Check for Ogg Vorbis libraries
 AC_CHECK_HEADER(vorbis/codec.h,