From: Bruno Haible Date: Tue, 24 Dec 2024 10:17:31 +0000 (+0100) Subject: spawn: Support several gnulib-tool invocations better. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=e91c34a6f4248e6c3a37034fffeb0fa71d6528aa;p=gnulib.git spawn: Support several gnulib-tool invocations better. * lib/spawn.in.h (_GL_ALREADY_INCLUDING_SPAWN_H): Rename to a macro that depends on GUARD_PREFIX. --- diff --git a/ChangeLog b/ChangeLog index 3764f44f10..b174dbc3c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-12-24 Bruno Haible + + spawn: Support several gnulib-tool invocations better. + * lib/spawn.in.h (_GL_ALREADY_INCLUDING_SPAWN_H): Rename to a macro that + depends on GUARD_PREFIX. + 2024-12-24 Bruno Haible signal-h: Support several gnulib-tool invocations better. diff --git a/lib/spawn.in.h b/lib/spawn.in.h index 2a4576ff08..71d1505f5d 100644 --- a/lib/spawn.in.h +++ b/lib/spawn.in.h @@ -20,7 +20,7 @@ #endif @PRAGMA_COLUMNS@ -#if defined _GL_ALREADY_INCLUDING_SPAWN_H +#if defined _@GUARD_PREFIX@_ALREADY_INCLUDING_SPAWN_H /* Special invocation convention: On OS/2 kLIBC, includes . Then -> -> -> are included by GNULIB. @@ -36,11 +36,11 @@ /* The include_next requires a split double-inclusion guard. */ #if @HAVE_SPAWN_H@ -# define _GL_ALREADY_INCLUDING_SPAWN_H +# define _@GUARD_PREFIX@_ALREADY_INCLUDING_SPAWN_H # @INCLUDE_NEXT@ @NEXT_SPAWN_H@ -# define _GL_ALREADY_INCLUDING_SPAWN_H +# define _@GUARD_PREFIX@_ALREADY_INCLUDING_SPAWN_H #endif