Here is the updated patch.

-- 
Regards,
Aron Xu
--- a/configure
+++ b/configure
@@ -12661,6 +12661,10 @@
 $as_echo_n "checking host platform characteristics... " >&6; }
 
 case "$host" in
+    *-*-*kfreebsd*)
+    HOST_LIBS="-ldl -lpthread"
+    md5prog=md5sum
+    ;;
     *-*-*freebsd*)
     HOST_LIBS="-lexecinfo -pthread"
     md5prog=gmd5sum
@@ -12669,6 +12673,10 @@
     HOST_LIBS="-ldl -lpthread"
     md5prog=md5sum
     ;;
+    *-*-gnu*)
+    HOST_LIBS="-ldl -lpthread"
+    md5prog=md5sum
+   ;;
 esac
 
 
--- a/configure.in
+++ b/configure.in
@@ -29,6 +29,10 @@
 AC_MSG_CHECKING([host platform characteristics])
 
 case "$host" in
+    *-*-*kfreebsd*)
+    HOST_LIBS="-ldl -lpthread"
+    md5prog=md5sum
+    ;;
     *-*-*freebsd*)
     HOST_LIBS="-lexecinfo -pthread"
     md5prog=gmd5sum
@@ -37,6 +41,10 @@
     HOST_LIBS="-ldl -lpthread"
     md5prog=md5sum
     ;;
+    *-*-gnu*)
+    HOST_LIBS="-ldl -lpthread"
+    md5prog=md5sum
+    ;;
 esac
 
 AC_SUBST(HOST_LIBS)

Reply via email to