$NetBSD: patch-aa,v 1.2 2002/01/03 13:06:51 wiz Exp $ --- Configure.orig Wed Jan 18 20:41:26 1995 +++ Configure @@ -18,11 +18,6 @@ PATH='.:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin:/etc:/usr/new:/usr/new/bin:/usr/nbin:/usr/bin/X11:/usr/X11/bin:/usr/openwin/bin:/usr/ccs/bin' export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$) -if test ! -t 0; then - echo "Say 'sh Configure', not 'sh /dev/null 2>&1 && \ echo "(I see you are using the Korn shell. Some ksh's blow up on Configure," && \ echo "especially on exotic machines. If yours does, try the Bourne shell instead.)" @@ -58,7 +53,7 @@ medium='' large='' huge='' -ccflags='' +ccflags='-g -Wall -Wno-comment' ldflags='' cc='' n='' @@ -98,7 +93,7 @@ uncompress='' imake='' xmkmf='' -bindir='' +bindir='XXXBINDIRXXX' d_drand48='' d_havetlib='' termlib='' @@ -107,7 +102,7 @@ d_random='' defcomp='' imaketmpl='' -libdir='' +libdir='XXXLIBDIRXXX' mycompress='' myuncompress='' CONFIG='' @@ -187,7 +182,7 @@ c='\c' fi echo $n "Type carriage return to continue. Your cursor should be here-->$c" -read ans +#read ans rm -f .echotmp : now set up to do reads with possible shell escape and default assignment @@ -1361,6 +1356,8 @@ ;; esac +termlib="$termlib -lcompat" + echo " " echo "End of configuration questions." echo " " @@ -1520,7 +1517,7 @@ echo "If you didn't make any mistakes, then just type a carriage return here." rp="If you need to edit config.sh, do it as a shell escape here:" $echo $n "$rp $c" -. UU/myread +#. UU/myread case "$ans" in '') ;; *) : in case they cannot read