Ticket #32400: patch-configure.diff
File patch-configure.diff, 1.4 KB (added by cjones051073 (Chris Jones), 13 years ago) |
---|
-
configure
old new 433 433 chklib64file=`ar t $chklib64 | awk '{if (NR == 2) print $1}'` 434 434 logmsg " ar x $chklib64 $chklib64file" 435 435 ar x $chklib64 $chklib64file 436 logmsg " file $filearg $chklib64file | grep '64-bit'"437 if file $filearg $chklib64file | grep '64-bit' > /dev/null 2>& 1 ; then436 logmsg " /usr/bin/file $filearg $chklib64file | grep '64-bit'" 437 if /usr/bin/file $filearg $chklib64file | grep '64-bit' > /dev/null 2>& 1 ; then 438 438 ret=1 439 439 fi 440 440 rm -f $chklib64file 441 441 fi 442 442 else 443 if file $filearg $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then443 if /usr/bin/file $filearg $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then 444 444 check_link $chklib64 445 445 ret=$link_result 446 446 else 447 logmsg " file $filearg $chklib64 | grep '64-bit'"448 if file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then447 logmsg " /usr/bin/file $filearg $chklib64 | grep '64-bit'" 448 if /usr/bin/file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then 449 449 ret=1 450 450 fi 451 451 fi