diff options
author | Simon Josefsson <simon@josefsson.org> | 2010-05-31 17:48:09 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2010-05-31 17:48:09 +0200 |
commit | bde225af952fd3c607c0dab254e0eca8c076c836 (patch) | |
tree | d208cc63b52b284ced84523d3913b9efae85ee10 | |
parent | ef11b756916c9961d63b373b06ec229841cc07a9 (diff) | |
download | gnutls-bde225af952fd3c607c0dab254e0eca8c076c836.tar.gz |
Update gnulib files.
-rw-r--r-- | GNUmakefile | 6 | ||||
-rw-r--r-- | maint.mk | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index daba47ae2d..97fea36538 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -60,8 +60,10 @@ ifeq ($(_have-git-version-gen)0,yes$(MAKELEVEL)) $(filter maintainer-% dist% alpha beta major,$(MAKECMDGOALS))) _is-install-target ?= $(filter-out %check, $(filter install%,$(MAKECMDGOALS))) ifneq (,$(_is-dist-target)$(_is-install-target)) - _curr-ver := $(shell cd $(srcdir) \ - && $(_build-aux)/git-version-gen .tarball-version) + _curr-ver := $(shell cd $(srcdir) \ + && $(_build-aux)/git-version-gen \ + .tarball-version \ + $(git-version-gen-tag-sed-script)) ifneq ($(_curr-ver),$(VERSION)) ifeq ($(_curr-ver),UNKNOWN) $(info WARNING: unable to verify if $(VERSION) is the correct version) @@ -689,7 +689,8 @@ define def_sym_regex perl -lne '$(gl_extract_significant_defines_)' $$f; \ done; \ ) | sort -u \ - | sed 's/^/^ *# *define /;s/$$/\\>/' + | grep -Ev '^ATTRIBUTE_NORETURN' \ + | sed 's/^/^ *# *(define|undef) */;s/$$/\\>/' endef # Don't define macros that we already get from gnulib header files. @@ -698,7 +699,7 @@ sc_prohibit_always-defined_macros: case $$(echo all: | grep -l -f - Makefile) in Makefile);; *) \ echo '$(ME): skipping $@: you lack GNU grep' 1>&2; exit 0;; \ esac; \ - $(def_sym_regex) | grep -f - $$($(VC_LIST_EXCEPT)) \ + $(def_sym_regex) | grep -E -f - $$($(VC_LIST_EXCEPT)) \ && { echo '$(ME): define the above via some gnulib .h file' \ 1>&2; exit 1; } || :; \ fi |