configure: Expand -Werror=format=2
Apparently on at least some GCC versions, we don't get the effect we
want of -Werror=format and -Werror=format-nonliteral.
https://bugzilla.gnome.org/show_bug.cgi?id=691608
diff --git a/configure.ac b/configure.ac
index 5cb21df..76d66ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3572,7 +3572,7 @@
-Wall -Wstrict-prototypes -Werror=declaration-after-statement \
-Werror=missing-prototypes -Werror=implicit-function-declaration \
-Werror=pointer-arith -Werror=init-self -Werror=format-security \
- -Werror=format=2 -Werror=missing-include-dirs])
+ -Werror=format-nonliteral -Werror=format-y2k -Werror=missing-include-dirs])
CFLAGS="$with_cflags $CFLAGS"
#