Author: Ole Streicher <debian@liska.ath.cx>
Description: Extend the known operating systems by Gnu HURD and kfreeBSD.
--- a/configure.in
+++ b/configure.in
@@ -97,7 +97,7 @@
     AC_MSG_ERROR(HEAsoft: Unable to guess system type. Please set it using --with-bindir option)
   fi
   changequote(,)
-  BINDIR=`$UNAME -s 2> /dev/null`_`$UNAME -r 2> /dev/null | sed 's:[^0-9]*\([0-9][0-9]*\.[0-9]*\).*:\1:'`
+  BINDIR=`$UNAME -s 2> /dev/null | sed 's:.*/::'`_`$UNAME -r 2> /dev/null | sed 's:[^0-9]*\([0-9][0-9]*\.[0-9]*\).*:\1:'`
   changequote([,])
   lhea_machine=`$UNAME -m 2> /dev/null`
   BIN_EXT=
@@ -117,7 +117,7 @@
       EXT=hpu
       lhea_machine=`$UNAME -m 2> /dev/null | tr '/' ' ' | awk '{ print $2 }'`
       ;;
-    Linux*)
+    Linux*|kFreeBSD*|GNU*)
       EXT=lnx
       ;;
     OSF1*)
