From e3aa23c3ffc7552a7915887d78b4f1b280399e58 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Mon, 11 Nov 2024 22:15:58 +0100 Subject: [PATCH] Update patch for ax_c_float_words_bigendian.m4 (#34) Fix endianness detection for Emscripten. Upstream patch: autoconf-archive/autoconf-archive#316 --- autoconf/ax_c_float_words_bigendian.diff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoconf/ax_c_float_words_bigendian.diff b/autoconf/ax_c_float_words_bigendian.diff index 9785589..409f1ee 100644 --- a/autoconf/ax_c_float_words_bigendian.diff +++ b/autoconf/ax_c_float_words_bigendian.diff @@ -58,7 +58,7 @@ index 216b90d8..52036844 100644 # warranty. -#serial 11 -+#serial 12 ++#serial 14 AC_DEFUN([AX_C_FLOAT_WORDS_BIGENDIAN], [AC_CACHE_CHECK(whether float word ordering is bigendian, @@ -82,11 +82,11 @@ index 216b90d8..52036844 100644 ]])], [ -if grep noonsees conftest.$ac_objext >/dev/null ; then -+if grep noonsees conftest$EXEEXT >/dev/null ; then ++if grep noonsees conftest* > /dev/null ; then ax_cv_c_float_words_bigendian=yes fi -if grep seesnoon conftest.$ac_objext >/dev/null ; then -+if grep seesnoon conftest$EXEEXT >/dev/null ; then ++if grep seesnoon conftest* >/dev/null ; then if test "$ax_cv_c_float_words_bigendian" = unknown; then ax_cv_c_float_words_bigendian=no else