]> granicus.if.org Git - neomutt/commitdiff
Enable C99 mode for compiler. (See #3638).
authorKevin McCarthy <kevin@8t8.us>
Mon, 17 Aug 2015 19:26:43 +0000 (12:26 -0700)
committerKevin McCarthy <kevin@8t8.us>
Mon, 17 Aug 2015 19:26:43 +0000 (12:26 -0700)
This is already the default for clang (FreeBSD) so shouldn't cause any
issues.

Enabling this will increase the allowed static string length and remove
the Copyright length warning.

configure.ac

index e0d6814a6f0e8c50f1aac9070ec7db745862e1d1..2855bd9a27c99274bb9f23858ef24bdc4f8f33e9 100644 (file)
@@ -28,6 +28,7 @@ fi
 AC_MSG_RESULT($mutt_cv_prefix)
 
 AC_PROG_CC
+AC_PROG_CC_C99
 AC_SEARCH_LIBS([strerror],[cposix])
 if test "x$U" != "x"; then
   AC_MSG_ERROR(Compiler not ANSI compliant)