diff options
author | Theo Buehler <tb@openbsd.org> | 2024-11-02 15:09:10 +0100 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-11-02 15:09:10 +0100 |
commit | 03b3f780ead4a360d16ed4d5094ab3ce5c4f6622 (patch) | |
tree | e871d0063ef4e2aee0d9e6afd56fee9d78e516c3 | |
parent | c46bc4cf868fbe3d17a4d5d73d15a5b35b0ff026 (diff) | |
parent | 4db5917a6d51dfa71d446e1de5e51a5ca089a109 (diff) | |
download | portable-03b3f780ead4a360d16ed4d5094ab3ce5c4f6622.tar.gz portable-03b3f780ead4a360d16ed4d5094ab3ce5c4f6622.tar.bz2 portable-03b3f780ead4a360d16ed4d5094ab3ce5c4f6622.zip |
Land #1230 - move from error to warning for unknown OS
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | m4/check-os-options.m4 | 1 |
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 | ||
33 | CHECK_OS_OPTIONS | 33 | CHECK_OS_OPTIONS |
34 | 34 | ||
35 | if test "$HOST_OS" = "unsupported"; then | ||
36 | AC_MSG_ERROR([unsupported platform: $host_os]) | ||
37 | fi | ||
38 | |||
39 | CHECK_C_HARDENING_OPTIONS | 35 | CHECK_C_HARDENING_OPTIONS |
40 | 36 | ||
41 | DISABLE_AS_EXECUTABLE_STACK | 37 | DISABLE_AS_EXECUTABLE_STACK |
@@ -163,3 +159,7 @@ AM_CONDITIONAL([ENABLE_LIBTLS_ONLY], [test "x$enable_libtls_only" = xyes]) | |||
163 | AC_REQUIRE_AUX_FILE([tap-driver.sh]) | 159 | AC_REQUIRE_AUX_FILE([tap-driver.sh]) |
164 | 160 | ||
165 | AC_OUTPUT | 161 | AC_OUTPUT |
162 | |||
163 | if test "$HOST_OS" = "unsupported"; then | ||
164 | AC_MSG_WARN([unsupported platform: $host_os]) | ||
165 | fi | ||
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 | ;; |
137 | esac | 138 | esac |
138 | 139 | ||