Ticket #38803: patch-Configure.diff

File patch-Configure.diff, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)
  • Configure

    old new  
    2222user_path=$PATH
    2323
    2424: 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'
     25PATH=".:$PATH"
    2926export PATH || (echo "OOPS, this isn't sh.  Desperation time.  I will feed myself to sh."; sh $0; kill $$)
    3027
    31 if test ! -t 0; then
    32     echo "Say 'sh Configure', not 'sh <Configure'"
    33     exit 1
    34 fi
    3528
    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.)"
    3929
    4030if test ! -d ../UU; then
    4131    if test ! -d UU; then
     
    156146undef='undef'
    157147: change the next line if compiling for Xenix/286 on Xenix/386
    158148xlibpath='/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'
     149libpth="$PREFIX/lib /usr/lib"
    161150smallmach='pdp11 i8086 z8000 i80286 iAPX286'
    162151rmlist='ark[1-9]isdone ark[1-9][0-9]isdone'
    163152trap 'echo " "; rm -f $rmlist; exit 1' 1 2 3 15
     
    198187fi
    199188rm -f .grepmani
    200189
    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'`
     190pth="$PREFIX/bin /bin /usr/bin"
    208191inclwanted=''
    209192defvoidused=15
    210193libswanted='m malloc c_s'