* configure.ac: Use -Wformat-nonliteral in maintainer-mode.
authorWerner Koch <wk@gnupg.org>
Tue, 13 Jan 2004 10:57:46 +0000 (10:57 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 13 Jan 2004 10:57:46 +0000 (10:57 +0000)
ChangeLog
configure.ac

index 9f901e8..592e925 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@
        * THANKS: Added Phong Nguyen, who found the Elgamal signing key
        problem.
 
+2003-12-23  Werner Koch  <wk@gnupg.org>
+
+       * configure.ac: Use -Wformat-nonliteral in maintainer-mode.
+
 2003-11-30  David Shaw  <dshaw@jabberwocky.com>
 
        * NEWS: Note --disable-rsa.
index fb096a6..e8d9eaf 100644 (file)
@@ -1118,6 +1118,7 @@ AC_SUBST(W32LIBS)
 if test "$GCC" = yes; then
     if test "$USE_MAINTAINER_MODE" = "yes"; then
         CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
+        CFLAGS="$CFLAGS -Wformat-nonliteral"
     else
         CFLAGS="$CFLAGS -Wall"
     fi