Ticket #34854: patch-configure.diff

File patch-configure.diff, 1.3 KB (added by cjones051073 (Chris Jones), 12 years ago)
  • configure

    old new  
    438438            chklib64file=`ar t $chklib64 | awk '{if (NR == 2) print $1}'`
    439439            logmsg " ar x $chklib64 $chklib64file"
    440440            ar x $chklib64 $chklib64file
    441             logmsg " file $filearg $chklib64file | grep '64-bit'"
    442             if file $filearg $chklib64file | grep '64-bit' > /dev/null 2>& 1 ; then
     441            logmsg " /usr/bin/file $filearg $chklib64file | grep '64-bit'"
     442            if /usr/bin/file $filearg $chklib64file | grep '64-bit' > /dev/null 2>& 1 ; then
    443443                ret=1
    444444            fi
    445445            rm -f $chklib64file
    446446        fi
    447447    else
    448         if file $filearg $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then
     448        if /usr/bin/file $filearg $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then
    449449            check_link $chklib64
    450450            ret=$link_result
    451451        else
    452             logmsg " file $filearg $chklib64 | grep '64-bit'"
    453             if file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then
     452            logmsg " /usr/bin/file $filearg $chklib64 | grep '64-bit'"
     453            if /usr/bin/file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then
    454454                ret=1
    455455            fi
    456456        fi