From e540ab7dbce61d22e02f04839cef28e155e67304 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 15 Sep 2008 13:38:19 +0200 Subject: [PATCH] Test for each of the missing macros individually. --- ChangeLog | 6 ++++++ m4/errno_h.m4 | 26 +++++++++++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6817f88593..65b21fd8a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-15 Bruno Haible + + * m4/errno_h.m4 (gl_HEADER_ERRNO_H_BODY): Test for all the macros that + are missing on OpenBSD 4.0 individually. + Reported by Yoann Vandoorselaere . + 2008-09-15 Bruno Haible * doc/posix-headers/errno.texi: Mention the Cygwin problem. diff --git a/m4/errno_h.m4 b/m4/errno_h.m4 index 7f59e88d17..b5af07800c 100644 --- a/m4/errno_h.m4 +++ b/m4/errno_h.m4 @@ -17,7 +17,31 @@ AC_DEFUN([gl_HEADER_ERRNO_H_BODY], AC_CACHE_CHECK([for complete errno.h], gl_cv_header_errno_h_complete, [ AC_EGREP_CPP(booboo,[ #include -#if !defined EOVERFLOW || !defined ECANCELED +#if !defined ENOMSG +booboo +#endif +#if !defined EIDRM +booboo +#endif +#if !defined ENOLINK +booboo +#endif +#if !defined EPROTO +booboo +#endif +#if !defined EMULTIHOP +booboo +#endif +#if !defined EBADMSG +booboo +#endif +#if !defined EOVERFLOW +booboo +#endif +#if !defined ENOTSUP +booboo +#endif +#if !defined ECANCELED booboo #endif ], -- 2.30.2