diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1653,10 +1653,10 @@ if ! conftest_o ; then printf "failed\n"; exit 1; else - if grep -q 'PSILXINUEROCMIWD' conftest.o ; then + if strings conftest.o | grep -q 'PSILXINUEROCMIWD' ; then printf "little\n"; printf "#define HAVE_LITTLE_ENDIAN 1\n" >> config.h - elif grep -q 'LISPUNIXCOREDWIM' conftest.o ; then + elif strings conftest.o | grep -q 'LISPUNIXCOREDWIM' ; then printf "big\n"; printf "#define HAVE_LITTLE_ENDIAN 0\n" >> config.h else |