$NetBSD: patch-configure,v 1.2 2019/07/31 20:01:42 brook Exp $ Fix usage of conditionals in configure --- configure.orig 2018-10-03 07:37:01.000000000 +0000 +++ configure @@ -2982,8 +2982,8 @@ nlopt_libs="" ## also use pkg-config to check for NLopt ## -if test x"${nlopt_libs}" == x""; then - if test x"${PKGCONFIG}" == x"yes"; then +if test x"${nlopt_libs}" = x""; then + if test x"${PKGCONFIG}" = x"yes"; then ## check via pkg-config for nlopt if pkg-config --exists nlopt; then ## obtain cflags and obtain libs @@ -3280,7 +3280,7 @@ fi if test x"${nlopt_good}" = x"yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: Now testing for NLopt versison number." >&5 $as_echo "$as_me: Now testing for NLopt versison number." >&6;} - if test x"${PKGCONFIG}" == x"yes"; then + if test x"${PKGCONFIG}" = x"yes"; then ## check via pkg-config for version number of nlopt if pkg-config --exists nlopt; then ## obtain version number