Author: Sergei Golovan
Description: Patch fixes build for GNU/kFreeBSD and GNU/Hurd architectures.
Last-Modified: Thu, 14 Apr 2016 23:42:46 +0300

--- a/configure
+++ b/configure
@@ -8142,7 +8142,7 @@
 fi
 
 	    ;;
-	Linux*)
+	Linux*|GNU*)
 	    SHLIB_CFLAGS="-fPIC"
 	    SHLIB_LD_LIBS='${LIBS}'
 	    SHLIB_SUFFIX=".so"
--- a/tclconfig/tcl.m4
+++ b/tclconfig/tcl.m4
@@ -1574,7 +1574,7 @@
 	        ])
 	    ])
 	    ;;
-	Linux*)
+	Linux*|GNU*)
 	    SHLIB_CFLAGS="-fPIC"
 	    SHLIB_LD_LIBS='${LIBS}'
 	    SHLIB_SUFFIX=".so"
