X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fsys_time;h=e261583aa6f88c914d77d8130969249fcd476977;hb=ae22732e85d6c314545b2b4772e56d7b541ef2d2;hp=ffa714d13136c679e4e7688124aa7b3e16cc94d3;hpb=3a3cb4aaae959d46bdb759820690d9f9e39fb3fe;p=gnulib.git diff --git a/modules/sys_time b/modules/sys_time index ffa714d13..e261583aa 100644 --- a/modules/sys_time +++ b/modules/sys_time @@ -2,11 +2,11 @@ Description: A that conforms better to POSIX. Files: -lib/sys_time_.h +lib/sys_time.in.h m4/sys_time_h.m4 Depends-on: -absolute-header +include_next configure.ac: gl_HEADER_SYS_TIME_H @@ -17,15 +17,16 @@ BUILT_SOURCES += $(SYS_TIME_H) # We need the following in order to create when the system # doesn't have one that works with the given compiler. -sys/time.h: sys_time_.h +sys/time.h: sys_time.in.h @MKDIR_P@ sys rm -f $@-t $@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \ - -e 's|@''ABSOLUTE_SYS_TIME_H''@|$(ABSOLUTE_SYS_TIME_H)|g' \ - -e 's/@''GETTIMEOFDAY_REPLACEMENT''@/$(GETTIMEOFDAY_REPLACEMENT)/g' \ + -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \ + -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ + -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \ -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ - < $(srcdir)/sys_time_.h; \ + < $(srcdir)/sys_time.in.h; \ } > $@-t mv $@-t $@ MOSTLYCLEANFILES += sys/time.h sys/time.h-t @@ -34,7 +35,7 @@ Include: #include License: -LGPL +LGPLv2+ Maintainer: all