From: Francesco Paolo Lovergine <frankie@debian.org>
Date: Wed, 24 Apr 2024 15:02:10 +0800
Subject: Add support for kFreeBSD architectures.

Forwarded: https://github.com/HDFGroup/hdf4/pull/337
Applied-Upstream: https://github.com/HDFGroup/hdf4/commit/8fb2a6b7a0e2b86582ca42f1bdbbdb392839d88a
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 4247225..ecdf8ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -918,7 +918,7 @@ AC_CHECK_FUNCS([fork system wait])
 ## These header files should probably be generated by autoconf instead
 ## of being copied depending upon the host.
 case "$host" in
-  *-linux*)             BAR="linux"       ;;
+  *-linux*|*-k*bsd*-gnu|*-gnu*)BAR="linux"       ;;
   *-freebsd*)           BAR="fbsd"        ;;
   *-ibm-aix*)           BAR="aix"         ;;
   sparc64-*-solaris2*)  BAR="solaris64"   ;;
