mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
Fix --disable-*
This commit is contained in:
parent
9616738c65
commit
349a30cbab
40
configure.ac
40
configure.ac
@ -51,25 +51,35 @@ dnl Large File Support (LFS)
|
|||||||
AC_SYS_LARGEFILE
|
AC_SYS_LARGEFILE
|
||||||
AC_TYPE_OFF_T
|
AC_TYPE_OFF_T
|
||||||
|
|
||||||
AC_ARG_ENABLE(flac, AS_HELP_STRING([--enable-flac], [extract FLAC metadata with libflac (default=no)]),
|
AC_ARG_ENABLE(flac, AS_HELP_STRING([--enable-flac], [extract FLAC metadata with libflac (default=no)]))
|
||||||
use_flac=true;
|
AS_IF([test "x$enable_flac" = "xyes"], [
|
||||||
CPPFLAGS="${CPPFLAGS} -DFLAC")
|
use_flac=true;
|
||||||
|
CPPFLAGS="${CPPFLAGS} -DFLAC"
|
||||||
|
])
|
||||||
|
|
||||||
AC_ARG_ENABLE(musepack, AS_HELP_STRING([--enable-musepack], [extract Musepack metadata with taglib (default=no)]),
|
AC_ARG_ENABLE(musepack, AS_HELP_STRING([--enable-musepack], [extract Musepack metadata with taglib (default=no)]))
|
||||||
use_musepack=true;
|
AS_IF([test "x$enable_musepack" = "xyes"], [
|
||||||
CPPFLAGS="${CPPFLAGS} -DMUSEPACK")
|
use_musepack=true;
|
||||||
|
CPPFLAGS="${CPPFLAGS} -DMUSEPACK"
|
||||||
|
])
|
||||||
|
|
||||||
AC_ARG_ENABLE(itunes, AS_HELP_STRING([--enable-itunes], [enable iTunes library support (default=no)]),
|
AC_ARG_ENABLE(itunes, AS_HELP_STRING([--enable-itunes], [enable iTunes library support (default=no)]))
|
||||||
use_itunes=true;
|
AS_IF([test "x$enable_itunes" = "xyes"], [
|
||||||
CPPFLAGS="${CPPFLAGS} -DITUNES")
|
use_itunes=true;
|
||||||
|
CPPFLAGS="${CPPFLAGS} -DITUNES"
|
||||||
|
])
|
||||||
|
|
||||||
AC_ARG_ENABLE(spotify, AS_HELP_STRING([--enable-spotify], [enable Spotify library support (default=no)]),
|
AC_ARG_ENABLE(spotify, AS_HELP_STRING([--enable-spotify], [enable Spotify library support (default=no)]))
|
||||||
use_spotify=true;
|
AS_IF([test "x$enable_spotify" = "xyes"], [
|
||||||
CPPFLAGS="${CPPFLAGS} -DSPOTIFY")
|
use_spotify=true;
|
||||||
|
CPPFLAGS="${CPPFLAGS} -DSPOTIFY"
|
||||||
|
])
|
||||||
|
|
||||||
AC_ARG_ENABLE(lastfm, AS_HELP_STRING([--enable-lastfm], [enable LastFM support (default=no)]),
|
AC_ARG_ENABLE(lastfm, AS_HELP_STRING([--enable-lastfm], [enable LastFM support (default=no)]))
|
||||||
use_lastfm=true;
|
AS_IF([test "x$enable_lastfm" = "xyes"], [
|
||||||
CPPFLAGS="${CPPFLAGS} -DLASTFM")
|
use_lastfm=true;
|
||||||
|
CPPFLAGS="${CPPFLAGS} -DLASTFM"
|
||||||
|
])
|
||||||
|
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-linux-*)
|
*-*-linux-*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user