summaryrefslogtreecommitdiff
path: root/m4/posix_spawn.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-02-07 21:33:13 +0100
committerBruno Haible <bruno@clisp.org>2021-02-07 21:33:13 +0100
commit71a8a22eac2abfa80ae4d35462fa0733c688383c (patch)
tree081c43704d6db86e9c553be723bba12e221a69fe /m4/posix_spawn.m4
parentae05418d45b65c052f387f05df1fb048c776b172 (diff)
downloadgnulib-71a8a22eac2abfa80ae4d35462fa0733c688383c.tar.gz
Add cross-compilation guesses for MidnightBSD.
* m4/malloc.m4 (_AC_FUNC_MALLOC_IF): When cross-compiling, use the result from native compilation. * m4/realloc.m4 (_AC_FUNC_REALLOC_IF): Likewise. * m4/mbrtoc32.m4 (gl_MBRTOC32_SANITYCHECK): Likewise. * m4/mprotect.m4 (gl_FUNC_MPROTECT_WORKS): Likewise. * m4/posix_spawn.m4 (gl_POSIX_SPAWN_SECURE): Likewise. * m4/printf.m4 (gl_PRINTF_SIZES_C99, gl_PRINTF_INFINITE, gl_PRINTF_INFINITE_LONG_DOUBLE, gl_PRINTF_DIRECTIVE_F, gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_RETVAL_C99, gl_SNPRINTF_DIRECTIVE_N, gl_VSNPRINTF_ZEROSIZE_C99): Likewise. * m4/strfmon_l.m4 (gl_FUNC_STRFMON_L): Likewise. * m4/setlocale_null.m4 (gl_FUNC_SETLOCALE_NULL): Use predetermined result on MidnightBSD.
Diffstat (limited to 'm4/posix_spawn.m4')
-rw-r--r--m4/posix_spawn.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/posix_spawn.m4 b/m4/posix_spawn.m4
index da8713038c..84b7a13f2a 100644
--- a/m4/posix_spawn.m4
+++ b/m4/posix_spawn.m4
@@ -1,4 +1,4 @@
-# posix_spawn.m4 serial 20
+# posix_spawn.m4 serial 21
dnl Copyright (C) 2008-2021 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -525,7 +525,8 @@ AC_DEFUN([gl_POSIX_SPAWN_SECURE],
*-gnu* | *-musl* | netbsd*)
gl_cv_func_posix_spawnp_secure_exec="guessing yes" ;;
# Guess no on GNU/Hurd, macOS, FreeBSD, OpenBSD, AIX, Solaris, Cygwin.
- gnu* | darwin* | freebsd* | dragonfly* | openbsd* | aix* | solaris* | cygwin*)
+ gnu* | darwin* | freebsd* | dragonfly* | midnightbsd* | openbsd* | \
+ aix* | solaris* | cygwin*)
gl_cv_func_posix_spawnp_secure_exec="guessing no" ;;
# If we don't know, obey --enable-cross-guesses.
*)