From 87e0b12ea07df9147dd279b61639ed19908062f2 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Tue, 5 Feb 2013 21:06:35 -0500 Subject: [PATCH] Remove warning suppression we no longer need. Hooray! --- Makefile.am | 6 +----- configure.ac | 24 ------------------------ 2 files changed, 1 insertion(+), 29 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7d99b687..d07b2e44 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,7 +14,7 @@ ACLOCAL_AMFLAGS = -I m4 ## LDADD is included in the program-specific LDADD since we want to add ## to this list of libraries, not replace it. ## -LDADD = sbr/libmh.a ##sbr/libdtimep.a +LDADD = sbr/libmh.a ## ## These are used to create the default mhn.defaults config file @@ -522,10 +522,6 @@ sbr_libmh_a_CPPFLAGS = -I./sbr -DNMHETCDIR='"$(sysconfdir)"' \ -DSENDMAILPATH='"$(sendmailpath)"' -DNMHBINDIR='"$(bindir)"' \ -DNMHLIBDIR='"$(libdir)"' -##sbr_libdtimep_a_SOURCES = sbr/dtimep.l -##sbr_libdtimep_a_CFLAGS = $(sbr_libmh_a_CPPFLAGS) \ -## $(DISABLE_SIGN_COMPARE_WARNING) - mts_libmts_a_SOURCES = mts/smtp/smtp.c ## diff --git a/configure.ac b/configure.ac index 978903e0..819ddc24 100644 --- a/configure.ac +++ b/configure.ac @@ -137,20 +137,6 @@ fi AC_PROG_CC AM_PROG_CC_C_O -AC_CACHE_CHECK([whether compiler supports -Wno-sign-compare], - [nmh_cv_has_nosigncompare], - [nmh_saved_cppflags="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS -Wno-sign-compare" - AC_TRY_COMPILE([],[],nmh_cv_has_nosigncompare=yes, - nmh_cv_has_nosigncompare=no) - CPPFLAGS="$nmh_saved_cppflags"]) - -if test "$nmh_cv_has_nosigncompare" = 'yes'; then - dnl DISABLE_SIGN_COMPARE_WARNING=-Wno-sign-compare - DISABLE_SIGN_COMPARE_WARNING= -fi -AC_SUBST([DISABLE_SIGN_COMPARE_WARNING])dnl - AC_CACHE_CHECK([whether compiler supports -Wextra], [nmh_cv_has_wextra], [nmh_saved_cflags="$CFLAGS" CFLAGS="$CFLAGS -Wextra -Werror" @@ -163,13 +149,6 @@ AC_CACHE_CHECK([whether compiler supports -Wno-clobbered], [nmh_cv_has_noclobber AC_TRY_COMPILE([],[],nmh_cv_has_noclobbered=yes,nmh_cv_has_noclobbered=no) CFLAGS="$nmh_saved_cflags"]) -AC_CACHE_CHECK([whether compiler supports -Wno-pointer-sign], [nmh_cv_has_noptrsign], -[nmh_saved_cflags="$CFLAGS" - CFLAGS="$CFLAGS -Wno-pointer-sign -Werror" -dnl AC_TRY_COMPILE([],[],nmh_cv_has_noptrsign=yes,nmh_cv_has_noptrsign=no) - AC_TRY_COMPILE([],[],nmh_cv_has_noptrsign=no,nmh_cv_has_noptrsign=no) - CFLAGS="$nmh_saved_cflags"]) - dnl Can't use -ansi with gcc 4.5.3 on Cygwin, at least through setup dnl setup version 2.763, because it disables some features in the dnl system system header files and warns about them with -Wall. Try @@ -205,9 +184,6 @@ fi if test "$nmh_cv_has_wextra" = "yes"; then nmh_gcc_warnflags="${nmh_gcc_warnflags} -Wextra" fi -if test "$nmh_cv_has_noptrsign" = "yes"; then - nmh_gcc_warnflags="${nmh_gcc_warnflags} -Wno-pointer-sign" -fi if test "$nmh_cv_has_noclobbered" = "yes"; then nmh_gcc_warnflags="${nmh_gcc_warnflags} -Wno-clobbered" fi -- 2.56.0