Commit 5779146a authored by Ulrich Spörlein's avatar Ulrich Spörlein Committed by Max Kellermann

configure.ac: fix bashism in tremor test

This makes FreeBSD detect libogg correctly. The '==' operator is an undocumented GNU extension to test(1) and cannot be relied upon to exist and do the right thing. POSIX mandates string comparisons to be done using "test foo = bar".
parent a1d1c2be
ver 0.16.2 (2011/??/??) ver 0.16.2 (2011/??/??)
* configure.ac:
- fix bashism in tremor test
* decoder: * decoder:
- tremor: fix configure test - tremor: fix configure test
- gme: detect end of song - gme: detect end of song
......
...@@ -635,7 +635,7 @@ fi ...@@ -635,7 +635,7 @@ fi
AM_CONDITIONAL(ENABLE_LASTFM, test x$enable_lastfm = xyes) AM_CONDITIONAL(ENABLE_LASTFM, test x$enable_lastfm = xyes)
dnl ---------------------------------- libogg --------------------------------- dnl ---------------------------------- libogg ---------------------------------
if test x$with_tremor == xno || test -z $with_tremor; then if test x$with_tremor = xno || test -z $with_tremor; then
PKG_CHECK_MODULES(OGG, [ogg], enable_ogg=yes, enable_ogg=no) PKG_CHECK_MODULES(OGG, [ogg], enable_ogg=yes, enable_ogg=no)
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment