Skip to content

Commit

Permalink
Land #1230 - move from error to warning for unknown OS
Browse files Browse the repository at this point in the history
  • Loading branch information
botovq committed Nov 2, 2024
2 parents c46bc4c + 4db5917 commit 03b3f78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -163,3 +159,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
1 change: 1 addition & 0 deletions m4/check-os-options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ char buf[1]; getentropy(buf, 1);
;;
*)
HOST_OS=unsupported
HOST_ABI=elf
;;
esac
Expand Down

0 comments on commit 03b3f78

Please sign in to comment.