diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-01-18 18:25:25 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-18 22:50:18 +0100 |
commit | aeb22f486139f457ae7fc44c2d931312aaae52d8 (patch) | |
tree | 0fbfe6d421e637553f9bca39f08577c0ddb990e8 /m4/spawn_h.m4 | |
parent | 4404b553a5a135aee5a606dedea9b6fa25363be4 (diff) | |
download | guile-aeb22f486139f457ae7fc44c2d931312aaae52d8.tar.gz |
Update Gnulib to v0.1-5703-g356a414e8c and add 'posix_spawn' module.
This is a followup to edfca3b7e5931b5b5a83112e2a9813b068be99c2, which
added the 'posix_spawnp' module but not 'posix_spawn'.
* m4/gnulib-cache.m4: Add 'posix_spawn' module.
* gnulib-local/m4/clock_time.m4.diff: Adjust.
* configure.ac: Move 'gl_EARLY' use right after 'AC_PROG_CC'.
Diffstat (limited to 'm4/spawn_h.m4')
-rw-r--r-- | m4/spawn_h.m4 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/m4/spawn_h.m4 b/m4/spawn_h.m4 index 1b28d8036..3bee0f7be 100644 --- a/m4/spawn_h.m4 +++ b/m4/spawn_h.m4 @@ -1,5 +1,5 @@ -# spawn_h.m4 serial 21 -dnl Copyright (C) 2008-2022 Free Software Foundation, Inc. +# spawn_h.m4 serial 23 +dnl Copyright (C) 2008-2023 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. @@ -65,14 +65,17 @@ AC_DEFUN([gl_HAVE_POSIX_SPAWN], dnl that occur in other macros. AC_REQUIRE([gl_SPAWN_H_DEFAULTS]) - LIB_POSIX_SPAWN= - AC_SUBST([LIB_POSIX_SPAWN]) + POSIX_SPAWN_LIB= + AC_SUBST([POSIX_SPAWN_LIB]) gl_saved_libs=$LIBS AC_SEARCH_LIBS([posix_spawn], [rt], [test "$ac_cv_search_posix_spawn" = "none required" || - LIB_POSIX_SPAWN=$ac_cv_search_posix_spawn]) - AC_CHECK_FUNCS([posix_spawn]) + POSIX_SPAWN_LIB=$ac_cv_search_posix_spawn]) + gl_CHECK_FUNCS_ANDROID([posix_spawn], [[#include <spawn.h>]]) LIBS=$gl_saved_libs + dnl For backward compatibility. + LIB_POSIX_SPAWN="$POSIX_SPAWN_LIB" + AC_SUBST([LIB_POSIX_SPAWN]) if test $ac_cv_func_posix_spawn != yes; then HAVE_POSIX_SPAWN=0 |