diff options
author | Bruno Haible <bruno@clisp.org> | 2023-01-07 14:32:04 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-01-07 18:06:51 +0100 |
commit | 046c426c7bf141b69380597709caaebf1a6c0761 (patch) | |
tree | 7af877a72ac39076e6e93f30e64ce6c0a7d71f13 | |
parent | 255c6884399a1082984fdfb1680802193bfeaf19 (diff) | |
download | gnulib-046c426c7bf141b69380597709caaebf1a6c0761.tar.gz |
posix_spawn: Rename LIB_POSIX_SPAWN to POSIX_SPAWN_LIB.
* m4/spawn_h.m4: Rename LIB_POSIX_SPAWN to POSIX_SPAWN_LIB.
All uses changed.
* NEWS: Mention the change.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | m4/spawn_h.m4 | 11 | ||||
-rw-r--r-- | modules/posix_spawn | 2 |
4 files changed, 18 insertions, 5 deletions
@@ -1,5 +1,12 @@ 2023-01-07 Bruno Haible <bruno@clisp.org> + posix_spawn: Rename LIB_POSIX_SPAWN to POSIX_SPAWN_LIB. + * m4/spawn_h.m4: Rename LIB_POSIX_SPAWN to POSIX_SPAWN_LIB. + All uses changed. + * NEWS: Mention the change. + +2023-01-07 Bruno Haible <bruno@clisp.org> + poll: Rename LIB_POLL to POLL_LIB. * m4/poll.m4: Rename LIB_POLL to POLL_LIB. All uses changed. @@ -74,6 +74,9 @@ User visible incompatible changes Date Modules Changes +2023-01-07 posix_spawn Link with $(POSIX_SPAWN_LIB) instead of + $(LIB_POSIX_SPAWN). + 2023-01-07 poll Link with $(POLL_LIB) instead of $(LIB_POLL). 2023-01-07 nanosleep Link with $(NANOSLEEP_LIB) instead of diff --git a/m4/spawn_h.m4 b/m4/spawn_h.m4 index 118490adb7..3bee0f7be4 100644 --- a/m4/spawn_h.m4 +++ b/m4/spawn_h.m4 @@ -1,4 +1,4 @@ -# spawn_h.m4 serial 22 +# 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, @@ -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]) + 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 diff --git a/modules/posix_spawn b/modules/posix_spawn index b150aab643..6ca7ab9331 100644 --- a/modules/posix_spawn +++ b/modules/posix_spawn @@ -24,7 +24,7 @@ Include: <spawn.h> Link: -$(LIB_POSIX_SPAWN) +$(POSIX_SPAWN_LIB) License: LGPLv2+ |