## We want '-I. -I$(srcdir)', but the latter -I is redundant and
## unaesthetic in non-VPATH builds, so get rid of it if it is not
## actually needed.
- $(call am__uniq, -I. -I$(srcdir) \
+ $(call am.util.uniq, -I. -I$(srcdir) \
$(foreach am__h, $(AM_CONFIG_HEADERS), \
$(patsubst %/,%,-I$(dir $(am__h)))))))
else !%?STDINC%
am.dist.common-files += %DIST-COMMON%
-## Use 'sort', not 'am__uniq', for performance reasons. Luckily, we
+## Use 'sort', not 'am.util.uniq', for performance reasons. Luckily, we
## don't care in which order the distributed files are.
am.dist.all-files = $(call am__memoize,am.dist.all-files,$(strip $(sort \
$(am.dist.common-files) $(am.dist.sources) $(TEXINFOS) $(EXTRA_DIST))))
.PHONY: test-uniq
test-uniq:
- test '$(call am__uniq,)' = ''
- test '$(call am__uniq,1)' = '1'
- test '$(call am__uniq,1 1)' = '1'
- test '$(call am__uniq,1 2)' = '1 2'
- test '$(call am__uniq,2 1)' = '2 1'
- test '$(call am__uniq,1 2 3)' = '1 2 3'
- test '$(call am__uniq,2 3 1)' = '2 3 1'
- test '$(call am__uniq,1 1 1)' = '1'
- test '$(call am__uniq,1 2 1)' = '1 2'
- test '$(call am__uniq,2 1 1)' = '2 1'
- test '$(call am__uniq,2 1 1)' = '2 1'
- test '$(call am__uniq,2 2 1)' = '2 1'
- test '$(call am__uniq,1 1 1 3 1 1 1)' = '1 3'
- test '$(call am__uniq,3 1 1 4 1 4 1 1)' = '3 1 4'
- test '$(call am__uniq, 1 3 1 )' = '1 3'
+ test '$(call am.util.uniq,)' = ''
+ test '$(call am.util.uniq,1)' = '1'
+ test '$(call am.util.uniq,1 1)' = '1'
+ test '$(call am.util.uniq,1 2)' = '1 2'
+ test '$(call am.util.uniq,2 1)' = '2 1'
+ test '$(call am.util.uniq,1 2 3)' = '1 2 3'
+ test '$(call am.util.uniq,2 3 1)' = '2 3 1'
+ test '$(call am.util.uniq,1 1 1)' = '1'
+ test '$(call am.util.uniq,1 2 1)' = '1 2'
+ test '$(call am.util.uniq,2 1 1)' = '2 1'
+ test '$(call am.util.uniq,2 1 1)' = '2 1'
+ test '$(call am.util.uniq,2 2 1)' = '2 1'
+ test '$(call am.util.uniq,1 1 1 3 1 1 1)' = '1 3'
+ test '$(call am.util.uniq,3 1 1 4 1 4 1 1)' = '3 1 4'
+ test '$(call am.util.uniq, 1 3 1 )' = '1 3'
.PHONY: test-strip-suffixes
test-strip-suffixes:
command_ok_ am.util.strip-first-word $MAKE test-strip-first-word
command_ok_ am.util.strip-last-word $MAKE test-strip-last-word
-command_ok_ am__uniq $MAKE test-uniq
+command_ok_ am.util.uniq $MAKE test-uniq
command_ok_ am__test_strip_suffixes $MAKE test-strip-suffixes
command_ok_ am__tolower $MAKE test-tolower
command_ok_ am__toupper $MAKE test-toupper