File: speex.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-- 469 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dnl speex

AC_ARG_WITH(speex, AS_HELP_STRING([--without-speex],
                                  [Compile without speex support]))

if test "x$with_speex" != "xno"
then
	PKG_CHECK_MODULES(speex, [ogg >= 1.0 speex >= 1.0.0],
			  [AC_SUBST(speex_LIBS)
			  AC_SUBST(speex_CFLAGS)
			  want_speex="yes"
			  DECODER_PLUGINS="$DECODER_PLUGINS speex"],
			  [true])
fi

AM_CONDITIONAL([BUILD_speex], [test "$want_speex"])
AC_CONFIG_FILES([decoder_plugins/speex/Makefile])