summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorDan Amelang <dan@amelang.net>2006-12-12 16:34:50 -0800
committerDan Amelang <dan@amelang.net>2006-12-12 16:34:50 -0800
commita87f494d4b91f3acc78d6d7dd737939633f28d71 (patch)
treee5d222d871016a436344eb3bc2c63a70d088ca3c /acinclude.m4
parent41e01d95edd7eb573a8b79acd0ab2b9de8cdab40 (diff)
Don't use the GNU-only grep option "-a"
We now use strings first, then grep to find the magic value, as suggested by various people in the reports for the bugs that this fixes: https://bugs.freedesktop.org/show_bug.cgi?id=9247 https://bugs.freedesktop.org/show_bug.cgi?id=9124
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index ae78d9761..a8c4743b8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -84,10 +84,10 @@ double d = 909042349670368103374704789055050114762116927356156320147971208440534
]])], [
-if grep -a noonsees conftest.$ac_objext >/dev/null ; then
+if strings -a conftest.$ac_objext | grep noonsees >/dev/null ; then
ax_cv_c_float_words_bigendian=yes
fi
-if grep -a seesnoon conftest.$ac_objext >/dev/null ; then
+if strings -a conftest.$ac_objext | grep seesnoon >/dev/null ; then
if test "$ax_cv_c_float_words_bigendian" = unknown; then
ax_cv_c_float_words_bigendian=no
else