shithub: sox

Download patch

ref: c777d1f16803beb1ec167e36bdb0792e1f04059e
parent: c826576d4232f0d8394913bc7789f5ba472457c1
author: cbagwell <cbagwell>
date: Tue Dec 8 20:35:26 EST 2009

Removing unused optional-fmts.in file.

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -127,7 +127,7 @@
 example4_LDADD = ${sox_LDADD}
 example5_LDADD = ${sox_LDADD}
 
-EXTRA_DIST = monkey.au monkey.wav optional-fmts.in \
+EXTRA_DIST = monkey.au monkey.wav optional-fmts.am \
 	     CMakeLists.txt soxstdint.h.cmake soxconfig.h.cmake \
 	     tests.sh testall.sh tests.bat testall.bat test-comments
 
--- a/src/optional-fmts.in
+++ /dev/null
@@ -1,73 +1,0 @@
-define(`OPT_FORMAT',
-if HAVE_$2
-if STATIC_$2
-  libsox_la_SOURCES += $3
-  libsox_la_LIBADD += @$2_LIBS@
-  sox_LDADD += @$2_LIBS@
-else
-  libsox_fmt_$1_la_SOURCES = $3
-  libsox_fmt_$1_la_LIBADD = libsox.la @$2_LIBS@
-  pkglib_LTLIBRARIES += libsox_fmt_$1.la
-endif
-endif
-)
-
-OPT_FORMAT(alsa, ALSA, alsa.c)
-OPT_FORMAT(amr_nb, AMRNB, amr-nb.c amr.h amr1.h amr2.h)
-OPT_FORMAT(amr_wb, AMRWB, amr-wb.c amr.h amr1.h amr2.h)
-OPT_FORMAT(ao, AO, ao.c)
-OPT_FORMAT(coreaudio, COREAUDIO, coreaudio.c)
-OPT_FORMAT(ffmpeg, FFMPEG, ffmpeg.c ffmpeg.h)
-OPT_FORMAT(flac, FLAC, flac.c)
-OPT_FORMAT(gsm, GSM, gsm.c)
-OPT_FORMAT(lpc10, LPC10, lpc10.c)
-OPT_FORMAT(mp3, MP3, mp3.c mp3-util.h)
-OPT_FORMAT(oss, OSS, oss.c)
-OPT_FORMAT(pulseaudio, PULSEAUDIO, pulseaudio.c)
-OPT_FORMAT(waveaudio, WAVEAUDIO, waveaudio.c)
-OPT_FORMAT(sndio, SNDIO, sndio.c)
-OPT_FORMAT(sunau, SUN_AUDIO, sunaudio.c)
-OPT_FORMAT(vorbis, OGG_VORBIS, vorbis.c)
-OPT_FORMAT(wavpack, WAVPACK, wavpack.c)
-
-if HAVE_SNDFILE
-if STATIC_SNDFILE
-  libsox_la_SOURCES += sndfile.c caf.c mat4.c mat5.c paf.c fap.c w64.c xi.c pvf.c sd2.c
-  libsox_la_CFLAGS += @SNDFILE_CFLAGS@
-  libsox_la_LIBADD += @SNDFILE_LIBS@
-  sox_LDADD += @SNDFILE_LIBS@
-else
-libsox_fmt_sndfile_la_SOURCES = sndfile.c
-libsox_fmt_sndfile_la_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_sndfile_la_LIBADD = libsox.la @SNDFILE_LIBS@
-libsox_fmt_caf_la_SOURCES = caf.c sndfile.c
-libsox_fmt_caf_la_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_caf_la_LIBADD = libsox.la @SNDFILE_LIBS@
-libsox_fmt_mat4_la_SOURCES = mat4.c sndfile.c
-libsox_fmt_mat4_la_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_mat4_la_LIBADD = libsox.la @SNDFILE_LIBS@
-libsox_fmt_mat5_la_SOURCES = mat5.c sndfile.c
-libsox_fmt_mat5_la_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_mat5_la_LIBADD = libsox.la @SNDFILE_LIBS@
-libsox_fmt_paf_la_SOURCES = paf.c sndfile.c
-libsox_fmt_paf_la_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_paf_la_LIBADD = libsox.la  @SNDFILE_LIBS@
-libsox_fmt_fap_la_SOURCES = fap.c sndfile.c
-libsox_fmt_fap_la_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_fap_la_LIBADD = libsox.la @SNDFILE_LIBS@
-libsox_fmt_w64_la_SOURCES = w64.c sndfile.c
-libsox_fmt_w64_la_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_w64_la_LIBADD = libsox.la @SNDFILE_LIBS@
-libsox_fmt_xi_la_SOURCES = xi.c sndfile.c
-libsox_fmt_wi_la_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_xi_la_LIBADD = libsox.la @SNDFILE_LIBS@
-libsox_fmt_pvf_la_SOURCES = pvf.c sndfile.c
-libsox_fmt_pvf_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_pvf_la_LIBADD = libsox.la @SNDFILE_LIBS@
-libsox_fmt_sd2_la_SOURCES = sd2.c sndfile.c
-libsox_fmt_sd2_CFLAGS = @WARN_CFLAGS@ @SNDFILE_CFLAGS@
-libsox_fmt_sd2_la_LIBADD = libsox.la @SNDFILE_LIBS@
-pkglib_LTLIBRARIES += libsox_fmt_sndfile.la libsox_fmt_caf.la libsox_fmt_mat4.la libsox_fmt_mat5.la libsox_fmt_paf.la libsox_fmt_fap.la libsox_fmt_w64.la libsox_fmt_xi.la libsox_fmt_pvf.la libsox_fmt_sd2.la
-endif
-endif
-