commit 4753da089526e231044714131a8cb29cb7a62cb4
parent d8979314c2a8e9b60552af98a51cf7b6074a1bb6
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Wed, 11 Mar 2026 22:54:01 +0100
mhd_sys_extentions.m4: added support for DragonFlyBSD
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/m4/mhd_sys_extentions.m4 b/m4/mhd_sys_extentions.m4
@@ -42,7 +42,7 @@
#
# LICENSE
#
-# Copyright (c) 2016, 2017, 2024 Karlson2k (Evgeny Grin) <k2k@narod.ru>
+# Copyright (c) 2016, 2017, 2024, 2026 Karlson2k (Evgeny Grin)
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
@@ -84,10 +84,15 @@ m4_ifdef([_AC_UNDECLARED_BUILTIN],
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
/* Warning: test with inverted logic! */
#ifdef __FreeBSD__
-#error Target FreeBSD
+#error Target is FreeBSD
choke me now;
#endif /* __FreeBSD__ */
+#ifdef __DragonFly__
+#error Target is DragonFlyBSD
+choke me now;
+#endif /* __DragonFly__ */
+
#ifdef __ANDROID__
#include <android/api-level.h>
#ifndef __ANDROID_API_O__