From 0d6d325723b96bb227dfccc39196db4aa7d31ce1 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 14 Sep 2015 20:14:25 +0200 Subject: [PATCH] build: Avoid bashism in configure.ac. '==' is not portable. In fact, NetBSD's /bin/sh complains about this. The fix is trivial. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2edabc86..a30b0c20 100644 --- a/configure.ac +++ b/configure.ac @@ -53,7 +53,7 @@ AC_DEFUN([UNSTASH_FLAGS], [ LIBS="$OLD_LIBS" ]) AC_DEFUN([LIB_SUBST_FLAGS], [ - if test "$HAVE_[]m4_toupper([$1])" == 'yes'; then + if test "$HAVE_[]m4_toupper([$1])" = 'yes'; then AC_DEFINE(HAVE_[]m4_toupper([$1]), 1, define to 1 to turn on $1 support) else -- 2.39.2