emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r108923: * configure.in: Document --e


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108923: * configure.in: Document --enable-gcc-warnings better.
Date: Fri, 06 Jul 2012 14:29:50 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108923
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Fri 2012-07-06 14:29:50 -0700
message:
  * configure.in: Document --enable-gcc-warnings better.
modified:
  ChangeLog
  configure.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-07-06 21:07:46 +0000
+++ b/ChangeLog 2012-07-06 21:29:50 +0000
@@ -1,10 +1,13 @@
 2012-07-06  Paul Eggert  <address@hidden>
 
+       * 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.

=== modified file 'configure.in'
--- a/configure.in      2012-07-06 21:07:46 +0000
+++ b/configure.in      2012-07-06 21:29:50 +0000
@@ -575,7 +575,9 @@
 
 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 @@
         LTO="-flto=$CPUS"
       else
         LTO="-flto"
-      fi        
+      fi
       old_CFLAGS=$CFLAGS
       CFLAGS="$CFLAGS $LTO"
       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],


reply via email to

[Prev in Thread] Current Thread [Next in Thread]