File: vorbis.m4

package info (click to toggle)
moc 1%3A2.5.0~alpha4%2Bsvn20120224-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,188 kB
  • sloc: ansic: 30,787; cpp: 527; sh: 386; makefile: 274
file content (18 lines) | stat: -rw-r--r-- 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dnl vorbis

AC_ARG_WITH(vorbis, AS_HELP_STRING([--without-vorbis],
                                   [Compile without Ogg Vorbis support]))

if test "x$with_vorbis" != "xno"
then
	PKG_CHECK_MODULES(OGG_VORBIS,
			  [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0],
			  [AC_SUBST(OGG_VORBIS_LIBS)
			  AC_SUBST(OGG_VORBIS_CFLAGS)
			  want_vorbis="yes"
			  DECODER_PLUGINS="$DECODER_PLUGINS vorbis"],
			  [true])
fi

AM_CONDITIONAL([BUILD_vorbis], [test "$want_vorbis"])
AC_CONFIG_FILES([decoder_plugins/vorbis/Makefile])