shithub: sox

Download patch

ref: 2ebdfd56bb69cc74b1c64c727c8cb1201fec4653
parent: b51d1af4f44e45c118a9831350e9b3180b0366b4
author: rrt <rrt>
date: Mon Dec 11 20:16:36 EST 2006

SUN_AUDIO fix.

--- a/configure
+++ b/configure
@@ -6455,6 +6455,13 @@
 
 done
 
+if test "$with_sun_audio" = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_SUN_AUDIO 1
+_ACEOF
+
+fi
 
 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
   { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
--- a/src/stconfig.h.in
+++ b/src/stconfig.h.in
@@ -75,6 +75,9 @@
 /* Define to 1 if you have the <string.h> header file. */
 #undef HAVE_STRING_H
 
+/* Define to 1 if you have Sun /dev/audio. */
+#undef HAVE_SUN_AUDIO
+
 /* Define to 1 if you have the <sun/audioio.h> header file. */
 #undef HAVE_SUN_AUDIOIO_H