]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
maint: convert .x-sc_* into exclude_file_name_regexp--sc_* exemptions
authorJim Meyering <meyering@redhat.com>
Sat, 21 Jan 2012 15:12:45 +0000 (16:12 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 23 Jan 2012 08:12:23 +0000 (09:12 +0100)
Many of the .x-sc_* exemptions were no long necessary.  Remove those
files and instead, provide exemptions via variable definitions in
cfg.mk to address the few remaining exceptions.
* .x-sc_prohibit_atoi_atof: Remove file.
* .x-sc_space_tab: Likewise.
* .x-sc_sun_os_names: Likewise.
* .x-sc_trailing_blank: Likewise.
* .x-sc_two_space_separator_in_usage: Likewise.
* .x-sc_useless_cpp_parens: Likewise.
* cfg.mk: Add minimal exemptions.
* cfg.mk: Add minimal exemptions.
* doc/standards.texi (Standard C): Address the sole useless-cpp-parens
violation in this file:
-#if defined (__STDC__) || defined (WINDOWSNT)
+#if defined __STDC__ || defined WINDOWSNT
With that, the only remaining offender is config.guess, whose name
is now listed in cfg.mk.
Suggested by Eric Blake.

.x-sc_prohibit_atoi_atof [deleted file]
.x-sc_space_tab [deleted file]
.x-sc_sun_os_names [deleted file]
.x-sc_trailing_blank [deleted file]
.x-sc_two_space_separator_in_usage [deleted file]
.x-sc_useless_cpp_parens [deleted file]
cfg.mk
doc/standards.texi

diff --git a/.x-sc_prohibit_atoi_atof b/.x-sc_prohibit_atoi_atof
deleted file mode 100644 (file)
index 4d68f47..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-ChangeLog
-maint.mk
-doc/autoconf.texi
diff --git a/.x-sc_space_tab b/.x-sc_space_tab
deleted file mode 100644 (file)
index f1d23c7..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-build-aux/config.guess
-build-aux/config.sub
-aclocal.m4
-configure
diff --git a/.x-sc_sun_os_names b/.x-sc_sun_os_names
deleted file mode 100644 (file)
index c05fdfd..0000000
+++ /dev/null
@@ -1 +0,0 @@
-build-aux/config.guess
diff --git a/.x-sc_trailing_blank b/.x-sc_trailing_blank
deleted file mode 100644 (file)
index 0227407..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-build-aux/gendocs.sh
-build-aux/texinfo.tex
-doc/gendocs_template
-doc/gnu-oids.texi
-doc/standards.texi
diff --git a/.x-sc_two_space_separator_in_usage b/.x-sc_two_space_separator_in_usage
deleted file mode 100644 (file)
index 1b03a24..0000000
+++ /dev/null
@@ -1 +0,0 @@
-gnupload
diff --git a/.x-sc_useless_cpp_parens b/.x-sc_useless_cpp_parens
deleted file mode 100644 (file)
index 9c134e2..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-build-aux/config.guess
-doc/standards.texi
diff --git a/cfg.mk b/cfg.mk
index 77e04877c3bb07e7f9ac44d3b41cff6b79c5e2ea..3cfb1cce20fd336a257b136dd70540e329703188 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -133,3 +133,9 @@ old_NEWS_hash = 33207c359dd7db17cc0cd151da6b9567
 exclude_file_name_regexp--sc_prohibit_undesirable_word_seq = ^maint\.mk$$
 exclude_file_name_regexp--sc_prohibit_test_minus_ao = \
   ^(maint\.mk|doc/autoconf\.texi)$$
+
+exclude_file_name_regexp--sc_prohibit_atoi_atof = ^doc/autoconf\.texi$$
+exclude_file_name_regexp--sc_useless_cpp_parens = ^build-aux/config\.guess$$
+exclude_file_name_regexp--sc_trailing_blank = ^build-aux/texinfo\.tex$$
+exclude_file_name_regexp--sc_two_space_separator_in_usage = \
+  ^build-aux/gnupload$$
index 06fd9c7ac35ae1a065788ef58f6af8a8a1d34b9f..642a4ff980e3265d207f23494b65b71cce343bf7 100644 (file)
@@ -3,7 +3,7 @@
 @setfilename standards.info
 @settitle GNU Coding Standards
 @c This date is automagically updated when you save this file:
-@set lastupdate January 8, 2012
+@set lastupdate January 21, 2012
 @c %**end of header
 
 @dircategory GNU organization
@@ -472,7 +472,7 @@ prototypes, you may want to use a preprocessor macro like this:
 
 @example
 /* Declare the prototype for a general external function.  */
-#if defined (__STDC__) || defined (WINDOWSNT)
+#if defined __STDC__ || defined WINDOWSNT
 #define P_(proto) proto
 #else
 #define P_(proto) ()