summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-01 10:41:54 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-01 10:56:11 +0900
commitca3cc677b31897e7306ac3b4565a0dd928168b08 (patch)
tree24a1a7d124a857639ee800f37ca03aca58350383
parent1f5f8a187adb746b01cc95c3f29a0a355f513374 (diff)
Define ACTION-IF-UNIVERSAL of `AC_C_BIGENDIAN` [Bug #18156]
As we do not use config.h.in, just define the helper macro instead.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c7059ee1ec..d62bce4d92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1385,7 +1385,7 @@ AS_CASE(["$target_os"],
])
])
-AC_C_BIGENDIAN
+AC_C_BIGENDIAN([], [], [], [AC_DEFINE(AC_APPLE_UNIVERSAL_BUILD, 1)])
AC_C_CONST
AC_C_CHAR_UNSIGNED
AC_C_INLINE