+2024-12-24 Bruno Haible <bruno@clisp.org>
+
+ 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 <bruno@clisp.org>
signal-h: Support several gnulib-tool invocations better.
#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, <spawn.h> includes <signal.h>. Then <signal.h> ->
<pthread.h> -> <sched.h> -> <spawn.h> are included by GNULIB.
/* 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