diff options
author | Gary V. Vaughan <gary@gnu.org> | 2011-10-24 18:35:36 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2011-11-17 19:21:07 +0700 |
commit | d48e2355a38d9ea744f22f9c67c2002216d96f44 (patch) | |
tree | 91c592bef5b8b0fe11ff77729d3562fdc8ae187c | |
parent | baf75223ff46efda8c86ae7fce05d3e77481c498 (diff) | |
download | libtool-d48e2355a38d9ea744f22f9c67c2002216d96f44.tar.gz |
syntax-check: fix violations and re-enable sc_prohibit_have_config_h.
* cfg.mk (local-checks-to-fix): Remove sc_prohibit_have_config_h
from list of disabled checks.
* tests/f77demo/foo.h, tests/fcdemo/foo.h: Remove spurious
HAVE_CONFIG_H guards for #include <config.h>.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
-rw-r--r-- | cfg.mk | 1 | ||||
-rw-r--r-- | tests/f77demo/foo.h | 2 | ||||
-rw-r--r-- | tests/fcdemo/foo.h | 2 |
3 files changed, 0 insertions, 5 deletions
@@ -40,7 +40,6 @@ VC_LIST_ALWAYS_EXCLUDE_REGEX = ^mail/ local-checks-to-fix = \ sc_prohibit_always-defined_macros \ sc_prohibit_always_true_header_tests \ - sc_prohibit_have_config_h \ sc_prohibit_magic_number_exit \ sc_prohibit_stddef_without_use \ sc_prohibit_strcmp \ diff --git a/tests/f77demo/foo.h b/tests/f77demo/foo.h index 35d32f94..88934fc6 100644 --- a/tests/f77demo/foo.h +++ b/tests/f77demo/foo.h @@ -26,9 +26,7 @@ or obtained by writing to the Free Software Foundation, Inc., #define _FOO_H_ 1 /* config.h is necessary for the fortran name mangling */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif /* csub is an extremely useful subroutine that * returns the argument multiplied by two :-) diff --git a/tests/fcdemo/foo.h b/tests/fcdemo/foo.h index cf91d5ad..09f0dce5 100644 --- a/tests/fcdemo/foo.h +++ b/tests/fcdemo/foo.h @@ -26,9 +26,7 @@ or obtained by writing to the Free Software Foundation, Inc., #define _FOO_H_ 1 /* config.h is necessary for the fortran name mangling */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif /* csub is an extremely useful subroutine that * returns the argument multiplied by two :-) |