[ostree] configure: make missing prototypes an error always



commit ad4ae3c0f100bb84b7ab1df0b2301707ede6ec69
Author: Colin Walters <walters verbum org>
Date:   Fri Oct 21 11:27:40 2011 -0400

    configure: make missing prototypes an error always

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f817b19..c1e5eb5 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]