From 414bab5c3e8ab63e5fd416c1b37dd531c2bfaa8d Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 5 Feb 2020 12:01:51 +0100 Subject: build: warning flags are already defined --- configure.ac | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/configure.ac b/configure.ac index b257b13..09a41a0 100644 --- a/configure.ac +++ b/configure.ac @@ -39,40 +39,6 @@ LT_INIT if test "x$GCC" = "xyes"; then changequote(,)dnl - case " $CFLAGS " in - *[\ \ ]-Wall[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wall" ;; - esac - - case " $CFLAGS " in - *[\ \ ]-Wchar-subscripts[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wchar-subscripts" ;; - esac - - case " $CFLAGS " in - *[\ \ ]-Wmissing-declarations[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wmissing-declarations" ;; - esac - - case " $CFLAGS " in - *[\ \ ]-Wnested-externs[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wnested-externs" ;; - esac - - case " $CFLAGS " in - *[\ \ ]-Wpointer-arith[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wpointer-arith" ;; - esac - - case " $CFLAGS " in - *[\ \ ]-Wcast-align[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wcast-align" ;; - esac - - case " $CFLAGS " in - *[\ \ ]-Wsign-compare[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wsign-compare" ;; - esac if test "x$enable_ansi" = "xyes"; then case " $CFLAGS " in -- cgit v1.2.1