configure.ac: use $have_ogg, not $enable_ogg

The latter doesn't exist, and this broke Vorbis-only builds.
This commit is contained in:
Max Kellermann 2016-07-02 14:22:34 +02:00
parent 4b25c5e8d6
commit 46e8b137e9

View File

@ -1279,7 +1279,7 @@ if test x$enable_vorbis = xyes || test x$enable_tremor = xyes || test x$enable_o
fi
have_xiph=no
if test x$enable_ogg = xyes || test x$enable_flac = xyes || test x$enable_flac_encoder = xyes; then
if test x$have_ogg = xyes || test x$enable_flac = xyes || test x$enable_flac_encoder = xyes; then
have_xiph=yes
fi