diff options
| author | June McEnroe <june@causal.agency> | 2026-06-01 14:45:02 -0400 |
|---|---|---|
| committer | June McEnroe <june@causal.agency> | 2026-06-01 14:45:02 -0400 |
| commit | f39835641d4413ef327857f0dc4a24d5b9599861 (patch) | |
| tree | deec6e5701019178078d700fcb187e97c6932c43 /configure.ac | |
| parent | Import LibreSSL 4.0.1 (diff) | |
| download | libretls-f39835641d4413ef327857f0dc4a24d5b9599861.tar.gz libretls-f39835641d4413ef327857f0dc4a24d5b9599861.zip | |
Import LibreSSL 4.1.0
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac index 87a80cc..7a88f27 100644 --- a/configure.ac +++ b/configure.ac @@ -32,10 +32,6 @@ LT_INIT([pic-only]) CHECK_OS_OPTIONS -if test "$HOST_OS" = "unsupported"; then - AC_MSG_ERROR([unsupported platform: $host_os]) -fi - CHECK_C_HARDENING_OPTIONS DISABLE_AS_EXECUTABLE_STACK @@ -90,16 +86,17 @@ AS_CASE([$host_cpu], ) AM_CONDITIONAL([HOST_CPU_IS_INTEL], [test "x$HOSTARCH" = "xintel"]) -AM_CONDITIONAL([HOST_AARCH64], [test "$host_cpu" = "aarch64"]) -AM_CONDITIONAL([HOST_ARM], [test "$host_cpu" = "arm"]) -AM_CONDITIONAL([HOST_I386], [test "$host_cpu" = "i386"]) -AM_CONDITIONAL([HOST_MIPS], [test "$host_cpu" = "mips"]) -AM_CONDITIONAL([HOST_MIPS64], [test "$host_cpu" = "mips64"]) -AM_CONDITIONAL([HOST_POWERPC], [test "$host_cpu" = "powerpc"]) -AM_CONDITIONAL([HOST_POWERPC64], [test "$host_cpu" = "ppc64"]) -AM_CONDITIONAL([HOST_RISCV64], [test "$host_cpu" = "riscv64"]) -AM_CONDITIONAL([HOST_SPARC64], [test "$host_cpu" = "sparc64"]) -AM_CONDITIONAL([HOST_X86_64], [test "$host_cpu" = "x86_64"]) +AM_CONDITIONAL([HOST_AARCH64], [test "$host_cpu" = "aarch64"]) +AM_CONDITIONAL([HOST_ARM], [test "$host_cpu" = "arm"]) +AM_CONDITIONAL([HOST_I386], [test "$host_cpu" = "i386"]) +AM_CONDITIONAL([HOST_LOONGARCH64], [test "$host_cpu" = "loongarch64"]) +AM_CONDITIONAL([HOST_MIPS], [test "$host_cpu" = "mips"]) +AM_CONDITIONAL([HOST_MIPS64], [test "$host_cpu" = "mips64"]) +AM_CONDITIONAL([HOST_POWERPC], [test "$host_cpu" = "powerpc"]) +AM_CONDITIONAL([HOST_POWERPC64], [test "$host_cpu" = "ppc64"]) +AM_CONDITIONAL([HOST_RISCV64], [test "$host_cpu" = "riscv64"]) +AM_CONDITIONAL([HOST_SPARC64], [test "$host_cpu" = "sparc64"]) +AM_CONDITIONAL([HOST_X86_64], [test "$host_cpu" = "x86_64"]) AC_MSG_CHECKING([if .gnu.warning accepts long strings]) AC_LINK_IFELSE([AC_LANG_SOURCE([[ @@ -163,3 +160,7 @@ AM_CONDITIONAL([ENABLE_LIBTLS_ONLY], [test "x$enable_libtls_only" = xyes]) AC_REQUIRE_AUX_FILE([tap-driver.sh]) AC_OUTPUT + +if test "$HOST_OS" = "unsupported"; then + AC_MSG_WARN([unsupported platform: $host_os]) +fi |