Ticket #34854: patch-configure.diff
File patch-configure.diff, 1.3 KB (added by cjones051073 (Chris Jones), 12 years ago) |
---|
-
configure
old new 438 438 chklib64file=`ar t $chklib64 | awk '{if (NR == 2) print $1}'` 439 439 logmsg " ar x $chklib64 $chklib64file" 440 440 ar x $chklib64 $chklib64file 441 logmsg " file $filearg $chklib64file | grep '64-bit'"442 if file $filearg $chklib64file | grep '64-bit' > /dev/null 2>& 1 ; then441 logmsg " /usr/bin/file $filearg $chklib64file | grep '64-bit'" 442 if /usr/bin/file $filearg $chklib64file | grep '64-bit' > /dev/null 2>& 1 ; then 443 443 ret=1 444 444 fi 445 445 rm -f $chklib64file 446 446 fi 447 447 else 448 if file $filearg $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then448 if /usr/bin/file $filearg $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then 449 449 check_link $chklib64 450 450 ret=$link_result 451 451 else 452 logmsg " file $filearg $chklib64 | grep '64-bit'"453 if file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then452 logmsg " /usr/bin/file $filearg $chklib64 | grep '64-bit'" 453 if /usr/bin/file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then 454 454 ret=1 455 455 fi 456 456 fi