Ticket #38803: patch-Configure.diff
File patch-Configure.diff, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Configure
old new 22 22 user_path=$PATH 23 23 24 24 : sanity checks 25 PATH='.:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/local:/usr/lbin' 26 PATH=$PATH:'/usr/5bin:/etc:/usr/gnu/bin:/usr/new:/usr/new/bin:/usr/nbin' 27 PATH=$PATH:'/sys5.3/bin:/sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb' 28 PATH=$PATH:'/bsd4.3/usr/bin:/usr/bsd' 25 PATH=".:$PATH" 29 26 export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$) 30 27 31 if test ! -t 0; then32 echo "Say 'sh Configure', not 'sh <Configure'"33 exit 134 fi35 28 36 (alias) >/dev/null 2>&1 && \37 echo "(I see you are using the Korn shell. Some ksh's blow up on Configure," && \38 echo "especially on exotic machines. If yours does, try the Bourne shell instead.)"39 29 40 30 if test ! -d ../UU; then 41 31 if test ! -d UU; then … … 156 146 undef='undef' 157 147 : change the next line if compiling for Xenix/286 on Xenix/386 158 148 xlibpath='/usr/lib/386 /lib/386' 159 libpth='/usr/lib /usr/local/lib /usr/lib/large /lib '$xlibpth' /lib/large' 160 libpth=$libpth' /usr/lib/small /lib/small' 149 libpth="$PREFIX/lib /usr/lib" 161 150 smallmach='pdp11 i8086 z8000 i80286 iAPX286' 162 151 rmlist='ark[1-9]isdone ark[1-9][0-9]isdone' 163 152 trap 'echo " "; rm -f $rmlist; exit 1' 1 2 3 15 … … 198 187 fi 199 188 rm -f .grepmani 200 189 201 pth="/usr/ucb /bin /usr/bin /usr/local /usr/local/bin /usr/5bin" 202 pth=$pth" /usr/lbin /etc /usr/new /usr/new/bin /usr/nbin /usr/gnu/bin" 203 pth=$pth" /usr/plx /vol/local/bin /usr/lib /lib /usr/local/lib" 204 pth=$pth" /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/bin" 205 pth=$pth" /bsd4.3/usr/ucb /usr/bsd" 206 : add PATH from user 207 pth=$pth" "`echo $user_path | sed -e 's/:/ /g'` 190 pth="$PREFIX/bin /bin /usr/bin" 208 191 inclwanted='' 209 192 defvoidused=15 210 193 libswanted='m malloc c_s'