[PATCH] Do not limit use of warnings to GCC

Rene Kita <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
These are not compiler specific warnings, use them everywhere.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index bc7d7137..33d483d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -955,7 +955,7 @@ AC_ARG_ENABLE(warnings, AS_HELP_STRING([--disable-warnings],[Turn off compiler w
         mutt_cv_warnings=no
 fi])
 
-if test x$GCC = xyes && test $mutt_cv_warnings = yes; then
+if test $mutt_cv_warnings = yes; then
   CFLAGS="-Wall -pedantic $CFLAGS"
 fi
 
-- 
2.51.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.