From 5779146a7feed41f107b3865226134579a66135a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20Sp=C3=B6rlein?= Date: Tue, 8 Feb 2011 05:44:00 +0100 Subject: [PATCH] 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". --- NEWS | 2 ++ configure.ac | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 38fcd4155..8bff5aefe 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 4fafb1899..52740b0f7 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