From 0e4fa705f0e9f40d9d58e03e381f2605b7d7c223 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 11 Aug 2013 12:12:58 +0200 Subject: [PATCH] build: fix string comparisons in autogen.sh Compare strings with '=', not '=='. The second form doesn't work with all shells. Fixes #876. --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index ed07953e..8c2d7fa2 100755 --- a/autogen.sh +++ b/autogen.sh @@ -14,7 +14,7 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -if [ "$LIBTOOLIZE" == "" ] && [ "`uname`" == "Darwin" ]; then +if [ "$LIBTOOLIZE" = "" ] && [ "`uname`" = "Darwin" ]; then LIBTOOLIZE=glibtoolize fi