summaryrefslogtreecommitdiffstats
authorUlrich Spörlein <[email protected]>2011-02-08 04:44:00 (GMT)
committer Max Kellermann <[email protected]>2011-03-09 18:50:54 (GMT)
commit5779146a7feed41f107b3865226134579a66135a (patch) (side-by-side diff)
treeb850f753aeb0cd59e91a604c2b5f954c46b20501
parenta1d1c2beaa54f76bbf92b2a5fd83c4a582a0316b (diff)
downloadmpd-5779146a7feed41f107b3865226134579a66135a.zip
mpd-5779146a7feed41f107b3865226134579a66135a.tar.gz
mpd-5779146a7feed41f107b3865226134579a66135a.tar.bz2
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".
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--NEWS2
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 38fcd41..8bff5ae 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
ver 0.16.2 (2011/??/??)
+* configure.ac:
+ - fix bashism in tremor test
* decoder:
- tremor: fix configure test
- gme: detect end of song
diff --git a/configure.ac b/configure.ac
index 4fafb18..52740b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -635,7 +635,7 @@ fi
AM_CONDITIONAL(ENABLE_LASTFM, test x$enable_lastfm = xyes)
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)
fi