$NetBSD: patch-configure,v 1.2 2025/11/14 09:45:24 adam Exp $ Portability fixes. --- configure.orig 2025-10-29 18:19:39.646936444 +0000 +++ configure @@ -19526,14 +19526,14 @@ then : fi HAVE_PORTABLE_TARGET=0 -if test "x$enable_portable_target" == "xyes"; then +if test "x$enable_portable_target" = "xyes"; then HAVE_PORTABLE_TARGET=1 fi printf "%s\n" "#define HAVE_PORTABLE_TARGET $HAVE_PORTABLE_TARGET" >>confdefs.h - if test x$HAVE_PORTABLE_TARGET == x1 ; then + if test x$HAVE_PORTABLE_TARGET = x1 ; then HAVE_PORTABLE_TARGET_TRUE= HAVE_PORTABLE_TARGET_FALSE='#' else @@ -19872,7 +19872,7 @@ fi HAVE_ASAN=0 ASAN_CFLAGS="" ASAN_LIBS="" -if test "x$enable_asan" == "xyes" ; then +if test "x$enable_asan" = "xyes" ; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking location of ASAN library" >&5 printf %s "checking location of ASAN library... " >&6; } ASANLIB1=`${CC} -print-file-name=libasan.so` @@ -20649,11 +20649,11 @@ LIBCLANG_CPPFLAGS="" LIBCLANG_LDFLAGS="" LIBCLANG_LIBS="" if test "x$with_libclang" != "xno"; then - if test "x$with_libclang" == "xauto"; then + if test "x$with_libclang" = "xauto"; then # try to auto detect (llvm 15 down to 8) check="llvm-config llvm-config-15 llvm-config-14 llvm-config-13 llvm-config-12 llvm-config-11 llvm-config-10" else - if test "x$with_libclang" == "xlatest"; then + if test "x$with_libclang" = "xlatest"; then check="llvm-config" else check="llvm-config-$with_libclang"