| 1 | --- configure.orig 2011-08-18 09:46:14.000000000 -0500 |
| 2 | +++ configure 2011-09-14 17:42:51.000000000 -0500 |
| 3 | @@ -356,14 +356,14 @@ |
| 4 | |
| 5 | case $arch in |
| 6 | macosx) |
| 7 | - logmsg " file -L $chklibcompat | grep 'i386'" |
| 8 | - if file -L $chklibcompat | grep 'i386' > /dev/null 2>& 1 ; then |
| 9 | + logmsg " /usr/bin/file -L $chklibcompat | grep 'i386'" |
| 10 | + if /usr/bin/file -L $chklibcompat | grep 'i386' > /dev/null 2>& 1 ; then |
| 11 | ret=1 |
| 12 | fi |
| 13 | ;; |
| 14 | macosx64) |
| 15 | - logmsg " file -L $chklibcompat | grep 'x86_64'" |
| 16 | - if file -L $chklibcompat | grep 'x86_64' > /dev/null 2>& 1 ; then |
| 17 | + logmsg " /usr/bin/file -L $chklibcompat | grep 'x86_64'" |
| 18 | + if /usr/bin/file -L $chklibcompat | grep 'x86_64' > /dev/null 2>& 1 ; then |
| 19 | ret=1 |
| 20 | fi |
| 21 | ;; |
| 22 | @@ -403,12 +403,12 @@ |
| 23 | ret=1 |
| 24 | fi |
| 25 | else |
| 26 | - if file -L $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then |
| 27 | + if /usr/bin/file -L $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then |
| 28 | check_link $chklib64 |
| 29 | ret=$link_result |
| 30 | else |
| 31 | - logmsg " file -L $chklib64 | grep '64-bit'" |
| 32 | - if file -L $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then |
| 33 | + logmsg " /usr/bin/file -L $chklib64 | grep '64-bit'" |
| 34 | + if /usr/bin/file -L $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then |
| 35 | ret=1 |
| 36 | fi |
| 37 | fi |