$NetBSD: patch-configure,v 1.4 2025/06/12 11:20:09 hauke Exp $ Portability fix. Choose plain sh over bash. --- configure.orig 2025-04-29 23:11:07.000000000 +0000 +++ configure @@ -4065,7 +4065,7 @@ rm -f core conftest.err conftest.$ac_obj else SUNCCVERSION=`${CC} -V 2>&1 | grep Sun` SUNCC=$? - if test "${SUNCC}" == "0" ; then + if test "${SUNCC}" = "0" ; then CFLAGS="${CFLAGS} -O" cflags_tmp="$CFLAGS" HAS_M64=`${CC} -flags | grep m64` @@ -4258,8 +4258,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -# Extract the first word of "bash sh", so it can be a program name with args. -set dummy bash sh; ac_word=$2 +# Extract the first word of "sh bash", so it can be a program name with args. +set dummy sh bash; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_path_SH+y}