Mercurial > audlegacy
changeset 165:d2c091891237 trunk
[svn] sndfile checks
author | nenolod |
---|---|
date | Sat, 12 Nov 2005 18:02:29 -0800 |
parents | 3e9ccc00d122 |
children | 10e2f422258a |
files | configure.ac |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Sat Nov 12 17:47:27 2005 -0800 +++ b/configure.ac Sat Nov 12 18:02:29 2005 -0800 @@ -357,6 +357,26 @@ AM_CONDITIONAL(ENABLE_AAC, test "$enable_aac" = "yes") +dnl *** sndfile + +AC_ARG_ENABLE(sndfile, + [ --disable-sndfile disable sndfile extensions. [default=enabled] ], + [enable_sndfile=$enableval], + [enable_sndfile=yes] +) + +if test "$enable_sndfile" = "yes"; then + PKG_CHECK_MODULES(SNDFILE, [sndfile >= 0.19], + [enable_sndfile=yes], + [enable_sndfile=no] + ) +else + AC_MSG_RESULT([*** libsndfile extensions disabled per user request ***]) + enable_sndfile=no +fi + +AM_CONDITIONAL([HAVE_LIBSNDFILE], test "$enable_sndfile" = "yes") + dnl *** mikmod AC_ARG_ENABLE( mikmod, [ --disable-mikmod Disable mikmod input plugin [default=enabled]],,