--- samhain-2.6.2.orig/configure
+++ samhain-2.6.2/configure
@@ -4255,7 +4255,7 @@
 
 case "$host_os" in
 
-	*linux*)
+	*linux*|*-kfreebsd*-gnu|*-gnu*)
 	sh_use_lcaps="yes"
 	cat >>confdefs.h <<\_ACEOF
 #define HOST_IS_LINUX 1
