File: wavpack.m4

package info (click to toggle)
moc 1%3A2.6.0~svn-r3005-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,656 kB
  • sloc: ansic: 31,749; sh: 929; cpp: 487; makefile: 240
file content (17 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dnl wavpack

AC_ARG_WITH(wavpack, AS_HELP_STRING([--without-wavpack],
                                    [Compile without WavPack support]))

if test "x$with_wavpack" != "xno"
then
	PKG_CHECK_MODULES(WAVPACK, [wavpack >= 4.31],
			[AC_SUBST(WAVPACK_LIBS)
			AC_SUBST(WAVPACK_CFLAGS)
			want_wavpack="yes"
			DECODER_PLUGINS="$DECODER_PLUGINS wavpack"],
			[true])
fi

AM_CONDITIONAL([BUILD_wavpack], [test "$want_wavpack"])
AC_CONFIG_FILES([decoder_plugins/wavpack/Makefile])