X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fsys_utsname;h=82aa31bdf47861806c00fc8a69df5754d3a31285;hb=23eecb48e39afd0d267d64d40ba6bf97aa865e13;hp=1a3d8ec2d574e25b1be2895481dae8a7edd187e2;hpb=cbd5934b1918d73022d1d1d9904112f3d6d7f187;p=gnulib.git diff --git a/modules/sys_utsname b/modules/sys_utsname index 1a3d8ec2d..82aa31bdf 100644 --- a/modules/sys_utsname +++ b/modules/sys_utsname @@ -6,9 +6,9 @@ lib/sys_utsname.in.h m4/sys_utsname_h.m4 Depends-on: -arg-nonnull include_next -warn-on-use +snippet/arg-nonnull +snippet/warn-on-use configure.ac: gl_SYS_UTSNAME_H @@ -19,15 +19,17 @@ BUILT_SOURCES += sys/utsname.h # We need the following in order to create when the system # does not have one. -sys/utsname.h: sys_utsname.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H) +sys/utsname.h: sys_utsname.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H) $(AM_V_at)$(MKDIR_P) sys $(AM_V_GEN)rm -f $@-t $@ && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - sed -e 's/@''HAVE_SYS_UTSNAME_H''@/$(HAVE_SYS_UTSNAME_H)/g' \ + sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ + -e 's/@''HAVE_SYS_UTSNAME_H''@/$(HAVE_SYS_UTSNAME_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_SYS_UTSNAME_H''@|$(NEXT_SYS_UTSNAME_H)|g' \ - -e 's|@''GNULIB_UNAME''@|$(GNULIB_UNAME)|g' \ + -e 's/@''GNULIB_UNAME''@/$(GNULIB_UNAME)/g' \ -e 's|@''HAVE_STRUCT_UTSNAME''@|$(HAVE_STRUCT_UTSNAME)|g' \ -e 's|@''HAVE_UNAME''@|$(HAVE_UNAME)|g' \ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \