+2012-07-17 Dmitry Antipov <dmantipov@yandex.ru>
+
+ Fix toolkit configuration report.
+ * configure.ac (USE_X_TOOLKIT): Report toolkit as GTK3 if
+ --with-x-toolkit=gtk3 is used.
+
+2012-07-17 Paul Eggert <eggert@cs.ucla.edu>
+
+ Fix regression with pthread_sigmask on FreeBSD (Bug#11884).
+ * configure.ac: Configure gnulib at the end, not before running
+ pkg-config. This restores the behavior before 2012-06-22, when
+ higher-resolution time stamps were added, and fixes a bug whereby
+ LIB_PTHREAD was not used and gnulib's part of 'configure'
+ therefore incorrectly assumed that pthread_sigmask wasn't working.
+ Fix the problem with -lrt and clock_gettime a different way.
+ This should complete the fix for Bug#11884.
+ (pre_PKG_CONFIG_CFLAGS, pre_PKG_CONFIG_LIBS): New shell vars.
+
+2012-07-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ Merge from gnulib, incorporating:
+ 2012-07-15 pthread_sigmask: fix bug on FreeBSD 9 (Bug#11884)
+ 2012-07-11 gettext: do not assume '#define ... defined ...' behavior
+
+2012-07-14 Glenn Morris <rgm@gnu.org>
+
+ * configure.ac (GC_SETJMP_WORKS, GC_MARK_STACK): Move here from src/s.
+ (AH_BOTTOM): Move GC_SETJMP_WORKS GCC fallback to main body.
+
+2012-07-13 Glenn Morris <rgm@gnu.org>
+
+ * configure.ac (opsysfile): Set to empty on gnu, cygwin.
+
+ * configure.ac (BSD4_2, BSD_SYSTEM, USG, USG5, _AIX, CYGWIN)
+ (DARWIN_OS, GNU_LINUX, HPUX, IRIX6_5, SOLARIS2):
+ Move "system type" macros here from src/s.
+ (BSD_SYSTEM_AHB): New hack macro.
+ (AH_BOTTOM): Set BSD_SYSTEM, using BSD_SYSTEM_AHB.
+
+ * configure.ac (NSIG_MINIMUM, ULIMIT_BREAK_VALUE, SETUP_SLAVE_PTY)
+ (GC_MARK_SECONDARY_STACK): Move here from src/s.
+
+2012-07-12 Glenn Morris <rgm@gnu.org>
+
+ * configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA
+ setting here from src/s/darwin.h.
+
+ * configure.ac (NO_MATHERR): Unconditionally define for Darwin;
+ as src/s/darwin.h used to.
+
+ * configure.ac (NARROWPROTO, NO_ABORT, BROKEN_GET_CURRENT_DIR_NAME)
+ (BROKEN_FIONREAD, BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO)
+ (BROKEN_SIGPOLL, BROKEN_SIGPTY, FIRST_PTY_LETTER, NO_EDITRES)
+ (G_SLICE_ALWAYS_MALLOC, PREFER_VSUSP, PTY_ITERATION, PTY_OPEN)
+ (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
+ (SETPGRP_RELEASES_CTTY, TAB3, TABDLY, RUN_TIME_REMAP, UNIX98_PTYS)
+ (XOS_NEEDS_TIME_H): Move here from src/s.
+
+2012-07-11 Glenn Morris <rgm@gnu.org>
+
+ * configure.ac (INTERRUPT_INPUT): Move here from src/s.
+ (HAVE_PTYS, HAVE_SOCKETS): Define unconditionally.
+
+2012-07-11 Paul Eggert <eggert@cs.ucla.edu>
+
+ * configure.ac (tzset): Remove check that's redundant with gnulib.
+
+2012-07-11 Glenn Morris <rgm@gnu.org>
+
+ * configure.ac (CLASH_DETECTION): Define unconditionally.
+
+ * configure.ac (opsysfile): Use bsd-common on gnu systems.
+
+ * configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT):
+ (SIGNALS_VIA_CHARACTERS): Move here from src/s.
+
+2012-07-11 Paul Eggert <eggert@cs.ucla.edu>
+
+ Assume mkdir, rename, rmdir, strerror.
+ * configure.ac (mkdir, rename, rmdir, strerror): Remove check.
+
+2012-07-11 Glenn Morris <rgm@gnu.org>
+
+ * configure.ac (DONT_REOPEN_PTY): Move here from src/s.
+
+ * configure.ac (DEFAULT_SOUND_DEVICE): New definition.
+
+2012-07-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ Remove "#define unix" that is no longer needed (Bug#11905).
+ Merge from gnulib to make "#define unix" unnecessary, incorporating:
+ 2012-07-10 getloadavg: clean out old Emacs and Autoconf cruft
+ 2012-07-09 getopt: Simplify after Emacs changed.
+
+2012-07-10 Glenn Morris <rgm@gnu.org>
+
+ * configure.ac (DATA_START, DATA_SEG_BITS, PENDING_OUTPUT_COUNT):
+ Move here from src/s.
+
+2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
+
+ * configure.ac (PNG_DEPSTRUCT): Define this instead of
+ PNG_DEPRECATED.
+
+2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
+
+ Add GCC-style 'const' attribute to functions that can use it.
+ * configure.ac (WARN_CFLAGS): Add -Wsuggest-attribute=const.
+ (ATTRIBUTE_CONST): New macro, in config.h.
+
+2012-07-09 Juanma Barranquero <lekktu@gmail.com>
+
+ * lib/makefile.w32-in: Rework dependencies.
+ (GNU_LIB, NT_INC, C_CTYPE_H, MS_W32_H, CONFIG_H, FILEMODE_H)
+ (FTOASTR_H, FTOASTR_C, GETOPT_INT_H, MD5_H, SHA1_H, SHA256_H)
+ (U64_H, SHA512_H): New macros.
+ (SRC): Redefine to point to src/, not current directory.
+ ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
+ ($(BLD)/c-strncasecmp.$(O), $(BLD)/dtoastr.$(O))
+ ($(BLD)/dtotimespec.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O))
+ ($(BLD)/gettime.$(O), $(BLD)/strftime.$(O), $(BLD)/time_r.$(O))
+ ($(BLD)/timespec-add.$(O), $(BLD)/timespec-sub.$(O), $(BLD)/md5.$(O))
+ ($(BLD)/sha1.$(O), $(BLD)/sha256.$(O), $(BLD)/sha512.$(O))
+ ($(BLD)/filemode.$(O)): Update dependencies.
+
+2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
+
+ Merge from gnulib, incorporating:
+ 2012-07-09 timespec: mark functions with const attributes
+
+ Rename configure.in to configure.ac (Bug#11603).
+ The name 'configure.in' has been obsolescent for quite some time,
+ and the next release of Autoconf will generate warnings for it.
+ See commit 'v2.69-4-g560f16b' of 2012-05-06, "general: deprecate
+ 'configure.in' as autoconf input" in the Autoconf git repository.
+ * configure.ac: Rename from configure.in.
+ * INSTALL, INSTALL.BZR, README, make-dist:
+ * Makefile.in (AUTOCONF_INPUTS):
+ * autogen.sh (autoconf_min):
+ * autogen/update_autogen (sources):
+ Adjust to reflect new name.
+
+2012-07-08 Paul Eggert <eggert@cs.ucla.edu>
+
+ Restore deprecation warnings, except for older libpng.
+ * configure.in (WARN_CFLAGS): Remove -Wno-deprecated-declarations.
+ (HAVE_LIBPNG_PNG_H): Don't bother checking for this if we have png.h.
+ (PNG_DEPRECATED): Define when compiling with older PNG versions.
+
+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.
+
+2012-07-06 Glenn Morris <rgm@gnu.org>
+
+ * make-dist [update]: Let autoreconf figure out what needs updating.
+ Use `make info-real'. leim/leim-list.el should always exist.
+ Check cd return value.
+
+2012-07-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ Merge from gnulib. This is for OpenBSD 5.1 amd64.
+ * m4/sys_time_h.m4: New version from gnulib, incorporating:
+ 2012-07-05 sys_time: allow too-wide tv_sec
+
+2012-07-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ Merge from gnulib.
+ * lib/alloca.in.h: New version from gnulib, incorporating:
+ 2012-07-03 alloca: add support for HP NonStop TNS/E native
+
+2012-07-04 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * configure.in: If --enable-gcc-warnings, disable
+ -Wunsafe-loop-optimizations for -O1 optimization level.
+
+2012-06-30 Glenn Morris <rgm@gnu.org>
+
+ * configure.in (standardlisppath): New output variable.
+ (lisppath): Use standardlisppath.
+ * Makefile.in (standardlisppath): New, set by configure.
+ (epaths-force): Use standardlisppath and locallisppath rather than
+ lisppath.
+
+2012-06-28 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * configure.in: Fix previous change. Remove --enable-asserts.
+ (CPPFLAGS): Remove conditional -DXASSERTS=1.
+ Add --enable-link-time-optimization.
+ * INSTALL: Mention this.
+
+2012-06-28 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * configure.in: Add glyphs category to --enable-checking option.
+ (GLYPH_DEBUG): Define if glyphs debugging is enabled.
+
+2012-06-28 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * configure.in (ENABLE_CHECKING): Update comment.
+
+2012-06-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ * configure.in: Don't check for sys/select.h, sys/time.h, utime.h.
+ Emacs proper no longer uses these headers, and can rely on Gnulib
+ for these checks.
+
+ Merge from gnulib.
+ * m4/getopt.m4: Copy new version from gnulib, incorporating:
+ getopt-posix: No longer guarantee that option processing is resettable.
+
+2012-06-27 Glenn Morris <rgm@gnu.org>
+
+ * configure.in: Only check for paxctl on gnu-linux. (Bug#11398#26)
+
+ * INSTALL: Remove references to paths.el.
+
+2012-06-26 Eli Zaretskii <eliz@gnu.org>
+
+ * lib/makefile.w32-in ($(GNULIBOBJS)): Depend on stamp_BLD. This
+ replaces separate dependency for each object file, which required
+ the same object file to be mentioned twice, causing failures in
+ parallel builds.
+
+2012-06-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ Clean out last vestiges of the old HAVE_CONFIG_H stuff.
+ * lib/makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
+
+2012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * configure.in (AC_CHECK_FUNCS): Detect library functions
+ strcasecmp and strncasecmp.
+
+2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
+
+ Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
+ We might as well use the spelling standardized by C11,
+ as in the long run that should simplify maintenance.
+ * configure.in (NO_RETURN): Remove. All uses replaced by _Noreturn.
+