From 474d1c996c0a820f88d7ba249e4a737c65b0ec69 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Wed, 8 Dec 2004 03:53:36 +0000 Subject: [PATCH] Fix --enable-oggvorbis --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 5a8cdfff..c0a7567e 100644 --- a/configure.in +++ b/configure.in @@ -19,8 +19,6 @@ rend_posix=true STATIC_LIBS=no CPPFLAGS="${CPPFLAGS} -g" -LDFLAGS="${LDFLAGS} -lz" - AC_CHECK_LIB(z,compress,LDFLAGS="$LDFLAGS -lz",echo "Must have zlib";exit) AC_ARG_ENABLE(debug,[ --enable-debug Enable debugging features], @@ -163,7 +161,9 @@ else echo "Adding dynamic libid3tag" 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_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)