server: Use thr_kill2 syscall to signal threads on FreeBSD.
diff --git a/configure b/configure
index 101511d..8c3db36 100755
--- a/configure
+++ b/configure
@@ -15689,6 +15689,7 @@
 
 
 
+
 for ac_func in \
 	_pclose \
 	_popen \
@@ -15746,6 +15747,7 @@
 	strncasecmp \
 	strtold \
 	tcgetattr \
+	thr_kill2 \
 	timegm \
 	usleep \
 	vsnprintf \