diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2022-09-05 08:48:13 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-12 16:41:29 +0100 |
commit | edfca3b7e5931b5b5a83112e2a9813b068be99c2 (patch) | |
tree | 98f105cff95a668f5ecab668964bbcf1138d4d02 /m4/errno_h.m4 | |
parent | fe2a0c54ac7863a705da8f64fd548e4817b3fb72 (diff) | |
download | guile-edfca3b7e5931b5b5a83112e2a9813b068be99c2.tar.gz |
Update gnulib to 0.1.5414-8204d and add posix_spawn, posix_spawnp.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'm4/errno_h.m4')
-rw-r--r-- | m4/errno_h.m4 | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/m4/errno_h.m4 b/m4/errno_h.m4 index 51dfe9293..4be9780a7 100644 --- a/m4/errno_h.m4 +++ b/m4/errno_h.m4 @@ -1,5 +1,5 @@ -# errno_h.m4 serial 13 -dnl Copyright (C) 2004, 2006, 2008-2021 Free Software Foundation, Inc. +# errno_h.m4 serial 14 +dnl Copyright (C) 2004, 2006, 2008-2022 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -68,13 +68,11 @@ booboo [gl_cv_header_errno_h_complete=yes]) ]) if test $gl_cv_header_errno_h_complete = yes; then - ERRNO_H='' + GL_GENERATE_ERRNO_H=false else gl_NEXT_HEADERS([errno.h]) - ERRNO_H='errno.h' + GL_GENERATE_ERRNO_H=true fi - AC_SUBST([ERRNO_H]) - AM_CONDITIONAL([GL_GENERATE_ERRNO_H], [test -n "$ERRNO_H"]) gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) gl_REPLACE_ERRNO_VALUE([ENOLINK]) gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) @@ -88,7 +86,7 @@ booboo # Set the variables EOVERFLOW_HIDDEN and EOVERFLOW_VALUE. AC_DEFUN([gl_REPLACE_ERRNO_VALUE], [ - if test -n "$ERRNO_H"; then + if $GL_GENERATE_ERRNO_H; then AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [ AC_EGREP_CPP([yes],[ #include <errno.h> |