@@ -72,10 +72,6 @@ VC_LIST_EXCEPT = \
72
72
| $(GREP ) -Ev -e '($(VC_LIST_ALWAYS_EXCLUDE_REGEX ) |$(_sc_excl ) )' \
73
73
$(_prepend_srcdir_prefix )
74
74
75
- # Override this in syntax-check.mk if you are using a different format in your
76
- # NEWS file.
77
- today = $(shell date +% Y-% m-% d)
78
-
79
75
# Prevent programs like 'sort' from considering distinct strings to be equal.
80
76
# Doing it here saves us from having to set LC_ALL elsewhere in this file.
81
77
export LC_ALL = C
@@ -1744,29 +1740,6 @@ sc_prohibit_test_double_equal:
1744
1740
halt= ' use "test x = x", not "test x =' ' = x"' \
1745
1741
$( _sc_search_regexp)
1746
1742
1747
- # Each program that uses proper_name_utf8 must link with one of the
1748
- # ICONV libraries. Otherwise, some ICONV library must appear in LDADD.
1749
- # The perl -0777 invocation below extracts the possibly-multi-line
1750
- # definition of LDADD from the appropriate Makefile.am and exits 0
1751
- # when it contains "ICONV".
1752
- sc_proper_name_utf8_requires_ICONV:
1753
- @progs= $$ ($( VC_LIST_EXCEPT) \
1754
- | xargs $( GREP) -l ' proper_name_utf8 ' ' ("' ); \
1755
- if test " x$$ progs" ! = x; then \
1756
- fail=0; \
1757
- for p in $$ progs; do \
1758
- dir=$$ (dirname " $$ p" ); \
1759
- perl -0777 \
1760
- -ne ' exit !(/^LDADD =(.+?[^\\]\n)/ms && $$1 =~ /ICONV/)' \
1761
- $$ dir/Makefile.am && continue ; \
1762
- base=$$ (basename " $$ p" .c); \
1763
- $( GREP) " $$ {base}_LDADD.*ICONV)" $$ dir/Makefile.am > /dev/null \
1764
- || { fail=1; echo 1>&2 " $( ME) : $$ p uses proper_name_utf8" ; }; \
1765
- done ; \
1766
- test $$ fail = 1 && \
1767
- { echo 1>&2 ' $(ME): the above do not link with any ICONV library' ; \
1768
- exit 1; } || : ; \
1769
- fi
1770
1743
1771
1744
# Warn about "c0nst struct Foo const foo[]",
1772
1745
# but not about "char const *const foo" or "#define const const".
@@ -1828,33 +1801,6 @@ sc_po_check:
1828
1801
rm -f $@ -1 $@ -2; \
1829
1802
fi
1830
1803
1831
- # Check that 'make alpha' will not fail at the end of the process,
1832
- # i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release)
1833
- # and is read-only.
1834
- writable-files:
1835
- $( AM_V_GEN) if test -d $( release_archive_dir) ; then \
1836
- for file in $( DIST_ARCHIVES) ; do \
1837
- for p in ./ $( release_archive_dir) /; do \
1838
- test -e $$ p$$ file || continue ; \
1839
- test -w $$ p$$ file \
1840
- || { echo ERROR: $$ p$$ file is not writable; fail=1; }; \
1841
- done ; \
1842
- done ; \
1843
- test " $$ fail" && exit 1 || : ; \
1844
- else : ; \
1845
- fi
1846
-
1847
-
1848
- # BRE regex of file contents to identify a test script.
1849
- _test_script_regex ? = \< init\. sh\>
1850
-
1851
- # In tests, use "compare expected actual", not the reverse.
1852
- sc_prohibit_reversed_compare_failure:
1853
- @prohibit= ' \<compare [^ ]+ ([^ ]*exp|/dev/null)' \
1854
- containing= ' $(_test_script_regex)' \
1855
- halt= ' reversed compare arguments' \
1856
- $( _sc_search_regexp)
1857
-
1858
1804
# #if HAVE_... will evaluate to false for any non numeric string.
1859
1805
# That would be flagged by using -Wundef, however gnulib currently
1860
1806
# tests many undefined macros, and so we can't enable that option.
0 commit comments