diff options
author | Max Kellermann <max@duempel.org> | 2009-01-15 22:54:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-15 22:54:07 +0100 |
commit | 33b5693a12ed53aff623643ab67704d1e9c74990 (patch) | |
tree | 54f10c8c354e2af4bac1c0edaf6b62e73927f80d /configure.ac | |
parent | db89cb86da24cbf26f598079a5c741cb0d074f68 (diff) | |
download | mpd-33b5693a12ed53aff623643ab67704d1e9c74990.tar.gz mpd-33b5693a12ed53aff623643ab67704d1e9c74990.tar.xz mpd-33b5693a12ed53aff623643ab67704d1e9c74990.zip |
oggvorbis: define HAVE_OGGVORBIS when tremor is enabled
When tremor (libvorbisidec) is used, HAVE_OGGVORBIS was not defined.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 47711b4b2..79236605e 100644 --- a/configure.ac +++ b/configure.ac @@ -705,7 +705,9 @@ if test x$use_tremor = xyes; then CFLAGS="$CFLAGS $TREMOR_CFLAGS" LIBS="$LIBS $TREMOR_LIBS" AC_CHECK_LIB(vorbisidec,ov_read,enable_oggvorbis=yes,enable_oggvorbis=no;AC_MSG_WARN([vorbisidec lib needed for ogg support with tremor -- disabling ogg support])) - if test x$enable_oggvorbis = xno; then + if test x$enable_oggvorbis = xyes; then + AC_DEFINE(HAVE_OGGVORBIS, 1, [Define for Ogg Vorbis support]), + else CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi |