* check-module (%exempt_header): Add exception for some
authorJim Meyering <jim@meyering.net>
Sat, 18 Nov 2006 11:16:55 +0000 (11:16 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 18 Nov 2006 11:16:55 +0000 (11:16 +0000)
conditionally-included headers.

ChangeLog
check-module

index 18285ed..016e733 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-11-18  Jim Meyering  <jim@meyering.net>
 
+       * check-module (%exempt_header): Add exception for some
+       conditionally-included headers.
+
        * modules/i-ring (Depends-on): Add verify.
        (License): Change to LGPL.
 
index 188ecef..b671163 100755 (executable)
@@ -46,7 +46,7 @@ my $COPYRIGHT_NOTICE = "Copyright (C) 2006 Free Software Foundation, Inc.\n".
 "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n".
 "There is NO WARRANTY, to the extent permitted by law.\n";
 
-(my $VERSION = '$Revision: 1.6 $ ') =~ tr/[0-9].//cd;
+(my $VERSION = '$Revision: 1.7 $ ') =~ tr/[0-9].//cd;
 (my $ME = $0) =~ s|.*/||;
 
 use constant ST_INIT => 1;
@@ -204,6 +204,19 @@ my %exempt_header =
    # The use of obstack.h in the hash module is conditional, off by default.
    'lib/hash.c:obstack.h' => 1,
 
+   # C files in the gc module have conditional includes.
+   'lib/gc-gnulib.c:des.h' => 1,
+   'lib/gc-gnulib.c:arcfour.h' => 1,
+   'lib/gc-gnulib.c:arctwo.h' => 1,
+   'lib/gc-gnulib.c:md2.h' => 1,
+   'lib/gc-gnulib.c:md4.h' => 1,
+   'lib/gc-gnulib.c:md5.h' => 1,
+   'lib/gc-gnulib.c:rijndael.h' => 1,
+   'lib/gc-gnulib.c:sha1.h' => 1,
+   'lib/gc-gnulib.c:rijndael-api-fst.h' => 1,
+   'lib/gc-gnulib.c:hmac.h' => 1,
+   'lib/gc-libgcrypt.c:md2.h' => 1,
+
    # The fts-lgpl module doesn't actually use fts-cycle.c and unistd-safer.h.
    'lib/fts.c:fts-cycle.c' => 1,
    'lib/fts.c:unistd-safer.h' => 1,