summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-11-29 16:39:21 +0000
committerClint Adams <clint@users.sourceforge.net>2005-11-29 16:39:21 +0000
commitd99218b63befc76bda393ca42323f8280777e343 (patch)
tree85e0d2321140695980f48595f88058b072585802
parent582c6d2098e15427e7300660810b544b48a9626c (diff)
downloadzsh-d99218b63befc76bda393ca42323f8280777e343.tar.gz
zsh-d99218b63befc76bda393ca42323f8280777e343.tar.xz
zsh-d99218b63befc76bda393ca42323f8280777e343.zip
22042: handle the Hurd's errno.h.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b0f7c6cef..451195160 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1316,7 +1316,7 @@ do
   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