diff options
Diffstat (limited to 'gnulib/modules/snippet/arg-nonnull')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/modules/snippet/arg-nonnull | 40 |
2 files changed, 40 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/modules/snippet/arg-nonnull b/gnulib/modules/snippet/arg-nonnull new file mode 100644 index 0000000..a85a5e2 --- /dev/null +++ b/gnulib/modules/snippet/arg-nonnull @@ -0,0 +1,40 @@ +Description: +A C macro for declaring that specific arguments must not be NULL. + +Applicability: +all + +Files: +build-aux/snippet/arg-nonnull.h + +Depends-on: + +configure.ac: + +Makefile.am: +# The BUILT_SOURCES created by this Makefile snippet are not used via #include +# statements but through direct file reference. Therefore this snippet must be +# present in all Makefile.am that need it. This is ensured by the applicability +# 'all' defined above. + +BUILT_SOURCES += arg-nonnull.h +# The arg-nonnull.h that gets inserted into generated .h files is the same as +# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut +# off. +arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/GL_ARG_NONNULL/,$$p' \ + < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t + +ARG_NONNULL_H=arg-nonnull.h + +Include: + +License: +LGPLv2+ + +Maintainer: +Bruno Haible |