Ticket #32400: patch-configure.diff

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

    old new  
    433433            chklib64file=`ar t $chklib64 | awk '{if (NR == 2) print $1}'`
    434434            logmsg " ar x $chklib64 $chklib64file"
    435435            ar x $chklib64 $chklib64file
    436             logmsg " file $filearg $chklib64file | grep '64-bit'"
    437             if file $filearg $chklib64file | grep '64-bit' > /dev/null 2>& 1 ; then
     436            logmsg " /usr/bin/file $filearg $chklib64file | grep '64-bit'"
     437            if /usr/bin/file $filearg $chklib64file | grep '64-bit' > /dev/null 2>& 1 ; then
    438438                ret=1
    439439            fi
    440440            rm -f $chklib64file
    441441        fi
    442442    else
    443         if file $filearg $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then
     443        if /usr/bin/file $filearg $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then
    444444            check_link $chklib64
    445445            ret=$link_result
    446446        else
    447             logmsg " file $filearg $chklib64 | grep '64-bit'"
    448             if file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then
     447            logmsg " /usr/bin/file $filearg $chklib64 | grep '64-bit'"
     448            if /usr/bin/file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then
    449449                ret=1
    450450            fi
    451451        fi