diff options
author | Dan Amelang <dan@amelang.net> | 2006-12-12 16:34:50 -0800 |
---|---|---|
committer | Dan Amelang <dan@amelang.net> | 2006-12-12 16:34:50 -0800 |
commit | a87f494d4b91f3acc78d6d7dd737939633f28d71 (patch) | |
tree | e5d222d871016a436344eb3bc2c63a70d088ca3c /acinclude.m4 | |
parent | 41e01d95edd7eb573a8b79acd0ab2b9de8cdab40 (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.m4 | 4 |
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 |