$NetBSD: patch-ac,v 1.1.1.1 2001/07/18 19:59:14 martin Exp $

--- Configure.orig	Sun Jun  4 17:21:26 2000
+++ Configure	Sun Jun  4 17:22:17 2000
@@ -15,7 +15,7 @@
 PATH=".:$PATH:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin"
 export PATH || (echo "OOPS, this isn't sh.  Desperation time.  I will feed myself to sh."; sh $0; kill $$)
 
-if test ! -t 0; then
+if test "X$RUN_AS_BATCH" = "X" -a ! -t 0; then
     echo "Say 'sh Configure', not 'sh <Configure'"
     exit 1
 fi
