$NetBSD: patch-configure,v 1.4 2023/06/02 15:30:10 wiz Exp $

use the right shell and avoid a non-portable construct
Needed to configure on SunOS-5.9/sparc.

--- src/configure.orig	2023-06-01 19:26:55.000000000 +0000
+++ src/configure
@@ -1,7 +1,8 @@
 #! /bin/sh
 # run the automatically generated configure script
-CONFIG_STATUS=auto/config.status \
-	auto/configure "$@" --srcdir="${srcdir:-.}" --cache-file=auto/config.cache
+CONFIG_STATUS=auto/config.status
+export CONFIG_STATUS
+$CONFIG_SHELL auto/configure "$@" --srcdir="${srcdir:-.}" --cache-file=auto/config.cache
 result=$?
 
 # Stupid autoconf 2.5x causes this file to be left behind.
