Skip to content

Commit

Permalink
Update patch for ax_c_float_words_bigendian.m4 (#34)
Browse files Browse the repository at this point in the history
Fix endianness detection for Emscripten.
Upstream patch: autoconf-archive/autoconf-archive#316
  • Loading branch information
hoodmane authored Nov 11, 2024
1 parent 111f55b commit e3aa23c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoconf/ax_c_float_words_bigendian.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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

0 comments on commit e3aa23c

Please sign in to comment.