Skip to content

Commit e3aa23c

Browse files
authored
Update patch for ax_c_float_words_bigendian.m4 (#34)
Fix endianness detection for Emscripten. Upstream patch: autoconf-archive/autoconf-archive#316
1 parent 111f55b commit e3aa23c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoconf/ax_c_float_words_bigendian.diff

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ index 216b90d8..52036844 100644
5858
# warranty.
5959

6060
-#serial 11
61-
+#serial 12
61+
+#serial 14
6262

6363
AC_DEFUN([AX_C_FLOAT_WORDS_BIGENDIAN],
6464
[AC_CACHE_CHECK(whether float word ordering is bigendian,
@@ -82,11 +82,11 @@ index 216b90d8..52036844 100644
8282
]])], [
8383

8484
-if grep noonsees conftest.$ac_objext >/dev/null ; then
85-
+if grep noonsees conftest$EXEEXT >/dev/null ; then
85+
+if grep noonsees conftest* > /dev/null ; then
8686
ax_cv_c_float_words_bigendian=yes
8787
fi
8888
-if grep seesnoon conftest.$ac_objext >/dev/null ; then
89-
+if grep seesnoon conftest$EXEEXT >/dev/null ; then
89+
+if grep seesnoon conftest* >/dev/null ; then
9090
if test "$ax_cv_c_float_words_bigendian" = unknown; then
9191
ax_cv_c_float_words_bigendian=no
9292
else

0 commit comments

Comments
 (0)