$NetBSD: patch-configure,v 1.1 2020/06/21 15:30:39 nia Exp $

Shell portability.

--- configure.orig	2020-06-14 22:29:09.000000000 +0000
+++ configure
@@ -18537,7 +18537,7 @@ $as_echo_n "checking for autogen version
             test ${AUTOGEN_MAJOR} -lt 5 ; then
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
-        if test "x$enable_local_libopts" == "xno"; then
+        if test "x$enable_local_libopts" = "xno"; then
             as_fn_error $? "${AUTOGEN} is too old (${AUTOGEN_VERSION}) for building from source code. Upgrade to 5.18.4 or higher" "$LINENO" 5
         fi
         AUTOGEN_VERSION="${AUTOGEN_VERSION} - downlevel"
