configure: make missing prototypes an error always
This commit is contained in:
1 parent
5146890457
commit
ad4ae3c0f1
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user