+2012-07-07 Andreas Schwab <schwab@linux-m68k.org>
+
+ * configure.in (WARN_CFLAGS): Add -Wno-deprecated-declarations.
+
+2012-07-07 Paul Eggert <eggert@cs.ucla.edu>
+
+ Improve static checking when configured --with-ns.
+ See Samuel Bronson's remarks in
+ <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00146.html>.
+ * configure.in (WARN_CFLAGS): Omit -Wunreachable-code, as it's
+ a no-op with recent GCC and harmful in earlier ones.
+ Omit -Wsync-nand, as it's irrelevant to Emacs and provokes a
+ warning when compiling with ObjC. Always omit
+ -Wunsafe-loop-optimizations, as we don't mind when optimization is
+ being done correctly.
+
+2012-07-07 Glenn Morris <rgm@gnu.org>
+
+ * configure.in (BROKEN_SA_RESTART): Doc fix.
+
+ * configure.in: Rather than checking for things then undef'ing
+ them on some platforms, simply don't check for them.
+ (getwd): Don't check for it on unixware.
+ (random, rint): Don't check for these on hpux.
+ (res_init, libresolv): Don't check for these on darwin.
+
+2012-07-07 Juanma Barranquero <lekktu@gmail.com>
+
+ * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O),
+ $(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O).
+ ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
+ ($(BLD)/c-strncasecmp.$(O)): New dependencies.
+
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.
+
Merge from gnulib, incorporating:
2012-07-06 timespec-sub: avoid duplicate include
Reported by Juanma Barranquero.