The Hurd's errno.h is attached. I think this patch is not portable enough. Index: configure.ac =================================================================== RCS file: /cvsroot/zsh/zsh/configure.ac,v retrieving revision 1.42 diff -u -r1.42 configure.ac --- configure.ac 30 Oct 2005 16:57:05 -0000 1.42 +++ configure.ac 27 Nov 2005 17:49:53 -0000 @@ -1316,7 +1316,7 @@ dnl Try to make sure it doesn't get confused by files that don't dnl have real error definitions in. Count definitions to make sure. nerrs=`test -f $ERRNO_H && \ - grep '#[ ]*define[ ][ ]*E[0-9A-Z]*[ ]*[0-9][0-9]*' $ERRNO_H | \ + grep -E '#[ ]*define[ ][ ]*E[0-9A-Z]*[ ]*(_HURD_ERRNO \()?[0-9]+\)?' $ERRNO_H | \ wc -l | sed 's/[ ]//g'` test "x$nerrs" != x && test "$nerrs" -ge 7 && break done