From a2dda5ec84c84af9cd6d7b321051523da68cb7a5 Mon Sep 17 00:00:00 2001 From: CismonX Date: Fri, 21 Mar 2025 09:06:30 +0800 Subject: [PATCH] build: hard fail on unsupported platforms Attempting to build on an unsupported platform should trigger an error instead of a warning. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c27d16d..24e5119 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ AS_CASE(["${host_os}"], [linux*], [ ], [freebsd*], [ AS_VAR_SET([host_os_is_freebsd], [yes]) ], [ - AC_MSG_WARN(m4_normalize([Unsupported platform "${host_os}".])) + AC_MSG_ERROR(m4_normalize([Unsupported platform "${host_os}".])) ]) # -- Checks for programs --