ref: 76c68d7bfc449e9044fc9b7bee6e60d699715bed
parent: e5ec5718b28a6cb0101a67d79b5fc9e6c89217f9
author: Mans Rullgard <mans@mansr.com>
date: Fri Aug 14 10:25:11 EDT 2020
sunaudio: use consistent names for build variables Replace SUN_AUDIO with SUNAUDIO for consistency.
--- a/configure.ac
+++ b/configure.ac
@@ -548,7 +548,7 @@
-AC_OPTIONAL_FORMAT(sunaudio, SUN_AUDIO, [AC_CHECK_HEADERS(sys/audioio.h,,
+AC_OPTIONAL_FORMAT(sunaudio, SUNAUDIO, [AC_CHECK_HEADERS(sys/audioio.h,,
[AC_CHECK_HEADERS(sun/audioio.h,, using_sunaudio=no)])])
--- a/src/formats.h
+++ b/src/formats.h
@@ -119,7 +119,7 @@
FORMAT(w64)
FORMAT(xi)
#endif
-#if defined HAVE_SUN_AUDIO && (defined STATIC_SUN_AUDIO || !defined HAVE_LIBLTDL)
+#if defined HAVE_SUNAUDIO && (defined STATIC_SUNAUDIO || !defined HAVE_LIBLTDL)
FORMAT(sunau)
#endif
#if defined HAVE_OGG_VORBIS && (defined STATIC_OGG_VORBIS || !defined HAVE_LIBLTDL)
--- a/src/optional-fmts.am
+++ b/src/optional-fmts.am
@@ -208,8 +208,8 @@
endif
endif
-if HAVE_SUN_AUDIO
-if STATIC_SUN_AUDIO
+if HAVE_SUNAUDIO
+if STATIC_SUNAUDIO
libsox_la_SOURCES += sunaudio.c
else
libsox_fmt_sunau_la_SOURCES = sunaudio.c