X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Flink-warning;h=06f3675cb1bd81d86448ca9c7f979020759a55d9;hb=2ec3c8e506e9692c13ff7bb6fb0eba70c134da6a;hp=935f66a39052ef766e57c6dfd1cda66847a49783;hpb=8d8eda4eab3d2801251daf4eb31756c3595e2fc6;p=gnulib.git diff --git a/modules/link-warning b/modules/link-warning index 935f66a39..06f3675cb 100644 --- a/modules/link-warning +++ b/modules/link-warning @@ -10,6 +10,7 @@ build-aux/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 @@ -22,8 +23,9 @@ BUILT_SOURCES += link-warning.h # build-aux/link-warning.h, except that it has the copyright header cut off. link-warning.h: $(top_srcdir)/build-aux/link-warning.h $(AM_V_GEN)rm -f $@-t $@ && \ - sed -n -e '/GL_LINK_WARNING/,$$p' \ + sed -n -e '/HAVE_FEATURES_H/,$$p' \ < $(top_srcdir)/build-aux/link-warning.h \ + | sed -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ > $@-t && \ mv $@-t $@ MOSTLYCLEANFILES += link-warning.h link-warning.h-t