X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fspawn;h=02adbcf64dc9ba489ba7a1810fdc6d6d5ef548d9;hb=c94cedef255488e271ef59212a9899d9d22c1fae;hp=616cc454f8157ac2cbab2033032304c94544e6f7;hpb=2d4d7d9d00fe33b6f5291e00a30b6c1016775b74;p=gnulib.git diff --git a/modules/spawn b/modules/spawn index 616cc454f..02adbcf64 100644 --- a/modules/spawn +++ b/modules/spawn @@ -6,20 +6,21 @@ lib/spawn.in.h m4/spawn_h.m4 Depends-on: -include_next -link-warning arg-nonnull +c++defs +include_next sched +warn-on-use configure.ac: gl_SPAWN_H Makefile.am: -BUILT_SOURCES += $(SPAWN_H) +BUILT_SOURCES += spawn.h # We need the following in order to create a replacement for when # the system doesn't have one. -spawn.h: spawn.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H) +spawn.h: spawn.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \ @@ -48,9 +49,12 @@ spawn.h: spawn.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H) -e 's|@''GNULIB_POSIX_SPAWNATTR_SETSIGMASK''@|$(GNULIB_POSIX_SPAWNATTR_SETSIGMASK)|g' \ -e 's|@''GNULIB_POSIX_SPAWNATTR_DESTROY''@|$(GNULIB_POSIX_SPAWNATTR_DESTROY)|g' \ -e 's|@''HAVE_POSIX_SPAWN''@|$(HAVE_POSIX_SPAWN)|g' \ + -e 's|@''HAVE_POSIX_SPAWNATTR_T''@|$(HAVE_POSIX_SPAWNATTR_T)|g' \ + -e 's|@''HAVE_POSIX_SPAWN_FILE_ACTIONS_T''@|$(HAVE_POSIX_SPAWN_FILE_ACTIONS_T)|g' \ -e 's|@''REPLACE_POSIX_SPAWN''@|$(REPLACE_POSIX_SPAWN)|g' \ - -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/spawn.in.h; \ } > $@-t && \ mv $@-t $@ @@ -60,7 +64,7 @@ Include: License: -LGPL +LGPLv2+ Maintainer: Bruno Haible, glibc