Ticket #1119: configure_2.patch

File configure_2.patch, 749 bytes (added by stuart@…, 20 years ago)
  • configure

     
    279279
    280280    # recurse down just one level, should be enough in most cases
    281281    if test -f /etc/ld.so.conf ; then
    282         INCL=`cat /etc/ld.so.conf | grep -v "#" | grep  "include"`
    283         SRCH=`echo $INCL | sed s/"include "//g`
     282        INCL=`cat /etc/ld.so.conf | grep -v "#" | grep  "^include"`
     283        SRCH=`echo $INCL | sed s/"^include "//g`
    284284        for x in $SRCH ; do
    285             LP_APPEND=`cat /etc/$x | grep -v "#" | grep -v "include"`
     285            LP_APPEND=`cat /etc/$x | grep -v "#" | grep -v "^include"`
    286286            LIBPATHS="$LIBPATHS $LP_APPEND"
    287287        done
    288288    fi