mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-29 16:53:43 -04:00
Fix --enable-oggvorbis
This commit is contained in:
parent
c8be40c412
commit
474d1c996c
@ -19,8 +19,6 @@ rend_posix=true
|
|||||||
STATIC_LIBS=no
|
STATIC_LIBS=no
|
||||||
CPPFLAGS="${CPPFLAGS} -g"
|
CPPFLAGS="${CPPFLAGS} -g"
|
||||||
|
|
||||||
LDFLAGS="${LDFLAGS} -lz"
|
|
||||||
|
|
||||||
AC_CHECK_LIB(z,compress,LDFLAGS="$LDFLAGS -lz",echo "Must have zlib";exit)
|
AC_CHECK_LIB(z,compress,LDFLAGS="$LDFLAGS -lz",echo "Must have zlib";exit)
|
||||||
|
|
||||||
AC_ARG_ENABLE(debug,[ --enable-debug Enable debugging features],
|
AC_ARG_ENABLE(debug,[ --enable-debug Enable debugging features],
|
||||||
@ -163,7 +161,9 @@ else
|
|||||||
echo "Adding dynamic libid3tag"
|
echo "Adding dynamic libid3tag"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x"$use_oggvorbis" == x"true"; then
|
echo USE_OGGVORBIS is $use_oggvorbis
|
||||||
|
|
||||||
|
if test x$use_oggvorbis = xtrue; then
|
||||||
AC_CHECK_HEADERS(ogg/ogg.h,, [
|
AC_CHECK_HEADERS(ogg/ogg.h,, [
|
||||||
AC_MSG_ERROR([ogg/ogg.h not found... Must have libogg installed for Ogg/Vorbis support])])
|
AC_MSG_ERROR([ogg/ogg.h not found... Must have libogg installed for Ogg/Vorbis support])])
|
||||||
AC_CHECK_LIB(ogg,ogg_sync_init,echo "Have ogg",echo "Must have libogg for Ogg/Vorbis support";exit)
|
AC_CHECK_LIB(ogg,ogg_sync_init,echo "Have ogg",echo "Must have libogg for Ogg/Vorbis support";exit)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user