[cairo-commit] acinclude.m4

Dan Amelang dan at kemper.freedesktop.org
Tue Dec 12 16:35:32 PST 2006


 acinclude.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
diff-tree a87f494d4b91f3acc78d6d7dd737939633f28d71 (from 41e01d95edd7eb573a8b79acd0ab2b9de8cdab40)
Author: Dan Amelang <dan at amelang.net>
Date:   Tue Dec 12 16:34:50 2006 -0800

    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

diff --git a/acinclude.m4 b/acinclude.m4
index ae78d97..a8c4743 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -84,10 +84,10 @@ double d = 90904234967036810337470478905
 
 ]])], [
 
-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


More information about the cairo-commit mailing list