From 21d77ac693e5eadc5ab6e11d54301c21fd876034 Mon Sep 17 00:00:00 2001 From: Adam Heath Date: Sun, 19 May 2002 11:03:19 +0000 Subject: [PATCH] Split out the -W*-prototype warnings into separate checks. --- ChangeLog | 5 +++++ configure.in | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c2c51978..8f4ee9bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun May 19 06:05:24 CDT 2002 Adam Heath + + * configure.in: Split out the -W*-prototype warnings into separate + checks. + Sun May 19 06:01:31 CDT 2002 Adam Heath * configure.in, automake/dpkg.m4: Make a new macro, DPKG_C_GCC_ATTRIBUTE. diff --git a/configure.in b/configure.in index 61aa65a3..26909f94 100644 --- a/configure.in +++ b/configure.in @@ -208,7 +208,9 @@ DPKG_C_GCC_TRY_WARNS(-Wall , dpkg_cv_c_gcc_warn_all) DPKG_C_GCC_TRY_WARNS(-Wwrite-strings, dpkg_cv_c_gcc_warn_writestrings) DPKG_C_GCC_TRY_WARNS(-Wpointer-arith, dpkg_cv_c_gcc_warn_pointerarith) DPKG_C_GCC_TRY_WARNS(-Wimplicit -Wnested-externs, dpkg_cv_c_gcc_warn_implicit) -DPKG_C_GCC_TRY_WARNS(-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations, dpkg_cv_c_gcc_prototypes) +DPKG_C_GCC_TRY_WARNS(-Wstrict-prototypes, dpkg_cv_c_gcc_strict_prototypes) +DPKG_C_GCC_TRY_WARNS(-Wmissing-prototypes, dpkg_cv_c_gcc_missing_prototypes) +DPKG_C_GCC_TRY_WARNS(-Wmissing-declarations, dpkg_cv_c_gcc_missing_declarations) DPKG_C_GCC_TRY_WARNS(-Wbad-function-cast, dpkg_cv_c_gcc_func_cast) DPKG_C_GCC_TRY_WARNS(-Wcast-qual -Wcast-align, dpkg_cv_c_gcc_cast_qual) DPKG_C_GCC_TRY_WARNS(-Winline, dpkg_cv_c_gcc_inline) -- 2.39.5