2013-03-11  Glenn Morris  <rgm@gnu.org>

	* Version 24.3 released.

2013-03-05  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac (TERM_HEADER): Remove duplicate definition (Bug#13872).
	It can mess up 'configure' runs.

2013-03-05  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-man): Ignore gzip exit status.

2013-02-14  Paul Eggert  <eggert@cs.ucla.edu>

	Fix AIX port (Bug#13650).
	* configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX.
	(GC_MARK_STACK): Do not set to GC_USE_GCPROS_AS_BEFORE on AIX, as that
	runs afoul of some other bug in Emacs, and the default value
	GC_MAKE_GCPROS_NOOPS has been tested and works.

2013-01-16  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-indep): Put back a chmod that was
	removed 2012-05-19.  (Bug#13430)

2013-01-10  Glenn Morris  <rgm@gnu.org>

	* make-dist: Add options for xz compression and no compression.

2013-01-04  Glenn Morris  <rgm@gnu.org>

	* info/dir: Add htmlfontify.

2012-12-29  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.ac (TEMACS_LDFLAGS2): Don't define.
	(LIBS_GNUSTEP): Set for GNUstep and substitute.
	(LD_SWITCH_SYSTEM_TEMACS): Don't set for GNUstep.

2012-12-24  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin.
	(Bug#13222)

2012-12-20  Akinori MUSHA  <knu@iDaemons.org>  (tiny change)

	* Makefile.in (install-arch-dep): Ignore chmod errors.  (Bug#13233)

2012-12-13  Glenn Morris  <rgm@gnu.org>

	* info/dir: Add bovine, wisent.

2012-12-12  Andreas Schwab  <schwab@suse.de>

	* Makefile.in (install-info): Use `${MAKE} -s' for echo-info.
	(uninstall): Likewise.

2012-12-12  Glenn Morris  <rgm@gnu.org>

	* info/dir: Add srecode.

2012-12-11  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)

	* Makefile.in (install-info, uninstall): Ensure make's messages
	about changing directories are in English.  (Bug#13143)

2012-12-05  Glenn Morris  <rgm@gnu.org>

	* configure.ac: Handle info/ files with or without ".info" extension.

2012-11-24  Eli Zaretskii  <eliz@gnu.org>

	* make-dist (nt): Adjust to changes in names of the *.manifest files.

2012-11-21  Glenn Morris  <rgm@gnu.org>

	* configure.ac (--enable-profiling): Doc fix.

2012-11-03  Eli Zaretskii  <eliz@gnu.org>

	* config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed.

2012-10-26  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (EMACS_NAME): New variable.
	(EMACS, install-etc, uninstall): Use $EMACS_NAME.

	* Makefile.in (EMACS, EMACSFULL): Transformations should not be
	applied to $EXEEXT.

	* Makefile.in (uninstall): Don't abort if some directories are missing.
	Apply transformation rules to manual pages, desktop and icon files.
	No more emacs22 icons to uninstall.

2012-10-24  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-etc, install-man):
	Don't apply program transform to standard file suffixes.

2012-10-23  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac (_FORTIFY_SOURCE): Do not multiply define (Bug#12714).
	This ports to Gentoo.  Problem originally reported against coreutils,
	but Emacs has it too.

2012-10-23  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (emacs_transform): Remove.
	(install-man): Revert 2012-10-21 change.  (Bug#12713)

2012-10-21  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-etc): Don't install emacs22 icons.

	* Makefile.in (emacs_transform): New variable.
	(install-etc): Prefer a make variable to a shell variable.

2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* Makefile.in ($(MAKEFILE_NAME)): Depend on src/lisp.mk as well.

2012-10-15  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-man, install-etc):
	Apply $TRANSFORM.  (Bug#12536#34)
	(clean): Delete etc/emacs.tmpdesktop.

2012-10-11  Kenichi Handa  <handa@gnu.org>

	* .bzrignore: Add several files under admin/charsets.

2012-10-08  Daniel Colascione  <dancol@dancol.org>

	* configure.ac: Add --with-w32 as a window system option.
	Limit it to Cygwin for now.  Integrate w32 into the refactored window
	system configuration and set TERM_HEADER to w32term.h when w32 is
	configured.

	(CYGWIN_OBJ): Add cygw32.o.

2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.ac: Check that OSX is 10.4 or newer.

2012-10-07  Paul Eggert  <eggert@cs.ucla.edu>

	Improve sys_siglist detection.
	* configure.ac (sys_siglist): Look for its decl in <signal.h>.
	Otherwise, it's not found in either Fedora 17 or Solaris 11.

2012-10-04  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2012-10-02 pselect: reject invalid file descriptors
	2012-10-02 ptsname: reject invalid file descriptors
	2012-10-02 manywarnings: cater to more gcc infelicities
	2012-09-30 sockets, sys_stat: restore AC_C_INLINE
	* lib/pselect.c, lib/stdlib.in.h, m4/manywarnings.m4, m4/pselect.m4:
	* m4/stdlib_h.m4, m4/sys_stat_h.m4: Update from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2012-09-28 extern-inline: provide a -Wundef safe config.h

2012-09-27  Paul Eggert  <eggert@cs.ucla.edu>

	Check more robustly for timer_settime.
	This should fix an OS X build problem reported by Ivan Andrus in
	<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00671.html>.
	* configure.ac (gl_THREADLIB): Define to empty, since Emacs
	does threads its own way.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>

	* Makefile.in (bootstrap): Set MAKEFILE_NAME when building Makefile,
	to avoid problems with recursion when using GNU make.

2012-09-22  Paul Eggert  <eggert@cs.ucla.edu>

	* Makefile.in (bootstrap): Simplify build procedure.
	Suggested by Wolfgang Jenker in
	<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00456.html>.

	Merge from gnulib, incorporating:
	2012-09-22 sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases

2012-09-19  Tassilo Horn  <tsdh@gnu.org>

	* doc/emacs/misc.texi (DocView Slicing): Document new slice from
	BoundingBox feature.

2012-09-18  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.ac (HAVE_GTK): Mention if we use GTK2 or GTK3.

2012-09-17  Andreas Schwab  <schwab@linux-m68k.org>

	* Makefile.in (bootstrap): Revert last change.  Run config.status
	after config.status --recheck, run configure from $(srcdir).
	(config.status): Run configure from $(srcdir).

2012-09-17  Paul Eggert  <eggert@cs.ucla.edu>

	* Makefile.in: Fix build error on FreeBSD.
	($(MAKEFILE_NAME)): Pass MAKE='$(MAKE)' to config.status's env.
	Suggested by Wolfgang Jenker in
	<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00430.html>.
	(MAKE_CONFIG_STATUS): Remove.  Remaining use expanded.
	This undoes part of the 2012-09-10 patch.
	(bootstrap): Run ./configure, rather than trying to run config.status
	if it exists.  That builds src/epaths.h more reliably.
	Run autogen/copy_autogen if autogen.sh fails,
	to create 'configure'; problem reported by Andreas Schwab in
	<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00438.html>.
	* autogen.sh: Exit with status 1 when failing due to missing tools,
	reverting the 2012-09-10 change to this file.
	* autogen/copy_autogen: Fail if one of the subsidiary actions fail.
	Use 'cp -f' for the build-aux files, since the destinations are
	typically read-only.

	Remove no-longer-needed Solaris 2.4 vfork bug workaround.
	* configure.ac (ac_cv_func_vfork_works): Default to 'no' on
	Solaris 2.4, so that AC_FUNC_VFORK doesn't think vfork works.

2012-09-17  Glenn Morris  <rgm@gnu.org>

	* configure.ac (copyright): New output variable.
	(COPYRIGHT): New AC_DEFINE.

2012-09-16  Paul Eggert  <eggert@cs.ucla.edu>

	Remove configure's --without-sync-input option (Bug#12450).
	* configure.ac (SYNC_INPUT, BROKEN_SA_RESTART): Remove.

2012-09-16  Glenn Morris  <rgm@gnu.org>

	Increase compartmentalization of Nextstep builds rules,
	and store Emacs version number in fewer versioned files.
	* configure.ac (ns_appsrc): Use relative names.
	(ns_frag): Remove.
	(Info-gnustep.plist, Emacs.desktop, Info.plist, InfoPlist.strings)
	(nextstep/Makefile): Generate these nextstep files.
	(SUBDIR_MAKEFILES): Add nextstep.
	* Makefile.in (clean, distclean, bootstrap-clean): Add nextstep.
	* make-dist (nextstep/templates): Add directory.
	(nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj): Remove.
	(nextstep/Cocoa/Emacs.base/Contents)
	(nextstep, nextstep/GNUstep/Emacs.base/Resources): Update contents.

2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>

	Port better to POSIX hosts lacking _setjmp (Bug#12446).
	* configure.ac (HAVE__SETJMP, HAVE_SIGSETJMP): New symbols.
	(_setjmp, _longjmp): Remove.

2012-09-14  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac (--without-sync-input): Fix typo in usage message.

	* configure.ac: Port to hosts lacking gtk.
	(PKG_CHECK_MODULES): Capture pkg-config diagnostics
	better, in particular, problems in invoking pkg-config itself.
	This is useful on hosts that don't have pkg-config.
	(GTK_MODULES): Do not exit 'configure' simply because gtk3
	and gtk2 are both missing.  Problem found on Solaris 8.

2012-09-13  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.ac: Reorder Xaw3d messages.
	Report Gtk+ 3 as GTK.

2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify SIGIO usage (Bug#12408).
	* configure.ac (NO_TERMIO, BROKEN_FIONREAD, BROKEN_SIGAIO)
	(BROKEN_SIGPOLL, BROKEN_SIGPTY): Remove.
	(USABLE_FIONREAD, USABLE_SIGIO): New symbols.  All uses of
	'defined SIGIO' replaced with 'defined USABLE_SIGIO', with no need
	to #undef SIGIO now (which was error-prone).  Likewise, all uses
	of 'defined FIONREAD' replaced with 'defined USABLE_FIONREAD'.

2012-09-12  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.ac: No --with-x-toolkit given: Try gtk3 toolkit first
	and then gtk2 if not found.
	--with-x-toolkit=gtk|yes: As above, but fail if gtk2 or gt3 not found.
	--with-x-toolkit=gtk2: Only try gtk2, fail if not found.
	--with-x-toolkit=gtk3: Only try gtk3, fail if not found.

2012-09-11  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-dep, install-arch-indep, install-doc):
	Be more explicit about dependencies, for parallel `make install'.

2012-09-11  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify, document, and port floating-point (Bug#12381).
	* configure.ac (logb, cbrt): Do not check for these functions,
	as they are not being used.

2012-09-10  Paul Eggert  <eggert@cs.ucla.edu>

	Improve robustness of 'make bootstrap' (Bug#12376).
	Run autogen.sh after bootstrap-clean, to avoid bzr pull issues.
	* INSTALL, README: Document autogen.sh.
	* Makefile.in (Makefile): Mark it as precious, since it's updated
	atomically.
	(MAKE_CONFIG_STATUS): New macro.
	(config.status, bootstrap): Use it.  This causes 'make bootstrap'
	to run config.status with the --recheck option, which is more
	appropriate for a bootstrap.
	(bootstrap): Run autogen.sh right after cleaning.  Don't worry
	about failures due to missing tools.
	* autogen.sh: Exit with status 101 when failing due to missing tools.
	* make-dist: Distribute autogen.sh.

2012-09-09  Paul Eggert  <eggert@cs.ucla.edu>

	Assume C89 or later for math functions (Bug#12381).
	* configure.ac (frexp, fmod): Remove checks for these functions,
	as we now assume them.
	(FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC, NO_MATHERR)
	(HAVE_EXCEPTION):
	Remove; no longer needed.

2012-09-07  Paul Eggert  <eggert@cs.ucla.edu>

	More signal-handler cleanup (Bug#12327).
	* configure.ac (FLOAT_CHECK_DOMAIN): Comment fix (Bug#12327).

2012-09-06  Paul Eggert  <eggert@cs.ucla.edu>

	Signal-handler cleanup (Bug#12327).
	* configure.ac (PTY_OPEN, PTY_TTY_NAME_SPRINTF):
	Adjust to syssignal.h changes.
	(SIGNAL_H_AB): Remove; no longer needed.

2012-09-04  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify redefinition of 'abort' (Bug#12316).
	* configure.ac (NO_ABRT): Remove.

	* configure.ac (_setjmp, _longjmp): Check by compiling
	instead of by guessing.  The guesses were wrong for
	recent versions of Solaris, such as Solaris 11.

2012-09-03  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac (WARN_CFLAGS): Omit -Wjump-misses-init.
	It generates false alarms in doc.c, regex.c, xdisp.c.  See
	<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00040.html>.

	Merge from gnulib, incorporating:
	2012-08-29 stdbool: be more compatible with mixed C/C++ compiles
	2011-11-30 manywarnings: update the list of "all" warnings

2012-09-02  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.ac (HAVE_GOBJECT): Check for gobject-2.0 (Bug#12332).

2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac (_FORTIFY_SOURCE): Define only when optimizing.
	This ports to glibc 2.15 or later, when configured with
	--enable-gcc-warnings.  See Eric Blake in
	<http://lists.gnu.org/archive/html/bug-grep/2012-09/msg00000.html>.

2012-09-01  Daniel Colascione  <dan.colascione@gmail.com>

	* configure.ac: Introduce term_header variable, which holds the
	value which will become TERM_HEADER in code.  We effect our choice
	of window system by setting term_header and WINDOW_SYSTEM_OBJ
	instead of using ad-hoc variables and flags for each window
	system.

2012-08-26  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac (CFLAGS): Prefer -g3 to -g if -g3 works
	and if the user has not specified CFLAGS.  -g3 simplifies
	debugging, since it makes macros visible to the debugger.

2012-08-25  Juanma Barranquero  <lekktu@gmail.com>

	* lib/makefile.w32-in ($(BLD)/execinfo.$(O)): Update dependencies.

2012-08-25  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in ($(BLD)/execinfo.$(O), execinfo.h): New targets.
	(GNULIBOBJS): Add $(BLD)/execinfo.$(O).

2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>

	On assertion failure, print backtrace if available.
	Merge from gnulib, incorporating:
	2012-08-24 execinfo: port to FreeBSD
	2012-08-22 execinfo: new module
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* lib/execinfo.c, lib/execinfo.in.h, m4/execinfo.m4: New files.

2012-08-22  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-dep): If NO_BIN_LINK is non-null,
	do not create the bin/emacs link.  (Bug#12011)

2012-08-21  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2012-08-20 extern-inline: support old GCC 'inline'

2012-08-20  Glenn Morris  <rgm@gnu.org>

	* configure.ac (AC_PROG_LN_S): Test for ln.
	* Makefile.in (LN_S): New, set by configure.
	(install-arch-dep): Use $LN_S.

2012-08-19  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2012-08-19 ignore-value, stat-time, timespec: omit AC_C_INLINE
	2012-08-19 mktime, sys_select: avoid 'static inline'
	2012-08-19 gnulib-tool: Fix indentation.

2012-08-18  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/sigprocmask.c, m4/signalblocking.m4: Remove.
	These files have been unused since the 2012-06-22 patch that
	introduced high-resolution time stamps.

2012-08-17  Jan Beich  <jbeich@tormail.org>  (tiny change)

	* configure.ac (PTY_OPEN): Try posix_openpt on gnu-linux,
	gnu-kfreebsd, freebsd, and netbsd.  (Bug#12040)

2012-08-14  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2012-08-05 extern-inline: also ignore -Wmissing-declarations

2012-08-10  Juanma Barranquero  <lekktu@gmail.com>

	* lib/makefile.w32-in (STAT_TIME_H): New macro.
	(FTOASTR_C, $(BLD)/stat-time.$(O), $(BLD)/timespec.$(O))
	($(BLD)/u64.$(O)): Update dependencies.

2012-08-10  Glenn Morris  <rgm@gnu.org>

	* configure.ac (DIRECTORY_SEP): Move here from src/lisp.h.

2012-08-08  Dmitry Antipov  <dmantipov@yandex.ru>

	* configure.ac (--disable-features): Rename to --without-all.
	(OPTION_DEFAULT_ON): Change to use with_features.
	* INSTALL: Fix description.

2012-08-07  Dmitry Antipov  <dmantipov@yandex.ru>

	* configure.ac: New option --disable-features.
	(OPTION_DEFAULT_ON): Change to use enable_features.
	* INSTALL: Explain --disable-features.

2012-08-07  Glenn Morris  <rgm@gnu.org>

	* configure.ac: Require automake 1.11 (fairly arbitrarily).
	* autogen.sh (automake_min): Get it from configure.ac.

2012-08-06  Glenn Morris  <rgm@gnu.org>

	* configure.ac (BROKEN_GETWD) [unixware]: New define.

	* configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
	(PENDING_OUTPUT_COUNT): Absorb GNU_LIBRARY_PENDING_OUTPUT_COUNT.
	(DISPNEW_NEEDS_STDIO_EXT): New define.

2012-08-05  Michael Albinus  <michael.albinus@gmx.de>

	* INSTALL: Explain how to completely disable D-Bus.  (Bug#12112)

2012-08-05  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Disable paxctl if binaries don't have a
	PT_PAX_FLAGS program header.  (Bug#11979)

2012-08-03  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/stat-time.$(O),
	$(BLD)/timespec.$(O), and $(BLD)/u64.$(O).
	(SHA512_H): Don't mention u64.h twice.
	($(BLD)/stat-time.$(O), ($(BLD)/timespec.$(O), ($(BLD)/u64.$(O)):
	New targets.

2012-08-03  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2012-08-02 stat-time, timespec, u64: support naive out-of-dir builds

2012-08-02  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* lib/Makefile.am (DEFAULT_INCLUDES): Add -I$(top_srcdir)/lib for
	out-of-tree build.

2012-08-02  Glenn Morris  <rgm@gnu.org>

	* make-dist: Remove src/s.

	* lib/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.

2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib (Bug#12116), incorporating:
	2012-08-01 extern-inline: new module
	2012-08-01 stat-time, timespec, u64, utimens: use extern-inline
	* lib/stat-time.c, lib/timespec.c, lib/u64.c, m4/extern-inline.m4:
	New files.  The new .c files are for instantiating extern inline
	functions.

	Port to Solaris 8.
	Without this change, 'configure' fails because the recently-added
	wait3 prototype in config.h messes up later 'configure' tests.
	Fix this problem by droping wait3 and WRETCODE, as they're
	no longer needed on hosts that are current porting targets.
	* configure.ac (wait3, WRETCODE): Remove, fixing a FIXME.
	All uses changed to waitpid and WEXITSTATUS.

	Avoid needless autoheader after autogen.sh.
	* src/stamp-h.in: Remove from bzr repository; no longer needed there.
	* .bzrignore: Add it.
	* autogen.sh: Create it.

2012-08-01  Glenn Morris  <rgm@gnu.org>

	* configure.ac (DOS_NT, MSDOS): New system type templates.

2012-08-01  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac (LIB_STANDARD, START_FILES) [FreeBSD]:
	Don't include crtbegin.o and crtend.o.  (Bug#12047)

2012-08-01  Glenn Morris  <rgm@gnu.org>

	* configure.ac (FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
	(INTERNAL_TERMINAL): New.

	* configure.ac (DEVICE_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP)
	(IS_ANY_SEP): Move here from src/lisp.h.

2012-08-01  Juanma Barranquero  <lekktu@gmail.com>

	* lib/makefile.w32-in (CONFIG_H): Update dependencies.
	(CONF_POST_H): New macro.

2012-07-31  Glenn Morris  <rgm@gnu.org>

	* configure.ac (S_FILE): Remove output variable.

	* configure.ac (opsysfile): Use AH_TEMPLATE.  Doc fix.

	* configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME):
	Move here from src.

	* configure.ac (AMPERSAND_FULL_NAME, subprocesses):
	Move here from conf_post.h.

2012-07-31  Dmitry Antipov  <dmantipov@yandex.ru>

	Improve OpenMotif detection on GNU/Linux systems.
	* configure.ac (MOTIF): Check for /usr/include/openmotif
	and /usr/(lib|lib64)/openmotif if --with-x-toolkit=motif.

2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>

	* Makefile.in (install-arch-indep): Avoid eval.

2012-07-31  Glenn Morris  <rgm@gnu.org>

	* configure.ac (opsysfile, S_FILE): Now they are always empty.

	* configure.ac (opsysfile): Forgot to set it to empty on sol2-10
	when removing src/s/sol2-6.h yesterday.

	* configure.ac (USG5_4): Reintroduce this.
	(opsysfile): Set to empty on irix6-5, sol2*, and unixware.

	* configure.ac (wait3, WRETCODE): Move here from src/s/usg5-4-common.h.

	* configure.ac (opsysfile): Set to empty on hpux*, darwin;
	and to s/usg5-4-common.h on irix6-5.

2012-07-30  Glenn Morris  <rgm@gnu.org>

	* configure.ac (AH_BOTTOM): Use an include file, so that the
	contents do not get processed by autoheader.

2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>

	Do not overwrite config.status while executing it (Bug#11214).
	* Makefile.in (MAKEFILE_NAME): New macro.
	($(MAKEFILE_NAME)): Rename rule from Makefile.
	* configure.ac (epaths): Set MAKEFILE_NAME to a bogus value,
	so that GNU 'make' isn't tempted to make the Makefile and then
	regenerate config.status while config.status is running.

	Update .PHONY listings in makefiles.
	* Makefile.in (.PHONY): Add all, ${SUBDIR}, blessmail, epath-force,
	FRC, install-arch-dep, install-arch-indep, install-doc,
	install-info, install-man, install-etc, install-strip, uninstall,
	bootstrap-clean, TAGS, tags, info-real, force-info, check-info-dir.
	(.RECURSIVE): Remove; hasn't been needed for years.

2012-07-30  Glenn Morris  <rgm@gnu.org>

	* configure.ac (SIGNAL_H_AHB): New hack macro.
	(opsysfile): Set to empty on netbsd, openbsd.
	(AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined.

	* configure.ac (_longjmp, _setjmp, TIOCSIGSEND): Move here from src/s.

2012-07-30  Jan Djärv  <jan.h.d@swipnet.se>

	* Makefile.in (install-arch-indep): Remove sh -x.

2012-07-30  Glenn Morris  <rgm@gnu.org>

	* configure.ac (opsysfile): Tweak message for null case.

	* configure.ac (opsysfile): Set to empty on aix4-2, freebsd,
	gnu-linux, gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware.

2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	* doc/misc/texinfo.tex: Update to 2012-07-29.17 version.

2012-07-29  Jan Djärv  <jan.h.d@swipnet.se>

	* Makefile.in (install-arch-indep): Handle space in locallisppath.

2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>

	Use Gnulib environ module (Bug#9772).
	* m4/environ.m4: New file, from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

	Use Gnulib stdalign module (Bug#9772, Bug#9960).
	This should improve portability of macros like alignof and DECL_ALIGN.
	* lib/stdalign.in.h, m4/stdalign.m4: New files, from gnulib.
	* .bzrignore: Add lib/stdalign.h.
	* config.bat: Do not set NO_DECL_ALIGN; no longer needed.
	Copy lib/stdalign.in.h to lib/stdalign.in-h as needed.
	* configure.ac (HAVE_ATTRIBUTE_ALIGNED): Remove the code that
	fiddles with this, as gnulib now does this for us.

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.

2012-06-24  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in ($(BLD)/dtotimespec.$(O)):
	($(BLD)/timespec-add.$(O)):
	($(BLD)/timespec-sub.$(O)): Don't depend on
	$(EMACS_ROOT)/nt/inc/sys/time.h.

	* lib/stat-time.h:
	* lib/timespec.h:
	* lib/utimens.h: Revert last change.

2012-06-23  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib.
	* m4/getopt.m4: Copy new version from gnulib, incorporating:
	getopt-gnu: Handle suboptimal getopt_long's abbreviation handling.

2012-06-23  Eli Zaretskii  <eliz@gnu.org>

	Fix the MS-Windows build broken by revno 108687.
	* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/dtotimespec.$(O),
	$(BLD)/gettime.$(O), $(BLD)/timespec-add.$(O), and
	$(BLD)/timespec-sub.$(O).
	($(BLD)/dtotimespec.$(O)):
	($(BLD)/gettime.$(O)):
	($(BLD)/timespec-add.$(O)):
	($(BLD)/timespec-sub.$(O)): New dependencies.

	* lib/stat-time.h:
	* lib/timespec.h:
	* lib/utimens.h: Include sys/time.h.

2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.in: Don't use AC_CHECK_FUNCS_ONCE, which doesn't use
	the correct CFLAGS and LIBS.

2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>

	Support higher-resolution time stamps (Bug#9000).
	* configure.in (gl_ASSERT_NO_GNULIB_POSIXCHECK)
	(gl_ASSERT_NO_GNULIB_TESTS, gl_INIT): Move these up earlier, so
	that the new clock stuff doesn't clash with RSVG_LIBS.
	(AC_CHECK_HEADERS): Don't check for sys/select.h, sys/time.h, utime.h,
	as gnulib does that for us now.
	(emacs_cv_struct_utimbuf, HAVE_STRUCT_UTIMBUF, HAVE_TIMEVAL)
	(GETTIMEOFDAY_ONE_ARGUMENT): Remove; gnulib does these now.
	(AC_CHECK_FUNCS): Remove utimes; no longer needed.
	* lib/dtotimespec.c, lib/gettime.c, lib/gettimeofday.c, lib/pselect.c:
	* lib/stat-time.h, lib/sys_select.in.h, lib/sys_time.in.h:
	* lib/timespec-add.c, lib/timespec-sub.c, lib/timespec.h:
	* lib/utimens.c, lib/utimens.h, m4/clock_time.m4, m4/gettime.m4:
	* m4/gettimeofday.m4, m4/pselect.m4, m4/stat-time.m4:
	* m4/sys_select_h.m4, m4/sys_socket_h.m4, m4/sys_time_h.m4:
	* m4/timespec.m4, m4/utimbuf.m4, m4/utimens.m4, m4/utimes.m4:
	New files, copied automatically from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Merge from gnulib.
[--snip--]
