File: sndfile.m4

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

AC_ARG_WITH(sndfile, AS_HELP_STRING([--without-sndfile],
                                    [Compile without libsndfile]))

if test "x$with_sndfile" != "xno"
then
	PKG_CHECK_MODULES(sndfile, sndfile >= 1.0.0,
			   [AC_SUBST(sndfile_LIBS)
			   AC_SUBST(sndfile_CFLAGS)
			   want_sndfile="yes"
			   DECODER_PLUGINS="$DECODER_PLUGINS sndfile"],
			   [true])
fi

AM_CONDITIONAL([BUILD_sndfile], [test "$want_sndfile"])
AC_CONFIG_FILES([decoder_plugins/sndfile/Makefile])