]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.in: Document --enable-gcc-warnings better.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Jul 2012 21:29:50 +0000 (14:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Jul 2012 21:29:50 +0000 (14:29 -0700)
ChangeLog
configure.in

index b85855511bce5b17838dd1e6b5f82b33ba065f03..dc70740d30342d4b971792e59f64e2a8b10f1be4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,13 @@
 2012-07-06  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * configure.in: Document --enable-gcc-warnings better.
+
        Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
        This is safer than strcasecmp, which has unspecified behavior
        outside the POSIX locale and in practice sometimes does not work
        in multibyte locales.  Similarly for c_strncasecmp and strncasecmp.
        * configure.in (strcasecmp, strncasecmp): Remove checks.
+
        * lib/c-ctype.c, lib/c-ctype.h, lib/c-strcase.h, lib/c-strcasecmp.c:
        * lib/c-strncasecmp.c: New files, taken from gnulib.
        * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
index 1a43aed754084437a5bfa063a37c18ffe42aaf74..09551ae58e986da4003067022247fc27e62bc546 100644 (file)
@@ -575,7 +575,9 @@ gl_EARLY
 
 AC_ARG_ENABLE([gcc-warnings],
   [AS_HELP_STRING([--enable-gcc-warnings],
-                  [turn on lots of GCC warnings (for developers)])],
+                  [turn on lots of GCC warnings. This is intended for
+                  developers, and may generate false alarms when used
+                  with older or non-GNU development tools.])],
   [case $enableval in
      yes|no) ;;
      *)      AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
@@ -597,7 +599,7 @@ if test "${enableval}" != "no"; then
         LTO="-flto=$CPUS"
       else
         LTO="-flto"
-      fi        
+      fi
       old_CFLAGS=$CFLAGS
       CFLAGS="$CFLAGS $LTO"
       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],