From 381caf00a1dfa29b2afb4b0c930fcde4df21c2ee Mon Sep 17 00:00:00 2001 From: barracuda156 Date: Sat, 20 Jan 2024 15:39:53 +0800 Subject: [PATCH 1/6] configure.ac: fix triples --- configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git configure.ac configure.ac index 6bd1d2f..74d5586 100644 --- configure.ac +++ configure.ac @@ -69,7 +69,7 @@ case "$host" in # MacOS. # -*86-*-*darwin* | *86_64-*-*darwin* | aarch64-*-*darwin*) +*-*-darwin*) AC_DEFINE(BUILD_BSD, 1, [Define this if DARWIN was detected]) AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant]) AC_MSG_RESULT([macOS]) @@ -79,7 +79,7 @@ case "$host" in # FreeBSD. # -*86-*-freebsd* | *86_64-*-freebsd*) +*-*-freebsd*) AC_DEFINE(BUILD_BSD, 1, [Define this if FreeBSD was detected]) AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant]) AC_MSG_RESULT([freebsd]) @@ -89,7 +89,7 @@ case "$host" in # NetBSD. # -*86-*-netbsd* | *86_64-*-netbsd*) +*-*-netbsd*) AC_DEFINE(BUILD_BSD, 1, [Define this if NetBSD was detected]) AC_DEFINE(HAVE_IEEE_754, 1, [Define this if IEEE_754 compliant]) AC_MSG_RESULT([netbsd]) @@ -259,7 +259,7 @@ else case "$host" in - *86-*-*darwin* | *86_64-*-*darwin* | aarch64-*-*darwin*) + *-*-darwin*) a68g_ac_arg="-Wl,-export_dynamic" AC_MSG_CHECKING([whether $CC accepts $a68g_ac_arg]) @@ -271,10 +271,10 @@ else # On x86 Darwin we need to have Xcode tools installed and libSystem.dylib available for the plugin compiler case "$host" in - *86-*-*darwin* | *86_64-*-*darwin*) + *86-*-darwin* | *86_64-*-darwin*) AC_DEFINE(EXPORT_DYNAMIC_FLAGS, "-export_dynamic -undefined dynamic_lookup -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -lSystem", [Define link loader flags]) ;; - aarch64-*-*darwin*) + aarch64-*-darwin*) AC_DEFINE(EXPORT_DYNAMIC_FLAGS, "-export_dynamic -undefined dynamic_lookup", [Define link loader flags]) ;; esac