From ad4ae3c0f100bb84b7ab1df0b2301707ede6ec69 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 21 Oct 2011 11:27:40 -0400 Subject: [PATCH] configure: make missing prototypes an error always --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f817b192..c1e5eb53 100644 --- a/configure.ac +++ b/configure.ac @@ -18,8 +18,8 @@ if test "x$GCC" = "xyes"; then *) CFLAGS="$CFLAGS -Wall" ;; esac case " $CFLAGS " in - *[\ \ ]-Wmissing-prototypes[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;; + *[\ \ ]-Werror=missing-prototypes[\ \ ]*) ;; + *) CFLAGS="$CFLAGS -Werror=missing-prototypes" ;; esac fi changequote([,])dnl