diff options
author | D G Turner | 2014-05-17 23:28:00 +0100 |
---|---|---|
committer | D G Turner | 2014-05-17 23:28:00 +0100 |
commit | 54c957913a0345709b04c2d78c73238ddfb7d1f1 (patch) | |
tree | af427962c801b9bebe04e30d675fb2ee539ef91a | |
parent | bee54dc048512904941487d6f1f7664b690d666c (diff) | |
download | scummvm-rg350-54c957913a0345709b04c2d78c73238ddfb7d1f1.tar.gz scummvm-rg350-54c957913a0345709b04c2d78c73238ddfb7d1f1.tar.bz2 scummvm-rg350-54c957913a0345709b04c2d78c73238ddfb7d1f1.zip |
CONFIGURE: Add support for host-alias prefixed strings binary.
This is the last outstanding change of patch #1359 - "Update
wii/gamecube configure" submitted on 2010-11-15.
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1843,6 +1843,12 @@ if test "$_global_constructors" = yes; then fi echo $_global_constructors +if test ! "x$(which $_host_alias-strings)" = "x"; then +_strings=$_host_alias-strings +else +_strings=strings +fi + # # Check for endianness # @@ -1857,7 +1863,7 @@ void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; } int main() { _ascii (); _ebcdic (); return 0; } EOF $CXX $CXXFLAGS -c -o $TMPO.o tmp_endianness_check.cpp -if strings $TMPO.o | grep BIGenDianSyS >/dev/null; then +if $_strings $TMPO.o | grep BIGenDianSyS >/dev/null; then _endian=big elif strings $TMPO.o | grep LiTTleEnDian >/dev/null; then _endian=little |