configure: trim down the Tremor AC_ARG_WITH() statements

This commit is contained in:
Avuton Olrich 2009-03-06 02:05:20 -08:00
parent bc65890abf
commit 7c907b9d9d

View File

@ -382,6 +382,7 @@ AC_ARG_ENABLE(flac,
dnl ### dnl ###
dnl MAD mp3 decoder dnl MAD mp3 decoder
dnl ### dnl ###
dnl Depreciated option, available for backwards compatibility dnl Depreciated option, available for backwards compatibility
AC_ARG_ENABLE(mp3,, AC_ARG_ENABLE(mp3,,
enable_mad=$enableval, enable_mad=$enableval,
@ -397,7 +398,6 @@ if test x$enable_mad = xyes; then
AC_DEFINE(HAVE_MAD, 1, [Define to use libmad]), AC_DEFINE(HAVE_MAD, 1, [Define to use libmad]),
enable_mad=no) enable_mad=no)
fi fi
AM_CONDITIONAL(HAVE_MAD, test x$enable_mad = xyes) AM_CONDITIONAL(HAVE_MAD, test x$enable_mad = xyes)
AC_ARG_ENABLE(mod, AC_ARG_ENABLE(mod,
@ -410,8 +410,6 @@ AC_ARG_ENABLE(modplug,
[enable MODPLUG support (default: disable)]),, [enable MODPLUG support (default: disable)]),,
enable_modplug=no) enable_modplug=no)
AC_ARG_ENABLE(mpc, AC_ARG_ENABLE(mpc,
AS_HELP_STRING([--disable-mpc], AS_HELP_STRING([--disable-mpc],
[disable musepack (MPC) support (default: enable)]),, [disable musepack (MPC) support (default: enable)]),,
@ -427,9 +425,24 @@ AC_ARG_ENABLE(oggvorbis,
[disable Ogg Vorbis support (default: enable)]),, [disable Ogg Vorbis support (default: enable)]),,
enable_oggvorbis=yes) enable_oggvorbis=yes)
AC_ARG_WITH(tremor,[[ --with-tremor[=PFX] Use Tremor(vorbisidec) integer Ogg-Vorbis decoder (with optional prefix)]], use_tremor=yes; test x$withval != xyes && tremor_prefix="$withval",) dnl ###
AC_ARG_WITH(tremor-libraries,[ --with-tremor-libraries=DIR Directory where Tremor library is installed (optional)], tremor_libraries="$withval", tremor_libraries="") dnl Ogg Tremor
AC_ARG_WITH(tremor-includes,[ --with-tremor-includes=DIR Directory where Tremor header files are installed (optional)], tremor_includes="$withval", tremor_includes="") dnl ###
AC_ARG_WITH(tremor,
AS_HELP_STRING([--with-tremor=PFX],
[use Tremor (vorbisidec) integer Ogg Vorbis decoder (with optional prefix)]),
use_tremor=yes; test x$withval != xyes && tremor_prefix="$withval",
)
AC_ARG_WITH(tremor-libraries,
AS_HELP_STRING([--with-tremor-libraries=DIR],
[directory where Tremor library is installed (optional)]),,
tremor_libraries="")
AC_ARG_WITH(tremor-includes,
AS_HELP_STRING([--with-tremor-includes=DIR],
[directory where Tremor header files are installed (optional)]),,
tremor_includes="")
AC_ARG_ENABLE(sidplay, AC_ARG_ENABLE(sidplay,
AS_HELP_STRING([--enable-sidplay], AS_HELP_STRING([--enable-sidplay],