aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-11-02 15:09:10 +0100
committerTheo Buehler <tb@openbsd.org>2024-11-02 15:09:10 +0100
commit03b3f780ead4a360d16ed4d5094ab3ce5c4f6622 (patch)
treee871d0063ef4e2aee0d9e6afd56fee9d78e516c3
parentc46bc4cf868fbe3d17a4d5d73d15a5b35b0ff026 (diff)
parent4db5917a6d51dfa71d446e1de5e51a5ca089a109 (diff)
downloadportable-03b3f780ead4a360d16ed4d5094ab3ce5c4f6622.tar.gz
portable-03b3f780ead4a360d16ed4d5094ab3ce5c4f6622.tar.bz2
portable-03b3f780ead4a360d16ed4d5094ab3ce5c4f6622.zip
Land #1230 - move from error to warning for unknown OS
-rw-r--r--configure.ac8
-rw-r--r--m4/check-os-options.m41
2 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 87a80cc..864a4ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,10 +32,6 @@ LT_INIT([pic-only])
32 32
33CHECK_OS_OPTIONS 33CHECK_OS_OPTIONS
34 34
35if test "$HOST_OS" = "unsupported"; then
36 AC_MSG_ERROR([unsupported platform: $host_os])
37fi
38
39CHECK_C_HARDENING_OPTIONS 35CHECK_C_HARDENING_OPTIONS
40 36
41DISABLE_AS_EXECUTABLE_STACK 37DISABLE_AS_EXECUTABLE_STACK
@@ -163,3 +159,7 @@ AM_CONDITIONAL([ENABLE_LIBTLS_ONLY], [test "x$enable_libtls_only" = xyes])
163AC_REQUIRE_AUX_FILE([tap-driver.sh]) 159AC_REQUIRE_AUX_FILE([tap-driver.sh])
164 160
165AC_OUTPUT 161AC_OUTPUT
162
163if test "$HOST_OS" = "unsupported"; then
164 AC_MSG_WARN([unsupported platform: $host_os])
165fi
diff --git a/m4/check-os-options.m4 b/m4/check-os-options.m4
index 91c3021..2ef4293 100644
--- a/m4/check-os-options.m4
+++ b/m4/check-os-options.m4
@@ -133,6 +133,7 @@ char buf[1]; getentropy(buf, 1);
133 ;; 133 ;;
134 *) 134 *)
135 HOST_OS=unsupported 135 HOST_OS=unsupported
136 HOST_ABI=elf
136 ;; 137 ;;
137esac 138esac
138 139