summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 09c3c503..df4a37d6 100755
--- a/configure
+++ b/configure
@@ -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