From: Gary V. Vaughan Date: Mon, 24 Oct 2011 11:35:36 +0000 (+0700) Subject: syntax-check: fix violations and re-enable sc_prohibit_have_config_h. X-Git-Tag: v2.4.2.418~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48e2355a38d9ea744f22f9c67c2002216d96f44;p=thirdparty%2Flibtool.git 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 . Signed-off-by: Gary V. Vaughan --- diff --git a/cfg.mk b/cfg.mk index bd0b4ad82..8f9955698 100644 --- a/cfg.mk +++ b/cfg.mk @@ -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 35d32f94b..88934fc64 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 -#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 cf91d5ada..09f0dce58 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 -#endif /* csub is an extremely useful subroutine that * returns the argument multiplied by two :-)