diff options
Diffstat (limited to 'gnulib/modules/snippet/link-warning')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/modules/snippet/link-warning | 42 |
2 files changed, 42 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/modules/snippet/link-warning b/gnulib/modules/snippet/link-warning new file mode 100644 index 0000000..77945c1 --- /dev/null +++ b/gnulib/modules/snippet/link-warning @@ -0,0 +1,42 @@ +Description: +A C macro for emitting link time warnings. + +Applicability: +all + +Files: +build-aux/snippet/link-warning.h + +Depends-on: + +configure.ac: +AC_REQUIRE([gl_FEATURES_H]) + +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 += link-warning.h +# The link-warning.h that gets inserted into generated .h files is the same as +# build-aux/snippet/link-warning.h, except that it has the copyright header cut +# off. +link-warning.h: $(top_srcdir)/build-aux/snippet/link-warning.h + $(AM_V_GEN)rm -f $@-t $@ && \ + sed -n -e '/HAVE_FEATURES_H/,$$p' \ + < $(top_srcdir)/build-aux/snippet/link-warning.h \ + | sed -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ + > $@-t && \ + mv $@-t $@ +MOSTLYCLEANFILES += link-warning.h link-warning.h-t + +LINK_WARNING_H=link-warning.h + +Include: + +License: +LGPLv2+ + +Maintainer: +Bruno Haible |