Find file
Fetching contributors…
Cannot retrieve contributors at this time
13542 lines (8566 sloc) 427 KB
2014-10-20 Glenn Morris <>
* Version 24.4 released.
2014-10-11 Ken Brown <>
to 8 MB. (Bug#18438)
2014-10-02 Paul Eggert <>
* Port to strict POSIX shells on non-MinGW (Bug#18612).
2014-09-21 Jan Djärv <>
* Increase headerpad_extra to 1000, update the comment
about load commands (Bug#18505).
2014-09-13 Eli Zaretskii <>
* (HAVE_SOUND): Check for mmsystem.h header that
defines the sound stuff on MS-Windows. (Bug#18463)
2014-08-22 Ken Brown <>
* (HAVE_XPM): Explain the use of CPPFLAGS in the
Cygwin-w32 build. (Bug#18302)
2014-08-10 Paul Eggert <>
Don't prevent random file systems from being unmounted (Bug#18232).
This fix relies on having the 'fchdir' function, and on having
"." be searchable (or at least readable, on platforms lacking O_SEARCH),
but that's good enough to handle the vast majority of cases and the
remaining folks can just live with the annoyance of file systems
that occasionally can't be unmounted.
* (fchdir): New function to check for.
* lib/save-cwd.c: Copy from gnulib, except omit the part that
allocates memory, since that can cause problems in Emacs.
* lib/save-cwd.h: Copy from gnulib.
2014-07-11 Paul Eggert <>
* (install-arch-indep): Avoid readdir race (Bug#17971).
2014-06-20 Paul Eggert <>
* Warn about --enable-link-time-optimization's issues
in --help message (Bug#17806).
Port to GCC 4.9.0 with link time optimization (Bug#17806).
* (CFLAGS): With link time optimization,
use -ffat-lto-objects if supported; otherwise Emacs won't
build with GCC 4.9.0.
2014-06-14 Paul Eggert <>
Port part of the AIX fix to Solaris (Bug#17598).
* (_REENTRANT): Define on Solaris if HAVE_PTHREAD.
This ports part of the recent AIX fixes to Solaris. It is needed
for the same reason that _THREAD_SAFE is needed on AIX, e.g., to
make sure that each thread has its own 'errno'.
2014-06-11 Paul Eggert <>
Backport fcntl.h AIX fix from the trunk (Bug#17598).
This fixes a bug with the shell freezing. See:
Merge from gnulib, incorporating:
2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1
* lib/, m4/dup2.m4, m4/fcntl.m4:
Update from gnulib.
2014-06-07 Paul Eggert <>
Port better to AIX (Bug#17598).
* (with_xpm_set): New shell var.
(with_xpm): Default to 'no' on AIX.
(LIBXPM): Append -lXpm if -lXaw is also used, as the latter
requires the former on AIX.
2014-05-30 Paul Eggert <>
Fix port to 32-bit AIX with xlc (Bug#17598).
This doesn't fix Bug#17598, but it does fix a regression since Emacs
built with xlc until recently, and perhaps it'll help us fix Bug#17598.
* (GC_SETJMP_WORKS): Define for AIX, too.
Merge from gnulib, incorporating:
2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1
* lib/ftoastr.c: Update from gnulib.
2014-05-22 Paul Eggert <>
Fix port to 32-bit AIX (Bug#17540).
* (opsys): On Power Architecture, treat release 7 of
AIX like releases 5 and 6.
2014-05-18 Glenn Morris <>
Revert to just checking for "install-info".
2014-05-17 Glenn Morris <>
* (INSTALL_INFO): Try the identical-but-quieter-on-Debian
"ginstall-info" before "install-info".
2014-05-04 Paul Eggert <>
Revert recent libpng changes (Bug#17339).
They fix only bugs that aren't being reported, so it may be better
to do them on the trunk.
* (PNG_CFLAGS): Remove. All uses removed.
(LIBPNG): Don't be consistent about -lpng16 versus -lpng.
Ignore libpng-config's exit status. Always append -lz -lm.
* (LIBPNG): Add -lz -lm on platforms where they're needed
but libpng-config --libs omits them. Problem reported by Glenn
2014-05-03 Paul Eggert <>
Require ImageMagick >= 6.3.5, due to PixelSetMagickColor (Bug#17339).
* (IMAGEMAGICK_MODULE): Bump prereq from 6.2.8 to 6.3.5.
A more-complicated fix would be to remove uses of PixelSetMagickColor,
introduced in ImageMagick 6.3.5 (Sept. 2007).
2014-05-02 Paul Eggert <>
Consult libpng-config more consistently (Bug#17339).
* (edit_cflags): Move this up and to the top level,
so that PNG_CFLAGS can use it too.
(PNG_CFLAGS): New var.
(png_longjmp): Use PNG_CFLAGS when checking.
(LIBPNG): Be consistent about -lpng16 etc; e.g., don't use -lpng16
in some places and -lpng in others. Test libpng-config's exit
status. If it succeeds, use its output rather than appending -lz -lm.
2014-05-01 Glenn Morris <>
* (LIBPNG): Consult libpng-config for the precise
form of "-lpng" to use. (Bug#17339)
2014-04-29 Glenn Morris <>
* Treat MirBSD as OpenBSD. (Bug#17339)
2014-04-16 Eli Zaretskii <>
* config.bat: Update for Emacs 24.4.
2014-04-13 Paul Eggert <>
Port to IRIX 6.5 (Bug#9684).
This port requires IRIX cc, as I did not have time to get
undump working with the old GCC on the system I had access to,
but that's better than nothing.
* (gl_GCC_VERSION_IFELSE): Remove unused macro
that wouldn't have worked anyway, with IRIX cc.
(emacs_cv_clang, emacs_cv_sanitize_address)
(ns_osx_have_104, ns_osx_have_105):
Don't assume '#error' makes the compiler fail,
as this doesn't work with IRIX cc.
(CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure'
checks. This runs afoul of an IRIX configuration where GnuTLS is
in an optional library that also contains getdelim, and causes
a later 'configure' to incorrectly think getdelim is supported.
2014-04-13 Eli Zaretskii <>
* (LN_S_FILEONLY, LN_S): Use "/bin/ln" on MinGW, to
ensure the MSYS ln.exe is invoked.
2014-04-11 Glenn Morris <>
* make-dist: Do not distribute generated admin/grammars/Makefile.
Do distribute lib-src/update-game-score.exe.manifest.
2014-04-09 Ken Brown <>
* (EMACS_MANIFEST): Revert last change (but leave
2014-04-03 Ken Brown <>
variables empty on Cygwin. (Bug#17176)
2014-03-31 Glenn Morris <>
* Make the final "Does Emacs use Gsettings" message
consistent with src/config.h.
2014-03-31 Jan Djärv <>
* Fix errors from previous checkin (GSettings check).
Backport from trunk.
2014-03-30 Daniel Colascione <>
* Include GFILENOTIFY objects in glib check. (Bug#17069)
2014-03-30 Jan Djärv <>
* Add check that GSettings is in libgio (Bug#17118).
Backport from trunk.
2014-03-26 Paul Eggert <>
Merge from gnulib, incorporating:
2014-03-26 strftime: wrap macros in "do {...} while(0)"
* lib/strftime.c: Update from gnulib.
2014-03-07 Paul Eggert <>
Merge from gnulib, incorporating:
2014-03-04 stdint: fix missing SIZE_MAX on Android
2013-03-02 sys_types: avoid autoconf warning about gl_SYS_TYPES_H
* lib/, m4/gnulib-comp.m4: Regenerate.
* lib/, lib/, m4/sys_types_h.m4:
Update from gnulib.
2014-03-05 Glenn Morris <>
* Tweak the "unported" error message.
2014-03-05 Paul Eggert <>
Fix configuration bug on Solaris 2.5.1 (Bug#16905).
* Fix a bug in shell pattern matching that caused
'configure' to treat Solaris 2.5.1 as if it were Solaris 10 or later.
2014-02-25 Paul Eggert <>
Merge from gnulib (Bug#16825).
2014-02-25 unistd: port readlink to Mac OS X 10.3.9
2014-02-24 Paul Eggert <>
Merge from gnulib, incorporating:
2014-02-21 timer: fix uClibc detection of threading
2014-02-21 maintainer-makefiles: provide AC_PROG_SED for older autoconf
2014-02-18 Mirek Kaim <> (tiny change)
* [HAVE_W32]: Test for ImageMagick. (Bug#16754)
2014-02-14 Paul Eggert <>
* (install-arch-indep): Allow ' ' in destdir (Bug#16717).
This fixes a bug in the previous change. Also, use $(SHELL)
rather than sh, as that's more likely to be portable.
2014-02-13 Paul Eggert <>
* (install-arch-indep): Simplify (Bug#16717).
This should make it more reliable, and hopefully more portable to
non-GNU 'make' implementations such as HP-UX 'make'.
2014-02-13 Juanma Barranquero <>
* (install-nt): Also pass datadir.
2014-02-05 Paul Eggert <>
Merge from gnulib, incorporating:
2014-01-23 pthread: work around winpthread header pollution on mingw
* lib/ Update from gnulib.
2014-01-23 Paul Eggert <>
Merge from gnulib, incorporating:
2014-01-22 qacl: check for fchmod
* m4/acl.m4: Update from gnulib.
2014-01-22 Paul Eggert <>
Fix miscellaneous update-game-score bugs.
* (difftime): Remove.
2014-01-20 Paul Eggert <>
Merge from gnulib, incorporating:
2014-01-20 stdalign: port to HP-UX compilers
2014-01-16 strtoimax: port to platforms lacking 'long long'
2014-01-16 update from texinfo
* lib/, lib/strtoimax.c: Update from gnulib.
2014-01-12 Glenn Morris <>
* README: Replace reference to etc/MAILINGLISTS.
2014-01-11 Fabrice Popineau <>
* Read $srcdir/nt/ when $MSYSTEM is
"MINGW64" as well.
2014-01-11 Paul Eggert <>
Merge from gnulib, incorporating:
2014-01-07 update from texinfo
2014-01-06 md5, sha1, sha256, sha512: support older autoconf
2014-01-09 Eric S. Raymond <>
unnecessarily specific references to Bazaar that could better
simply be to the repository.
2014-01-08 Eric S. Raymond <>
* INSTALL.BZR: Rename to INSTALL.REPO. Remove refs to specific VCS.
* INSTALL, Update for above change.
2014-01-05 Paul Eggert <>
Port to GNU/Linux with recent grsecurity/PaX patches (Bug#16343).
Problem and proposed patch reported by Ulrich Mueller;
this patch uses a somewhat-different approach.
* (SETFATTR): New variable.
2014-01-03 Paul Eggert <>
Merge from gnulib, incorporating:
2014-01-02 manywarnings: remove -Wmudflap
This ports better to GCC 4.9-to-be.
2013-12-31 Fabrice Popineau <>
* (canonical, C_SWITCH_SYSTEM): Support a 64-bit
MinGW64 build on MS-Windows.
2013-12-29 Jan Djärv <>
* (xcsdkdir): Only set if using xcrun.
2013-12-29 Paul Eggert <>
* (LIBXML2_CFLAGS): Fix xcrun-related quoting problem.
Reported by YAMAMOTO Mitsuharu in:
2013-12-28 Jan Djärv <>
* Fix CC detection for xcrun case.
2013-12-28 Paul Eggert <>
Fix problem with MAKE and xcrun configuration.
* Don't set MAKE unless 'make' doesn't work.
Set it only in the environment, not in the makefile.
Problem reported by Glenn Morris in:
2013-12-27 Paul Eggert <>
Port xcrun configuration to GNU/Linux.
* (xcsdkdir): Default to empty.
(XCRUN): Don't require Darwin for xcrun. Move xcrun checking to
just before AM_INIT_AUTOMAKE, to make the dependency between it
and automake clearer.
(CC): Don't use AC_PROG_CC twice; only the first use expands to the
shell code that is wanted, which breaks 'configure' on non-Darwin
platforms. Instead, fix CC by hand if it's not found.
2013-12-27 Jan Djärv <>
* Detect xcrun on OSX and use it for make, gcc and
2013-12-26 Paul Eggert <>
Fix core dumps with gcc -fsanitize=address and GNU/Linux.
* Check whether addresses are sanitized.
(CANNOT_DUMP): Warn if addresses are sanitized and not CANNOT_DUMP.
(DOUG_LEA_MALLOC): Do not define if addresses are sanitized.
(SYSTEM_MALLOC): Define if addresses are sanitized.
2013-12-24 Paul Eggert <>
Automate the procedure for updating copyright year.
* build-aux/update-copyright: New file.
* make-dist: Distribute it.
* lib/, m4/gnulib-comp.m4: Regenerate.
2013-12-23 Andreas Schwab <>
* Replace obsolete macro AC_CONFIG_HEADER by
2013-12-19 Rüdiger Sonderfeld <>
* .gitignore: Ignore refcard temporaries and info/*.info files.
2013-12-17 Paul Eggert <>
Merge from gnulib, incorporating:
2013-12-17 gettimeofday: port recent C++ fix to Emacs
2013-12-17 gettimeofday: fix C++ crosscompilation
2013-12-17 qacl: port to Windows better
* lib/file-has-acl.c, lib/, m4/gettimeofday.m4, m4/time_h.m4:
Update from gnulib.
* lib/ Regenerate.
2013-12-16 Paul Eggert <>
* INSTALL: Clarify treatment of image libraries.
2013-12-14 Paul Eggert <>
Use bool for boolean, focusing on headers.
Use bool for boolean.
2013-12-14 Dani Moncayo <>
* (srcdir) [MINGW32]: If it is an absolute path,
force the format "/c/foo/bar" to simplify conversions to native
windows format.
2013-12-13 Glenn Morris <>
* INSTALL: No longer mention load-path and site-init/site-load.
2013-12-12 Glenn Morris <>
* (install-info): Handle missing info/dir.
(info_dir_deps): New variable.
(${srcdir}/info/dir): Depend on .texi files rather than .info files.
(check-info): Update topics.
* build-aux/make-info-dir: Use .texi files rather than .info files.
Update topics.
* (install-info): Remove some useless subshells.
Stop keeping info/dir in the repository.
* build-aux/dir_top: Move here from admin/.
* build-aux/make-info-dir: New script.
* (bootstrap-clean): Delete info/.
(info-dir, ${srcdir}/info/dir): New rules.
(info): Also make info-dir.
(check-info): Rename from check-info-dir.
Instead of info/dir entries, check @dircategory in info/*.info.
* make-dist: Use `info' rule rather than `info-real'.
No more info/COPYING (not even the right license for info/ files).
Distribute new build-aux files.
* info/: Remove from repository.
2013-12-11 Glenn Morris <>
* info/dir: Add octave-mode.
2013-12-11 Paul Eggert <>
Remove the option of using libcrypto.
This scorches the earth and waits for spring;
see Ted Zlatanov and Stefan Monnier in
* (with_openssl_default, HAVE_LIB_CRYPTO): Remove.
Do not say whether Emacs is configured to use a crypto library,
since it's no longer an option.
(gl_CRYPTO_CHECK): Define a dummy.
* lib/gl_openssl.h, m4/gl-openssl.m4: Remove.
2013-12-10 Paul Eggert <>
* Disable libcrypto by default.
Merge from gnulib, incorporating:
2013-12-07 md5, sha1, sha256, sha512: fix link error with partial lib
* m4/gl-openssl.m4: Update from gnulib.
2013-12-08 Eli Zaretskii <>
* (HAVE_RSVG) [mingw32]: Don't link against librsvg
2013-12-08 Paul Eggert <>
* Simplify supression of GTK deprecation warning.
Move -DGDK_DISABLE_DEPRECATION_WARNINGS out of the command line
and into config.h, to shorten the command line when doing 'make'.
Don't AC_SUBST GTK_CFLAGS, as this is not needed.
Use libcrypto's checksum implementations if available, for speed.
On commonly used platform libcrypto uses architecture-specific
assembly code, which is significantly faster than the C code we
were using. See Pádraig Brady's note in
Merge from gnulib, incorporating:
2013-12-07 md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
2013-12-07 md5, sha1, sha256, sha512: add 'auto', and set-default method
2013-12-04 include_next: minimize code duplication
2013-12-03 md5, sha1, sha256, sha512: support mandating use of openssl
2013-12-02 md5, sha1, sha256, sha512: use openssl routines if available
* (--without-all): Set with_openssl_default too.
Use gl_SET_CRYPTO_CHECK_DEFAULT to default to 'auto'.
Say whether Emacs is configured to use a crypto library.
* lib/gl_openssl.h, m4/absolute-header.m4, m4/gl-openssl.m4:
New files, copied from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
* lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h:
* lib/sha256.c, lib/sha256.h, lib/sha512.c, lib/sha512.h:
* m4/include_next.m4, m4/md5.m4, m4/sha1.m4, m4/sha256.m4, m4/sha512.m4:
Update from gnulib.
2013-12-01 Dmitry Gutov <>
* .dir-locals.el (log-edit-move): Add the "Author: " header.
2013-11-30 Dani Moncayo <>
* build-aux/msys-to-w32 (w32pathlist): Do not translate paths
starting with %emacs_dir%.
2013-11-30 Glenn Morris <>
Stop keeping (most) generated cedet grammar files in the repository.
Add admin/grammars Makefile.
* (distclean, bootstrap-clean, maintainer-clean):
Also clean admin/grammars, if present.
2013-11-29 Dani Moncayo <>
* (epaths-force-w32): Fix 2013-11-20 typo.
2013-11-29 Stefan Monnier <>
* (HAVE_MENUS): Remove.
2013-11-28 Glenn Morris <>
* (PATH_SEP): Replace with pre-existing SEPCHAR.
2013-11-28 Eli Zaretskii <>
* GNUmakefile (Makefile): Don't use $(CFG).
(CFG): Don't compute.
* (PATH_SEP): Set and AC_SUBST.
2013-11-27 Paul Eggert <>
Merge from gnulib, incorporating:
2013-11-13 getgroups: work around _DARWIN_C_SOURCE problem
* lib/getgroups.c: Update from gnulib.
2013-11-27 Glenn Morris <>
Move ja-dic, quail, leim-list.el from leim to lisp/leim.
* (abs_builddir, leimdir): Remove.
(buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory.
(epaths-force-w32): No longer set BLD.
(leim): Remove.
(install-arch-indep): No longer run or install leim.
(mostlyclean, clean): No longer run leim rule.
(bootstrap-clean): Change leim target.
(maintainer-clean): Add leim.
(check-declare): Remove leim.
* README: Update for leim changes.
* (leimdir): Remove.
(standardlisppath): No more leimdir.
* make-dist: Update for files from leim/ now being in lisp/leim/.
2013-11-26 Glenn Morris <>
Preload leim-list.el.
* (abs_builddir): New, set by configure.
(buildlisppath): Add leim/.
(epaths-force-w32): Set BLD.
2013-11-21 Paul Eggert <>
Fix some dependency problems that cause unnecessary recompiles.
(LIBXMENU): Now is always either empty or a file name,
so that it can be used as a dependency.
2013-11-20 Glenn Morris <>
* make-dist: Distribute build-aux/msys-to-w32.
2013-11-20 Dani Moncayo <>
* build-aux/msys-to-w32: New file.
* (msys_to_w32, msys_lisppath_to_w32): Remove.
(msys_w32prefix_subst): Rename from msys_prefix_subst.
Operate on w32prefixpattern.
(epaths-force-w32): Use build-aux/msys-to-w32.
2013-11-17 Paul Eggert <>
It apparently doesn't work for GCC 3, and I suppose it's more
trouble than it's worth to worry about this.
2013-11-15 Paul Eggert <>
2013-11-14 Paul Eggert <>
Simplify, port and tune bool vector implementation.
2013-11-13 Paul Eggert <>
2013-11-12 Dani Moncayo <>
* [MINGW32]: Source nt/
* make-dist: Don't distribute nt/
* (epaths-force-w32): Simplify w32srcdir computation.
2013-11-08 Paul Eggert <>
Merge from gnulib, incorporating:
2013-11-08 extern-inline: port better to OS X 10.9
2013-11-08 fpending: fix regression on DragonFly BSD
* lib/fpending.h, m4/extern-inline.m4, m4/fpending.m4:
Update from gnulib.
2013-11-07 Paul Eggert <>
Port to C11 aligned_alloc.
* (GMALLOC_OBJ): Initialize to empty if !system_malloc
and doug_lea_malloc.
(aligned_alloc): Test for existence if !GMALLOC_OBJ and not darwin.
(posix_memalign): Test for existence only if !GMALLOC_OBJ and
not darwin and !aligned_alloc.
2013-11-05 Glenn Morris <>
* (abs_srcdir) [MINGW32]: No point setting it here,
config.status computes it.
* (epaths-force-w32): Move srcdir tweak here.
* autogen/: Remove directory. Move update_autogen to admin/.
* Remove reference to copy_autogen.
* GNUmakefile (configure):
* (bootstrap): Do not try to run copy_autogen.
* config.bat: Use msdos/autogen rather than autogen.
2013-11-05 Paul Eggert <>
Simplify and port recent bool vector changes.
New symbols to configure.
2013-11-04 Eli Zaretskii <>
* Don't disallow builds in non-ASCII directories.
2013-11-04 Paul Eggert <>
Port to stricter C99 platforms.
Merge from gnulib, incorporating:
2013-11-03 intprops: port to Oracle Studio c99
* lib/intprops.h: Update from gnulib.
2013-11-02 Glenn Morris <>
* (check): Depend on all.
2013-10-31 Glenn Morris <>
* Use [!...] rather than [^...], for ksh. (Bug#15769)
2013-10-30 Glenn Morris <>
* (distclean, bootstrap-clean, maintainer-clean):
Also clean admin/unidata, if present.
2013-10-27 Glenn Morris <>
* It seems installing in non-ASCII is not, in fact, ok.
2013-10-25 Glenn Morris <>
* It seems _installing_ in non-ASCII is ok, not building.
2013-10-24 Glenn Morris <>
* (install-arch-indep, install-etcdoc, install-info):
Avoid non-portable "`\" nesting.
* (CPPFLAGS) [mingw32]: Use abs_top_srcdir.
* (abs_top_srcdir): New, set by configure.
2013-10-23 Glenn Morris <>
* Explicit error for non-ASCII directories. (Bug#15260)
Progress towards allowing installation in directories with whitespace.
* (COPYDESTS, write_subdir, install-arch-dep)
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc, uninstall, install-nt, uninstall-nt):
Quote entities that might contain whitespace.
* build-aux/update-subdirs: Handle whitespace in argument.
Check cd return value.
Make building in directories with whitespace possible. (Bug#15675)
* (srcdir): Don't make it absolute - abs_srcdir exists.
(src/.gdbinit): Use ac_abs_top_srcdir.
* (abs_srcdir): New, set by configure.
(buildlisppath, epaths-force-w32): Use abs_srcdir.
(install-arch-indep, install-etcdoc, install-info, install-man)
(install-etc): Quote entities that might contain whitespace.
2013-10-23 Paul Eggert <>
Merge from gnulib, incorporating:
2013-10-14 acl: allow cross-compilation to Gentoo
2013-10-18 extern-inline: make safe for -Wundef usage
2013-09-30 fpending: use pure+const function attrs
* lib/fpending.h, m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
2013-10-13 Glenn Morris <>
* [alpha]: Explicit error in non-ELF case. (Bug#15601)
2013-10-12 Paul Eggert <>
Merge from gnulib, incorporating:
2013-10-10 strtoumax: port to Solaris 8
2013-10-09 strtoimax, strtoumax: port to HP-UX 11.11
* lib/, m4/gnulib-comp.m4: Regenerate.
* lib/, lib/strtoimax.c, m4/inttypes.m4, m4/strtoimax.m4:
* m4/strtoumax.m4:
Update from gnulib.
2013-10-11 Stefan Monnier <>
* (LIBGNUTLS): Don't set LIBGNUTLS_* back to the empty
string when gnutls2 is installed but gnutls3 is not.
2013-10-11 Teodor Zlatanov <>
* Define HAVE_GNUTLS3 if GnuTLS v3 is found.
2013-10-10 Barry Fishman <> (tiny change)
* Update for giflib 5. (Bug#15531)
2013-10-08 Eli Zaretskii <>
* (HAVE_MENUS): Define unconditionally.
2013-10-07 Paul Eggert <>
Improve support for popcount and counting trailing zeros (Bug#15550).
Do this by using the Gnulib modules for this.
This should generate faster code on non-GCC, non-MSC platforms,
and make the code a bit more portable, at least in theory.
* lib/count-one-bits.c, lib/count-one-bits.h:
* lib/count-trailing-zeros.c, lib/count-trailing-zeros.h:
* m4/count-one-bits.m4, m4/count-trailing-zeros.m4:
New files, copied from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2013-10-04 Paul Eggert <>
Use hardware support for byteswapping on glibc x86 etc.
* lib/, m4/byteswap.m4: New files, copied from Gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2013-10-03 Paul Eggert <>
Merge from gnulib, incorporating:
2013-10-02 verify: new macro 'assume'
2013-09-26 dup2, dup3: work around another cygwin crasher
2013-09-26 getdtablesize: work around cygwin issue
2013-09-25 Paul Eggert <>
Merge from gnulib, incorporating:
2013-09-24 manywarnings: enable nicer gcc warning messages
2013-09-23 warnings: port --enable-gcc-warnings to Solaris Studio 12.3
2013-09-21 timespec: use the new TIMESPEC_RESOLUTION elsewhere
* (WERROR_CFLAGS): Omit -fdiagnostics-show-option
and -funit-at-a-time, since manywarnings does that for us now.
2013-09-23 Jan Djärv <>
* With clang, check for and use -Wno-switch,
-Wno-tautological-constant-out-of-range-compare and -Wno-pointer-sign.
2013-09-23 Daniel Colascione <>
* Check for valgrind headers.
2013-09-20 Xue Fuqiao <>
* INSTALL: New homepage of libtiff.
2013-09-20 Paul Eggert <>
Work around performance bug on OS X 10.8 and earlier.
Perhaps Apple will fix this bug some day.
See the thread starting with Daniel Colascione's email in:
* (FORTIFY_SOUR): New verbatim section.
2013-09-19 Paul Eggert <>
Merge from gnulib, incorporating:
2013-09-19 stdio: OS X port of putc_unlocked + extern inline
2013-09-19 signal: OS X port of sigaddset etc. + extern inline
2013-09-19 extern-inline: do not always suppress extern inline on OS X
2013-09-17 getgroups: statement without effect
2013-08-28 headers: check that _GL_INLINE_HEADER_BEGIN is defined
2013-09-19 Eli Zaretskii <>
* <srcdir> [MINGW32]: Make sure the value of 'srcdir'
is in the full /d/foo/bar form. See the discussion in,
and in particular
and its followups, for the details.
2013-09-17 Dmitry Antipov <>
* Do not check for g_type_init because we
require glib >= 2.28 for GTK3, glib >= 2.10 for GTK2,
glib >= 2.26 for GSettings and glib >= 2.7.0 for GConf, so
suitable glib should provide g_type_init unconditionally.
2013-09-15 Jan Djärv <>
* Add check for OSX 10.5, required for macfont.o.
2013-09-09 Glenn Morris <>
* (LDFLAGS_NOCOMBRELOC): New variable.
(LDFLAGS): Move nocombreloc option from here...
2013-09-08 Glenn Morris <>
* (--without-compress-install):
Rename from --without-compress-info. (Bug#9789)
(GZIP_INFO): Remove.
(GZIP_PROG): Allow --without-compress-install to disable it.
* (GZIP_INFO): Remove all references.
* info/dir: Tweak emacs-gnutls entry.
2013-09-07 Paul Eggert <>
Port --without-x --enable-gcc-warnings to Fedora 19.
* (WERROR_CFLAGS): Omit redundant use of
-Wmissing-field-initializers, -Wswitch, -Wtype-limits,
-Wunused-parameter. If there is no window system, also omit
-Wsuggest-attribute=const and -Wsuggest-attribute=noreturn; this
is needed for Fedora 19.
2013-09-05 Dmitry Antipov <>
Make --without-x compatible with --enable-gcc-warnings.
* If both --without-x and --enable-gcc-warnings are
specified, use -Wno-unused-variable, -Wno-unused-but-set-variable
and -Wno-unused-but-set-parameter.
2013-09-04 Paul Eggert <>
Makefile improvements.
* (lib): Depend on am--refresh, to avoid a race.
(src): Remove duplicate dependency on FRC.
Invoke just one submake, not two. Avoid the need for 'pwd'.
2013-09-02 Jan Djärv <>
* Add ns_check_file.
2013-08-31 Glenn Morris <>
* (--with-sound): Rename ossaudio to bsd-ossaudio,
and voxware to oss.
2013-08-31 Ulrich Müller <>
* Allow for --with-sound=voxware that will enable
sound but otherwise disable ALSA. This will use the OSS device,
typically /dev/dsp, for sound output. (Bug#15067)
2013-08-31 Glenn Morris <>
* make-dist: Update for nt/INSTALL* changes.
2013-08-28 Paul Eggert <>
* (SHELL): Now @SHELL@, not /bin/sh,
for portability to hosts where /bin/sh has problems.
2013-08-28 Stefan Monnier <>
* (DOCMISC_W32): New var to replace DOCMISC_*_W32.
2013-08-27 Paul Eggert <>
Simplify EMACS_TIME-related code.
Merge from gnulib, incorporating:
2013-08-27 timespec: new convenience constants and function
2013-08-27 Dmitry Antipov <>
(DOCMISC_PDF_W32, DOCMISC_PS_W32): No spaces!
2013-08-27 Glenn Morris <>
* (emacs_broken_SIGIO): No longer set on gnu-kfreebsd.
(DOCMISC_PDF_W32, DOCMISC_PS_W32): New output variables.
* (check-info-dir): Ignore efaq-w32.
* (mostlyclean, clean, distclean, bootstrap-clean)
(maintainer-clean, check-declare): Remove pointless subshells.
Check cd return value.
2013-08-26 Paul Eggert <>
Minor merge from gnulib (mostly just for texinfo.tex).
2013-08-22 Paul Eggert <>
* (EMACS_CONFIG_OPTIONS): Quote systematically (Bug#13274).
This improves on the patch already installed, by quoting options
that contain spaces and suchlike systematically, so that
EMACS_CONFIG_OPTIONS is no longer ambiguous when options contain
these characters.
2013-08-21 Paul Eggert <>
Port close-on-exec pty creation to FreeBSD 9.1-RELEASE (Bug#15129).
* (PTY_OPEN): If posix_openpt with O_CLOEXEC fails
and reports EINVAL, try it again without O_CLOEXEC. This should
port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC.
What were they thinking?
2013-08-20 Paul Eggert <>
* (distclean, bootstrap-clean, maintainer-clean):
Fix shell-operator precedence problem in previous change.
2013-08-20 Glenn Morris <>
* (distclean, bootstrap-clean, maintainer-clean):
Clean test/automated if present.
2013-08-19 Paul Eggert <>
Merge from gnulib, incorporating:
2013-08-15 warnings: minor optimization
2013-08-15 warnings: check -Wfoo rather than -Wno-foo
2013-08-15 Ken Brown <>
* (G_SLICE_ALWAYS_MALLOC): Update comment.
2013-08-15 Glenn Morris <>
* make-dist: Do not distribute etc/refcards TeX intermediate files.
* (install-arch-indep):
Do not install etc/refcards TeX intermediate files.
2013-08-14 Ulrich Müller <>
* (EMACS_CONFIGURATION): Escape backslashes. (Bug#15091)
2013-08-12 Eli Zaretskii <>
* (HAVE_ZLIB): Don't use -lz on MinGW.
2013-08-12 Paul Eggert <>
Minor zlib configuration tweaks.
* (HAVE_ZLIB): Don't assume zlib is linked if PNG is.
2013-08-12 Eli Zaretskii <>
* (LIBZ): Comment on w32 peculiarities regarding LIBZ.
2013-08-12 Paul Eggert <>
Merge from gnulib, incorporating:
2013-08-11 fpending: port to recent Cygwin change to stdio_ext.h
2013-08-10 sys_time: port to OpenBSD
2013-08-12 Glenn Morris <>
* (etcdocdir): Rename from docdir, to avoid confusion
with configure's standard --docdir argument. All uses updated.
* (etcdocdir): Rename from docdir. All uses updated.
(install-etcdoc): Rename from install-doc. All uses updated.
(uninstall): Run uninstall-doc.
(PSS): Add misc-ps.
($(INSTALL_DOC), install-doc, install-dvi, install-html, install-pdf)
(install-ps, $(UNINSTALL_DOC), uninstall-doc, uninstall-dvi)
(uninstall-html, uninstall-pdf, uninstall-ps): New .PHONY rules.
2013-08-11 Paul Eggert <>
Add --with-zlib to 'configure'.
* Add --with-zlib option to 'configure', so that Emacs
can be built without zlib. Don't assume that -lz is needed on
non-PNG hosts. Mention zlib configuration status in 'configure' output.
2013-08-11 Lars Magne Ingebrigtsen <>
* Test for zlib.
2013-08-10 Eli Zaretskii <>
* Define and substitute UPDATE_MANIFEST.
2013-08-04 Stephen Berman <>
* info/dir: Add todo-mode.
2013-08-04 Paul Eggert <>
Fix some minor races in hosts lacking mkostemp (Bug#15015).
Gnulib's emulation of mkostemp doesn't have races that Emacs's does.
* (mkostemp): Remove check for this function;
gnulib does the check now.
(mkstemp): Remove check for this no-longer-used function.
* lib/mkostemp.c, lib/secure_getenv.c, lib/tempname.c, lib/tempname.h:
* m4/mkostemp.m4, m4/secure_getenv.m4, m4/tempname.m4:
New files, copied from Gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2013-07-29 Michael Albinus <>
--without-file-notification to --without-all.
2013-07-29 Xue Fuqiao <>
* INSTALL: Fix description.
2013-07-27 Glenn Morris <>
* Extend the --with-sound option to allow
specification of OSS or ALSA (see bug#14812#64).
2013-07-25 Glenn Morris <>
* info/dir: Add ido.
* make-dist: Add a --tests option, to include test/.
2013-07-24 Glenn Morris <>
* Use self-descriptive tags for AC_CONFIG_COMMANDS.
2013-07-23 Glenn Morris <>
* (etc, lisp): No need to create specially.
Configure already creates lisp, src/Makefile now creates etc.
2013-07-23 Paul Eggert <>
Port to GNU/Linux systems with tinfo but not ncurses.
* (USE_NCURSES): New symbol.
2013-07-20 Paul Eggert <>
Fix array bounds violation when pty allocation fails.
not sizeof pty_name, since pty_name is now a pointer to the array.
2013-07-13 Paul Eggert <>
* Simplify --with-file-notification handling.
2013-07-12 Glenn Morris <>
* If with-file-notification=yes, if gfile not found,
go on to try inotify (not on MS Windows or Nextstep).
2013-07-12 Paul Eggert <>
Fix races with threads and file descriptors.
* (PTY_TTY_NAME_SPRINTF): Use emacs_close, not close.
2013-07-10 Paul Eggert <>
* (removenullpaths): Remove adjacent null paths (Bug#14835).
2013-07-09 Peter Rosin <> (tiny change>
* (HAVE_W32): Avoid nested functions (the second
argument of AC_LANG_PROGRAM is already expanded inside a
function). (Bug#14830)
2013-07-09 Paul Eggert <>
Port recent close-on-exec changes to Cygwin (Bug#14821).
* lib/binary-io.c, lib/binary-io.h: New files.
Merge from gnulib, incorporating:
2013-07-09 accept4, dup3, pipe2: port to Cygwin
* lib/pipe2.c: Update from gnulib, as part of this merge.
* lib/, m4/gnulib-comp.m4: Regenerate.
Handle errno and exit status a bit more carefully.
* lib/ignore-value.h: Remove this gnulib-imported file.
* lib/, m4/gnulib-comp.m4: Regenerate.
2013-07-08 Magnus Henoch <> (tiny change)
* (HAVE_IMAGEMAGICK): Check on NS also (Bug#14798).
2013-07-08 Paul Eggert <>
Try to fix FreeBSD 9.1 porting problem (Bug#14812).
This incorporates the following merge from gnulib:
2013-07-07 stdalign, verify: port to FreeBSD 9.1, to C11, and to C++11
2013-07-07 Paul Eggert <>
Port to Ubuntu 10 (Bug#14803).
* (accept4): New function to check for.
Make file descriptors close-on-exec when possible (Bug#14803).
* (mkostemp): New function to check for.
(PTY_OPEN): Pass O_CLOEXEC to posix_openpt.
* lib/fcntl.c, lib/getdtablesize.c, lib/pipe2.c, m4/fcntl.m4:
* m4/getdtablesize.m4, m4/pipe2.m4: New files, taken from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2013-07-03 Christoph Egger <> (tiny change)
* (emacs_broken_SIGIO): Set on gnu-kfreebsd to avoid hang.
2013-07-02 Paul Eggert <>
Remove some unused macros from 'configure'.
Remove these macros, as they are not used.
(sys_siglist): Remove macro; src/sysdep.c now does this.
* (GTK_COMPILES): Check API a bit more carefully.
Also check that it links. Say whether it compiled and linked.
2013-07-01 Paul Eggert <>
Merge from gnulib, incorporating:
2013-06-23 ignore-value: port to gcc -pedantic
2013-06-21 extern-inline: port to gcc -std=c89
2013-06-30 Paul Eggert <>
Do not use GTK 3 if it exists but cannot be compiled.
* Leave GTK_OBJ and term_header alone if GTK 3
exists but cannot be compiled.
2013-06-27 Juanma Barranquero <>
* (install-arch-indep): Do not create directories passed
with --enable-locallisppath.
2013-06-24 Glenn Morris <>
* Include X11/X.h when testing for Xft.h. (Bug#14684)
2013-06-22 Juanma Barranquero <>
* .bzrignore: Add GNU idutils ID database file.
2013-06-21 YAMAMOTO Mitsuharu <>
* (HAVE_LIBXML2): Try built-in libxml2 on OS X 10.8
as a fallback.
2013-06-20 Stefan Monnier <>
* .bzrignore: Don't unignore cl-loaddefs.el.
2013-06-20 Rüdiger Sonderfeld <>
* (log2): Check for this function.
2013-06-19 Juanma Barranquero <>
* .bzrignore: Add GNU GLOBAL files.
2013-06-17 Paul Eggert <>
Use functions, not macros, for XINT etc. (Bug#11935).
* (WARN_CFLAGS): Remove -Wbad-function-cast,
as it generates bogus warnings about reasonable casts of calls.
2013-06-16 Paul Eggert <>
* Report ACL usage at the end (Bug#14612).
2013-06-11 Paul Eggert <>
--without-all should imply --with-file-notification=no. (Bug#14569)
* (with_file_notification): Default to $with_features.
2013-06-09 Paul Eggert <>
Merge from gnulib, incorporating:
2013-06-02 sig2str: port to C++
2013-05-29 c-ctype, regex, verify: port to gcc -std=c90 -pedantic
2013-06-08 Jan Djärv <>
* (HAVE_GLIB): Only set XGSELOBJ if HAVE_NS = no.
(with_file_notification): Don't set to gfile if with_ns = yes.
2013-06-07 Richard Copley <> (tiny change)
* (msys_to_w32): Modify to support d:\foo file names.
(msys_lisppath_to_w32, msys_prefix_subst, msys_sed_sh_escape):
New variables.
(epaths-force-w32): Use them. (Bug#14513)
2013-06-03 Michael Albinus <>
* (HAVE_GFILENOTIFY): Check for gio >= 2.24.
2013-06-03 Eli Zaretskii <>
* (HAVE_GFILENOTIFY): Do not change $LIBS.
2013-06-03 Jan Djärv <>
* (HAVE_GLIB): Add GLib check. Set XGSELOBJ if GLib is
used. Remove xgselect.o from XOBJ.
2013-06-03 Michael Albinus <>
* (file-notification): New option, replaces inotify option.
(HAVE_W32): Remove w32notify.o.
(with_file_notification): Add checks for glib and w32. Adapt check
for inotify.
(Summary): Add entry for file notification.
* autogen/ Add entries for HAVE_GFILENOTIFY,
2013-06-02 Juanma Barranquero <>
* .bzrignore: Ignore dirs libexec/, share/ and var/.
2013-05-29 Xue Fuqiao <>
* INSTALL: Fix description.
2013-05-27 YAMAMOTO Mitsuharu <>
* (HAVE_XRANDR): Check availability of
XRRGetScreenResources rather than that of XRRQueryExtension.
2013-05-18 Eli Zaretskii <>
* make-dist (files): Add nt/, nt/,
nt/epaths.nt, and nt/INSTALL.MSYS.
2013-05-18 Paul Eggert <>
Port --enable-gcc-warnings to clang.
* (nw): Remove obsolescent warnings.
These aren't needed for clang, or for gcc for that matter.
(emacs_cv_clang): New var, which tests for clang.
Omit warnings that clang is too picky about.
needed for Ubuntu 13.04 + clang + --enable-gcc-warnings.
* make-dist (files): Add nt/, nt/
Otherwise, 'configure; make' fails on non-Windows builds.
2013-05-16 Eli Zaretskii <>
* lib/ If building for MS-Windows, include
nt/ instead of lib/
* Adapt to MSYS build on MS-Windows.
* (NTDIR): New variable, for the MSYS build on
(.PHONY): Add epaths-force-w32.
(msys_to_w32): New variable.
(epaths-force-w32, install-nt, uninstall-nt): New targets.
(lib-src src): Add $(NTLIB) to prerequisites.
(lib lib-src lisp leim nt): Add 'nt'.
(config.status): Use $(CFG).
(.PHONY): Add install-$(NTDIR) and uninstall-$(NTDIR).
(install, install-arch-dep): Add install-$(NTDIR).
(uninstall): Depend on uninstall-$(NTDIR).
(mostlyclean, clean, distclean, bootstrap-clean): Add 'nt'.
* GNUmakefile (CFG): New variable, uses as
CONFIG_SITE for the MSYS build on MS-Windows.
(Makefile): Use $(CFG).
* .bzrignore: Ignore *.res, *.tmp, and *.map. Remove
2013-05-16 Paul Eggert <>
Merge from gnulib, incorporating:
2013-05-15 manywarnings: update for GCC 4.8.0
2013-05-15 stdio: use __REDIRECT for fwrite, fwrite_unlocked
2013-05-15 sig2str, stdio, warnings: port to clang
2013-05-15 Stefan Monnier <>
* (install-doc): DOC file is not version specific any more.
* .bzrignore: Don't ignore DOC-* any more.
2013-05-13 Paul Eggert <>
* (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -nopie.
Reported privately by Han Boetes <>.
2013-05-08 Juanma Barranquero <>
* lib/makefile.w32-in (ACL_H): New macro.
($(BLD)/acl-errno-valid.$(O)): Update dependencies.
2013-05-07 Paul Eggert <>
Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295)
* Remove -with-acl option, since Gnulib does that for
us now.
(LIBACL_LIBS): Remove; no longer needed.
* lib/ (CLEANFILES, SUFFIXES): New (empty) macros,
for the benefit of the new ACL implementation.
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/acl-errno-valid.$(O).
($(BLD)/acl-errno-valid.$(O)): New rule.
* lib/acl-errno-valid.c, lib/acl-internal.h, lib/acl.h:
* lib/acl_entries.c, lib/, lib/file-has-acl.c:
* lib/qcopy-acl.c, lib/qset-acl.c, m4/acl.m4, m4/errno_h.m4:
New files, taken from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2013-05-07 Jan Djärv <>
* (HAVE_XRANDR, HAVE_XINERAMA): Define if available.
2013-05-06 Paul Eggert <>
Merge from gnulib, incorporating:
2013-04-30 utimens, utimensat: work around Solaris UTIME_OMIT bug
2013-05-01 Paul Eggert <>
* make-dist: Keep necessary restrictions on file access.
2013-04-29 Paul Eggert <>
Merge from gnulib, incorporating:
2013-04-28 extern-inline: work around bug in Sun c99
2013-04-27 Paul Eggert <>
Merge from gnulib, incorporating:
2013-04-27 alignof, intprops, malloca: port better to IBM's C compiler
2013-04-26 Paul Eggert <>
Port better to AIX (Bug#14258).
* (CFLAGS): Append -O if the user did not specify CFLAGS,
we did not already infer an optimization option, and -O works.
AIX xlc needs -O, otherwise garbage collection doesn't work.
2013-04-22 Paul Eggert <>
* make-dist: Do not distribute admin/unidata/Makefile.
It is generated by 'configure'.
* build-aux/update-subdirs: Don't leave subdirs.el~ behind.
It messes up 'make distclean', and contains no useful information
because it's a copy of subdirs.el.
2013-04-18 John Marino <> (tiny change)
* Add DragonFly BSD, mostly same as FreeBSD. (Bug#14068)
2013-04-18 Glenn Morris <>
* (AC_PROG_LN_S): Remove, too restrictive.
(LN_S_FILEONLY): New output variable.
* (LN_S): Remove.
(LN_S_FILEONLY): New, set by configure.
(install-arch-dep): Use LN_S_FILEONLY rather than LN_S.
2013-04-12 Ken Brown <>
* (canonical): Adapt to 64-bit Cygwin, for which
`canonical' is `x86_64-unknown-cygwin'.
2013-04-09 Ken Brown <>
* (W32_RES_LINK): Remove unneeded linker directive
`-Wl,-bpe-i386', which is confusing in the 64-bit case.
2013-04-07 Paul Eggert <>
Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783).
* (LD_SWITCH_SYSTEM_TEMACS): Append -pg if profiling
and if not on GNU/Linux or FreeBSD.
* lib/ (AM_CFLAGS): Add $(PROFILING_CFLAGS), so that
lib/*.o is profiled too.
2013-03-30 Paul Eggert <>
Merge from gnulib, incorporating:
2013-03-29 stdalign: port to stricter ISO C11
This helps to run 'configure' on MS-Windows; see Eli Zaretskii in
2013-03-27 Paul Eggert <>
Subsumed by HAVE_XKB. All uses changed.
2013-03-25 Jan Djärv <>
* (HAVE_XKB): Define if Xkb is present.
2013-03-24 Paul Eggert <>
Merge from gnulib, incorporating:
2013-03-21 sys_select, sys_time: port 2013-01-30 fix to Cygwin
2013-03-18 Paul Eggert <>
Fix bug when building Emacs with a GNU Make submake (Bug#13962).
* (QUIET_SUBMAKE): New macro.
(install-info, uninstall): Use it.
Emacs crashes with ImageMagick 6.8.2-3 through 6.8.3-9 (Bug#13867).
* (IMAGEMAGICK_MODULE): Reject 6.8.2.
We want to reject 6.8.2-3 through 6.8.3-9, but there seems to be
no way to do this in pkg-config, so make do with a reasonable
Automate the build of ja-dic.el (Bug#13984).
* .bzrignore: Add leim/ja-dic/.
2013-03-13 Paul Eggert <>
File synchronization fixes (Bug#13944).
* (BSD_SYSTEM, BSD_SYSTEM_AHB): Remove; no longer needed.
(fsync): Remove check; now done by gnulib.
* lib/fdatasync.c, lib/fsync.c, m4/fdatasync.m4, m4/fsync.m4:
New files, from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
Merge from gnulib, incorporating:
2013-03-13 putenv: port to Solaris 10
2013-03-12 mktime: fix configure typo
2013-03-11 regex: port to mingw's recent addition of undeclared alarm
2013-03-11 putenv: avoid compilation warning on mingw
2013-03-11 unistd: don't prevent Tru64 Unix from using gnulib strtod.
2013-03-11 Glenn Morris <>
* Merge in all changes up to version 24.3 release.
2013-03-06 Paul Eggert <>
* (TERM_HEADER): Remove duplicate definition (Bug#13872).
It can mess up 'configure' runs.
2013-03-05 Glenn Morris <>
* (install-man): Ignore gzip exit status.
2013-03-03 Glenn Morris <>
* make-dist: Remove lzma (it's replaced by xz).
2013-03-01 Paul Eggert <>
Merge from gnulib, incorporating:
2013-02-21 putenv: port better to native Windows
2013-02-18 extern-inline: avoid compilation error with HP-UX cc
2013-02-14 putenv: fix heap corruption with mixed putenv/_putenv
2013-02-28 Ken Brown <>
* (HAVE_DATA_START): Fix test. (Bug#13818)
2013-02-25 Paul Eggert <>
Simplify data_start configuration (Bug#13783).
(AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's
not always needed.
(HAVE_DATA_START): New macro.
2013-02-21 Paul Eggert <>
Parallelize documentation builds.
This speeds up building of documentation on multiprocessor
platforms, and is motivated by Texinfo 5.0, which is much slower.
Add a toplevel rule 'make docs' to make all the documentation.
* .bzrignore: Add .dvi, .html, .ps.
* (DVIS, HTMLS, INFOS, PSS, DOCS): New macros.
($(DOCS), docs, vi, html, pdf, ps): New rules.
(info-real): Depend on $(INFOS) rather than doing it sequentially.
(dvi): Depend on $(DVIS) rather than doing it sequentially.
2013-02-15 Paul Eggert <>
Fix AIX port (Bug#13650).
* (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX.
2013-02-12 Eli Zaretskii <>
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O).
($(BLD)/memrchr.$(O)): New dependency.
2013-02-11 Paul Eggert <>
Tune by using memchr and memrchr.
* .bzrignore: Add string.h.
* lib/, m4/gnulib-comp.m4: Regenerate.
* lib/memrchr.c, lib/, m4/memrchr.m4, m4/string_h.m4:
New files, from gnulib.
Merge from gnulib, incorporating:
2013-02-11 unsetenv etc.: port to Solaris 11 + GNU Emacs
2013-02-09 secure_getenv: fix C++ declaration typo
2013-02-11 Glenn Morris <>
* (emacs_config_options): Record some env vars.
2013-02-10 Glenn Morris <>
* (emacs_config_options): Strip out the (internal)
arguments --no-create and --no-recursion.
2013-02-08 Paul Eggert <>
Merge from gnulib, incorporating:
2013-02-08 careadlinkat: stop exporting careadlinkatcwd
The MS-Windows port can remove careadlinkatcwd at its convenience.
2013-02-08 extensions: port better to HP-UX
2013-02-06 extensions: port better to MINIX 3, HP-UX, autoheader 2.62
2013-02-06 unistd: avoid namespace pollution on non-glibc systems
2013-02-04 secure_getenv: new module [module not used by Emacs]
2013-01-30 sys_time: port to Solaris 2.6
2013-02-01 Paul Eggert <>
Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
On my host, this speeds up directory-files-and-attributes by a
factor of 3, when applied to Emacs's src directory.
These functions are standardized by POSIX and are common these
days; fall back on a (slower) gnulib implementation if the host
is too old to supply them.
* .bzrignore: Add lib/dirent.h.
* lib/ (libgnu_a_SOURCES): Add openat-die.c, save-cwd.c.
* lib/careadlinkat.c, lib/careadlinkat.h: Merge from gnulib,
incorporating: 2013-01-29 careadlinkat: do not provide careadlinkatcwd.
* lib/, m4/gnulib-comp.m4: Regenerate.
* lib/, lib/fdopendir.c, lib/fstatat.c, lib/openat-priv.h:
* lib/openat-proc.c, lib/openat.h, m4/dirent_h.m4, m4/fdopendir.m4:
* m4/fstatat.m4: New files, from gnulib.
* lib/openat-die.c, lib/save-cwd.c, lib/save-cwd.h: New files.
These last three are specific to Emacs and are not copied from gnulib.
They are simpler than the gnulib versions and are tuned for Emacs.
2013-02-01 Glenn Morris <>
* make-dist: Only README files exist in lisp/ now, not README*.
2013-01-23 Giorgos Keramidas <> (tiny change)
* .bzrignore: Add lib-src/blessmail.
2013-01-23 Paul Eggert <>
Merge from gnulib, incorporating:
2013-01-16 unistd: port to recent mingw
2013-01-19 Glenn Morris <>
* (install-arch-indep): Put back a chmod that was
removed 2012-05-19. (Bug#13430)
2013-01-16 Paul Eggert <>
Merge from gnulib, incorporating:
2013-01-16 largefile: port better to Mac OS X 10.5
2013-01-15 stdint: fix build with Android's Bionic fox x86
2013-01-16 Paul Eggert <>
* Document that --enable-gcc-warnings emits errors.
2013-01-13 Glenn Morris <>
* make-dist: Add options for xz compression and no compression.
2013-01-12 Paul Eggert <>
Enable conservative stack scanning for all architectures.
Suggested by Stefan Monnier in
* (GC_MARK_STACK): Remove.
2013-01-11 Paul Eggert <>
* lib/getopt_.h: Remove trailing CRs that crept in.
2013-01-11 Eli Zaretskii <>
* lib/getopt_.h: Regenerate.
2013-01-10 Paul Eggert <>
Merge from gnulib, incorporating:
2013-01-09 stdlib: port to Solaris 2.6
2013-01-04 Glenn Morris <>
* info/dir: Add htmlfontify.
2013-01-04 Paul Eggert <>
Merge from gnulib, incorporating:
2013-01-04 stdio: remove now-unnecessary stdio.c
2013-01-04 fprintftime: depend on stdio, not ignore-value
2013-01-04 fwrite: silence __wur only for older glibc versions
2013-01-04 fwrite: silence __wur without using inline
* lib/stdio.c: Remove.
* lib/, lib/strftime.c: Update from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2013-01-02 Paul Eggert <>
Merge from gnulib, incorporating copyright-date changes and:
2012-12-31 dup2: work around cygwin bug
2012-12-30 Jan Djärv <>
* Check for GtkHandlebox.
Check for GtkTearoffMenuItem.
New enable: --enable-gtk-deprecation-warnings, default off.
(HAVE_GTK3): If above enable is off, add
2012-12-30 Andreas Schwab <>
* (TEMACS_LDFLAGS2): Don't define.
(LIBS_GNUSTEP): Set for GNUstep and substitute.
(LD_SWITCH_SYSTEM_TEMACS): Don't set for GNUstep.
2012-12-27 Glenn Morris <>
* (emacs_config_options): New.
Use $@ rather than undocumented $ac_configure_args.
Replace any embedded double quotes. (Bug#13274)
2012-12-27 Andreas Schwab <>
* (SIGNALS_VIA_CHARACTERS): Also define for darwin.
2012-12-26 Paul Eggert <>
Revert static checking of stack smashing.
* (WARN_CFLAGS): Omit -Wstack-protector when
configured with --enable-gcc-warnings. -Wstack-protector causes
diagnostics to be issued on Ubuntu 12.10 x86-64.
2012-12-24 Paul Eggert <>
Merge from gnulib, incorporating:
2012-12-21 AC_PROG_MKDIR_P: port workaround to pre-2.62 Autoconf
2012-12-20 AC_PROG_MKDIR_P: don't workaround if not buggy
2012-12-17 filemode, sys_stat: Handle MPX files a la AIX.
2012-12-21 Akinori MUSHA <> (tiny change)
* (install-arch-dep): Ignore chmod errors. (Bug#13233)
2012-12-16 Romain Francoise <>
* (acl): New option.
(HAVE_POSIX_ACL): Test for POSIX ACL support. This is typically
provided by libacl on GNU/Linux.
2012-12-14 Paul Eggert <>
Fix permissions bugs with setgid directories etc. (Bug#13125)
* (BSD4_2): Remove; no longer needed.
2012-12-13 Glenn Morris <>
* info/dir: Add bovine, srecode, wisent.
2012-12-13 Andreas Schwab <>
* (install-info): Use `${MAKE} -s' for echo-info.
(uninstall): Likewise. (Bug#13143)
2012-12-11 Paul Eggert <>
Merge from gnulib for 'inline' (Bug#13040), incorporating:
2012-12-11 extern-inline: avoid incompatibility with Darwin Libc
* m4/extern-inline.m4: Update from gnulib.
2012-12-11 Juanma Barranquero <>
* lib/makefile.w32-in (SIG2STR_H): New macro.
($(BLD)/sig2str.$(O)): Update dependencies.
2012-12-10 Paul Eggert <>
* (HAVE_INOTIFY): Speed up configure-time test.
There's no need to test for any of three inotify functions,
since we use all three. Check for just the first one.
2012-12-10 Daniel Colascione <>
* .bzrignore: Add src/emacs.res.
* (W32_RES, W32_RES_LINK, WINDRES): Teach the cygw32
build how to compile Windows resource files; use these variables
to tell src/ how and whether to compile resources.
2012-12-10 Rüdiger Sonderfeld <>
* (inotify): New option.
(HAVE_INOTIFY): Test for inotify.
2012-12-09 Andreas Schwab <>
* Fix source command in .gdbinit.
Don't quote $MAKEINFO.
2012-12-09 Paul Eggert <>
Allow spaces in some configuration vars (Bug#13078).
* (srcdir): Don't assume $PWD lacks spaces.
All uses quoted, to allow spaces in these vars.
2012-12-08 Paul Eggert <>
Use putenv+unsetenv instead of modifying environ directly (Bug#13070).
* lib/putenv.c, lib/unsetenv.c, m4/putenv.m4, m4/setenv.m4:
New files, copied automatically from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2012-12-08 Eli Zaretskii <>
* lib/makefile.w32-in ($(BLD)/sig2str.$(O)): New dependency.
Remove a stray character at the beginning of the file.
2012-12-08 Paul Eggert <>
Simplify get_lim_data.
Assume POSIX 1003.1-1988 or later for signal.h (Bug#13026).
Use SIGCHLD rather than SIGCLD.
* lib/sig2str.c, lib/sig2str.h, m4/sig2str.m4: New files, from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
* lib/makefile.w32-in (GNULIBOBJS): Add $(BUILD)/sig2str.$(O).
2012-12-06 Glenn Morris <>
* Handle info/ files with or without ".info" extension.
2012-11-30 Paul Eggert <>
Merge from gnulib for 'inline' (Bug#13040), incorporating:
2012-11-29 snippet/warn-on-use: no 'static inline'
2012-11-29 ftruncate, fts, lstat, openat, raise: no 'static inline'
2012-11-29 arctwo, md4, md5, sha1, sha256, sha512: no 'static inline'
2012-11-29 fflush, stat: no 'static inline'
2012-11-29 stdio: better 'inline'
2012-11-29 sys_stat: no 'static inline'
2012-11-29 unistd: better 'inline'
2012-11-29 c-strtod, memcoll, readutmp: no 'static inline'
2012-11-29 extern-inline: no 'static inline'
2012-11-29 sys_socket: better 'inline'
* lib/stdio.c, lib/unistd.c: New files, from gnulib.
* build-aux/snippet/warn-on-use.h, lib/, lib/lstat.c:
* lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c, lib/stat.c:
* lib/, lib/, lib/, m4/c-strtod.m4:
* m4/extern-inline.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/md5.m4:
* m4/sha1.m4, m4/sha256.m4, m4/sha512.m4, m4/stat.m4, m4/stdio_h.m4:
* m4/sys_socket_h.m4, m4/sys_stat_h.m4, m4/unistd_h.m4:
Update from gnulib.
2012-11-27 Eli Zaretskii <>
* make-dist (nt): Adjust to changes in names of the *.manifest files.
2012-11-24 Ken Brown <>
* (HAVE_MOUSE): Remove.
2012-11-23 Paul Eggert <>
Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
* Do not check for dirent.h or closdir.
2012-11-21 Paul Eggert <>
Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
* Do not check for getcwd or getwd.
2012-11-21 Glenn Morris <>
* (--enable-profiling): Doc fix.
2012-11-20 Paul Eggert <>
Improve static checking of integer overflow and stack smashing.
* (WARN_CFLAGS): Add -Wstack-protector
if using GCC 4.7.2 or later on a platform with
at least 64-bit long int. This improves static checking on these
platforms, when configured with --enable-gcc-warnings.
2012-11-17 Paul Eggert <>
Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
* Do not check for fcntl.h.
* lib/ Regenerate.
2012-11-16 Paul Eggert <>
Remove no-longer-used pty_max_bytes variable.
* (fpathconf): Remove unnecessary check.
2012-11-14 Paul Eggert <>
Use faccessat, not access, when checking file permissions (Bug#12632).
* .bzrignore: Add lib/fcntl.h.
* (euidaccess): Remove check; gnulib does this for us now.
(gl_FCNTL_O_FLAGS): Define a dummy version.
* lib/at-func.c, lib/euidaccess.c, lib/faccessat.c, lib/
* lib/getgroups.c, lib/group-member.c, lib/root-uid.h:
* lib/xalloc-oversized.h, m4/euidaccess.m4, m4/faccessat.m4:
* m4/fcntl_h.m4, m4/getgroups.m4, m4/group-member.m4:
New files, from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2012-11-05 Paul Eggert <>
Assume at least POSIX.1-1988 for getpgrp, setpgid, setsid (Bug#12800).
* (setpgid, setsid): Assume their existence.
Simplify by assuming __fpending.
Now that Emacs is using the gnulib fpending module,
there's no need for Emacs to have a separate implementation.
* (stdio_ext.h, __fpending): Remove now-duplicate checks.
2012-11-03 Eli Zaretskii <>
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/fpending.$(O) and
($(BLD)/fpending.$(O)): New dependencies.
2012-11-03 Paul Eggert <>
Fix data-loss with --batch (Bug#9574).
* lib/close-stream.c, lib/close-stream.h, lib/fpending.c
* lib/fpending.h, m4/close-stream.m4, m4/fpending.m4:
New files, from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2012-11-03 Eli Zaretskii <>
* config.bat: Copy lib/ to lib/ if needed.
2012-11-02 Glenn Morris <>
* (EMACS_ICON): New variable.
(install-etc): Use EMACS_ICON to allow choice of icon.
2012-10-26 Glenn Morris <>
* (EMACS_NAME): New variable.
(EMACS, install-etc, uninstall): Use $EMACS_NAME.
* (EMACS, EMACSFULL): Transformations should not be
applied to $EXEEXT.
* (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 <>
* (install-etc, install-man):
Don't apply program transform to standard file suffixes.
2012-10-23 Paul Eggert <>
* (_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 <>
* (emacs_transform): Remove.
(install-man): Revert 2012-10-21 change. (Bug#12713)
2012-10-21 Glenn Morris <>
* (install-etc): Don't install emacs22 icons.
* (emacs_transform): New variable.
(install-etc): Prefer a make variable to a shell variable.
2012-10-18 Stefan Monnier <>
* ($(MAKEFILE_NAME)): Depend on src/ as well.
2012-10-15 Glenn Morris <>
* (install-man, install-etc):
Apply $TRANSFORM. (Bug#12536#34)
(clean): Delete etc/emacs.tmpdesktop.
2012-10-11 Kenichi Handa <>
* .bzrignore: Add several files under admin/charsets.
2012-10-08 Daniel Colascione <>
* 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
(CYGWIN_OBJ): Add cygw32.o.
2012-10-07 Jan Djärv <>
* Check that OSX is 10.4 or newer.
2012-10-07 Paul Eggert <>
Improve sys_siglist detection.
* (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 <>
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/, m4/manywarnings.m4, m4/pselect.m4:
* m4/stdlib_h.m4, m4/sys_stat_h.m4: Update from gnulib.
* lib/, m4/gnulib-comp.m4: Regenerate.
2012-09-30 Paul Eggert <>
Merge from gnulib, incorporating:
2012-09-28 extern-inline: provide a -Wundef safe config.h
2012-09-27 Paul Eggert <>
Check more robustly for timer_settime.
This should fix an OS X build problem reported by Ivan Andrus in
* (gl_THREADLIB): Define to empty, since Emacs
does threads its own way.
* lib/, m4/gnulib-comp.m4: Regenerate.
2012-09-23 Paul Eggert <>
* (bootstrap): Set MAKEFILE_NAME when building Makefile,
to avoid problems with recursion when using GNU make.
2012-09-22 Paul Eggert <>
* (bootstrap): Simplify build procedure.
Suggested by Wolfgang Jenker in
Merge from gnulib, incorporating:
2012-09-22 sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases
2012-09-18 Jan Djärv <>
* (HAVE_GTK): Mention if we use GTK2 or GTK3.
2012-09-17 Andreas Schwab <>
* (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 <>
* Fix build error on FreeBSD.
($(MAKEFILE_NAME)): Pass MAKE='$(MAKE)' to config.status's env.
Suggested by Wolfgang Jenker in
(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 fails,
to create 'configure'; problem reported by Andreas Schwab in
* 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.
* (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 <>
* (copyright): New output variable.
2012-09-16 Paul Eggert <>
Remove configure's --without-sync-input option (Bug#12450).
2012-09-16 Glenn Morris <>
Increase compartmentalization of Nextstep builds rules,
and store Emacs version number in fewer versioned files.
* (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.
* (clean, distclean, bootstrap-clean): Add nextstep.
* make-dist (nextstep/templates): Add directory.
(nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj): Remove.
(nextstep, nextstep/GNUstep/Emacs.base/Resources): Update contents.
2012-09-15 Paul Eggert <>
Port better to POSIX hosts lacking _setjmp (Bug#12446).
(_setjmp, _longjmp): Remove.
2012-09-14 Paul Eggert <>
* (--without-sync-input): Fix typo in usage message.
* 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 <>
* Reorder Xaw3d messages.
Report Gtk+ 3 as GTK.
2012-09-13 Paul Eggert <>
Simplify SIGIO usage (Bug#12408).
(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 <>
* 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 <>
* (install-arch-dep, install-arch-indep, install-doc):
Be more explicit about dependencies, for parallel `make install'.
2012-09-11 Paul Eggert <>
Simplify, document, and port floating-point (Bug#12381).
* (logb, cbrt): Do not check for these functions,
as they are not being used.
2012-09-10 Paul Eggert <>
Improve robustness of 'make bootstrap' (Bug#12376).
Run after bootstrap-clean, to avoid bzr pull issues.
* (Makefile): Mark it as precious, since it's updated
(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 right after cleaning. Don't worry
about failures due to missing tools.
* Exit with status 101 when failing due to missing tools.
* make-dist: Distribute
2012-09-09 Paul Eggert <>
Assume C89 or later for math functions (Bug#12381).
* (frexp, fmod): Remove checks for these functions,
as we now assume them.
Remove; no longer needed.
2012-09-07 Paul Eggert <>
More signal-handler cleanup (Bug#12327).
* (FLOAT_CHECK_DOMAIN): Comment fix (Bug#12327).
2012-09-06 Paul Eggert <>
Signal-handler cleanup (Bug#12327).
Adjust to syssignal.h changes.
(SIGNAL_H_AB): Remove; no longer needed.
2012-09-04 Paul Eggert <>
Simplify redefinition of 'abort' (Bug#12316).
* (NO_ABRT): Remove.
* (_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 <>
* (WARN_CFLAGS): Omit -Wjump-misses-init.
It generates false alarms in doc.c, regex.c, xdisp.c. See
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 <>
* (HAVE_GOBJECT): Check for gobject-2.0 (Bug#12332).
2012-09-01 Paul Eggert <>
* (_FORTIFY_SOURCE): Define only when optimizing.
This ports to glibc 2.15 or later, when configured with
--enable-gcc-warnings. See Eric Blake in
2012-09-01 Daniel Colascione <>
* 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
2012-08-26 Paul Eggert <>
* (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 <>
* lib/makefile.w32-in ($(BLD)/execinfo.$(O)): Update dependencies.
2012-08-25 Eli Zaretskii <>
* lib/makefile.w32-in ($(BLD)/execinfo.$(O), execinfo.h): New targets.
(GNULIBOBJS): Add $(BLD)/execinfo.$(O).
2012-08-24 Paul Eggert <>
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/, m4/gnulib-comp.m4: Regenerate.
* lib/execinfo.c, lib/, m4/execinfo.m4: New files.
2012-08-22 Glenn Morris <>
* (install-arch-dep): If NO_BIN_LINK is non-null,
do not create the bin/emacs link. (Bug#12011)
2012-08-21 Paul Eggert <>
Merge from gnulib, incorporating:
2012-08-20 extern-inline: support old GCC 'inline'
2012-08-20 Glenn Morris <>
* (AC_PROG_LN_S): Test for ln.
* (LN_S): New, set by configure.
(install-arch-dep): Use $LN_S.
2012-08-19 Paul Eggert <>
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 <>
* 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 <> (tiny change)
* (PTY_OPEN): Try posix_openpt on gnu-linux,
gnu-kfreebsd, freebsd, and netbsd. (Bug#12040)
2012-08-14 Paul Eggert <>
Merge from gnulib, incorporating:
2012-08-05 extern-inline: also ignore -Wmissing-declarations
2012-08-10 Juanma Barranquero <>
* 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 <>
* (DIRECTORY_SEP): Move here from src/lisp.h.
2012-08-08 Dmitry Antipov <>
* (--disable-features): Rename to --without-all.
(OPTION_DEFAULT_ON): Change to use with_features.
* INSTALL: Fix description.
2012-08-07 Dmitry Antipov <>
* New option --disable-features.
(OPTION_DEFAULT_ON): Change to use enable_features.
* INSTALL: Explain --disable-features.
2012-08-07 Glenn Morris <>
* Require automake 1.11 (fairly arbitrarily).
* (automake_min): Get it from
2012-08-06 Glenn Morris <>
* (BROKEN_GETWD) [unixware]: New define.
2012-08-05 Michael Albinus <>
* INSTALL: Explain how to completely disable D-Bus. (Bug#12112)
2012-08-05 Ulrich Müller <>
* Disable paxctl if binaries don't have a
PT_PAX_FLAGS program header. (Bug#11979)
2012-08-03 Eli Zaretskii <>
* 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 <>
Merge from gnulib, incorporating:
2012-08-02 stat-time, timespec, u64: support naive out-of-dir builds
2012-08-02 YAMAMOTO Mitsuharu <>
* lib/ (DEFAULT_INCLUDES): Add -I$(top_srcdir)/lib for
out-of-tree build.
2012-08-02 Glenn Morris <>
* make-dist: Remove src/s.
* lib/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
2012-08-02 Paul Eggert <>
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
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.
* (wait3, WRETCODE): Remove, fixing a FIXME.
All uses changed to waitpid and WEXITSTATUS.
Avoid needless autoheader after
* .bzrignore: Add src/
* Create src/
2012-08-01 Glenn Morris <>
* (DOS_NT, MSDOS): New system type templates.
2012-08-01 Ulrich Müller <>
Don't include crtbegin.o and crtend.o. (Bug#12047)
2012-08-01 Glenn Morris <>
(IS_ANY_SEP): Move here from src/lisp.h.
2012-08-01 Juanma Barranquero <>
* lib/makefile.w32-in (CONFIG_H): Update dependencies.
(CONF_POST_H): New macro.
2012-07-31 Glenn Morris <>
* (S_FILE): Remove output variable.
* (opsysfile): Use AH_TEMPLATE. Doc fix.
Move here from src.
* (AMPERSAND_FULL_NAME, subprocesses):
Move here from conf_post.h.
2012-07-31 Dmitry Antipov <>
Improve OpenMotif detection on GNU/Linux systems.
* (MOTIF): Check for /usr/include/openmotif
and /usr/(lib|lib64)/openmotif if --with-x-toolkit=motif.
2012-07-31 Andreas Schwab <>
* (install-arch-indep): Avoid eval.
2012-07-31 Glenn Morris <>
* (opsysfile, S_FILE): Now they are always empty.
* (opsysfile): Forgot to set it to empty on sol2-10
when removing src/s/sol2-6.h yesterday.
* (USG5_4): Reintroduce this.
(opsysfile): Set to empty on irix6-5, sol2*, and unixware.
* (wait3, WRETCODE): Move here from src/s/usg5-4-common.h.
* (opsysfile): Set to empty on hpux*, darwin;
and to s/usg5-4-common.h on irix6-5.
2012-07-30 Glenn Morris <>
* (AH_BOTTOM): Use an include file, so that the
contents do not get processed by autoheader.
2012-07-30 Paul Eggert <>
Do not overwrite config.status while executing it (Bug#11214).
* (MAKEFILE_NAME): New macro.
($(MAKEFILE_NAME)): Rename rule from Makefile.
* (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.
* (.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 <>
* (SIGNAL_H_AHB): New hack macro.
(opsysfile): Set to empty on netbsd, openbsd.
(AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined.
* (_longjmp, _setjmp, TIOCSIGSEND): Move here from src/s.
2012-07-30 Jan Djärv <>
* (install-arch-indep): Remove sh -x.
2012-07-30 Glenn Morris <>
* (opsysfile): Tweak message for null case.
* (opsysfile): Set to empty on aix4-2, freebsd,
gnu-linux, gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware.
2012-07-29 Jan Djärv <>
* (install-arch-indep): Handle space in locallisppath.
2012-07-28 Paul Eggert <>
Use Gnulib environ module (Bug#9772).
* m4/environ.m4: New file, from gnulib.
* lib/, 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/, 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/ to lib/ as needed.
* (HAVE_ATTRIBUTE_ALIGNED): Remove the code that
fiddles with this, as gnulib now does this for us.
2012-07-17 Dmitry Antipov <>
Fix toolkit configuration report.
* (USE_X_TOOLKIT): Report toolkit as GTK3 if
--with-x-toolkit=gtk3 is used.
2012-07-17 Paul Eggert <>
Fix regression with pthread_sigmask on FreeBSD (Bug#11884).
* 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 <>
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 <>
* (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 <>
* (opsysfile): Set to empty on gnu, cygwin.
Move "system type" macros here from src/s.
(BSD_SYSTEM_AHB): New hack macro.
(GC_MARK_SECONDARY_STACK): Move here from src/s.
2012-07-12 Glenn Morris <>
setting here from src/s/darwin.h.
* (NO_MATHERR): Unconditionally define for Darwin;
as src/s/darwin.h used to.
(XOS_NEEDS_TIME_H): Move here from src/s.
2012-07-11 Glenn Morris <>
* (INTERRUPT_INPUT): Move here from src/s.
(HAVE_PTYS, HAVE_SOCKETS): Define unconditionally.
2012-07-11 Paul Eggert <>
* (tzset): Remove check that's redundant with gnulib.
2012-07-11 Glenn Morris <>
* (CLASH_DETECTION): Define unconditionally.
* (opsysfile): Use bsd-common on gnu systems.
(SIGNALS_VIA_CHARACTERS): Move here from src/s.
2012-07-11 Paul Eggert <>
Assume mkdir, rename, rmdir, strerror.
* (mkdir, rename, rmdir, strerror): Remove check.
2012-07-11 Glenn Morris <>
* (DONT_REOPEN_PTY): Move here from src/s.
* (DEFAULT_SOUND_DEVICE): New definition.
2012-07-10 Paul Eggert <>
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 <>
Move here from src/s.
2012-07-09 Andreas Schwab <>
* (PNG_DEPSTRUCT): Define this instead of
2012-07-09 Paul Eggert <>
Add GCC-style 'const' attribute to functions that can use it.
* (WARN_CFLAGS): Add -Wsuggest-attribute=const.
(ATTRIBUTE_CONST): New macro, in config.h.
2012-07-09 Juanma Barranquero <>
* lib/makefile.w32-in: Rework dependencies.
(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 <>
Merge from gnulib, incorporating:
2012-07-09 timespec: mark functions with const attributes
Rename to (Bug#11603).
The name '' 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
'' as autoconf input" in the Autoconf git repository.
* Rename from
* (autoconf_min):
* autogen/update_autogen (sources):
Adjust to reflect new name.
2012-07-08 Paul Eggert <>
Restore deprecation warnings, except for older libpng.
* (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 <>
* (WARN_CFLAGS): Add -Wno-deprecated-declarations.
2012-07-07 Paul Eggert <>
Improve static checking when configured --with-ns.
See Samuel Bronson's remarks 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 <>
* 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 <>
* 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 <>
* 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.
* (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/, 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 <>
* 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 <>
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 <>
Merge from gnulib.
* lib/ New version from gnulib, incorporating:
2012-07-03 alloca: add support for HP NonStop TNS/E native
2012-07-04 Dmitry Antipov <>
* If --enable-gcc-warnings, disable
-Wunsafe-loop-optimizations for -O1 optimization level.
2012-06-30 Glenn Morris <>
* (standardlisppath): New output variable.
(lisppath): Use standardlisppath.
* (standardlisppath): New, set by configure.
(epaths-force): Use standardlisppath and locallisppath rather than
2012-06-28 Dmitry Antipov <>
* Fix previous change. Remove --enable-asserts.
(CPPFLAGS): Remove conditional -DXASSERTS=1.
Add --enable-link-time-optimization.
* INSTALL: Mention this.
2012-06-28 Dmitry Antipov <>
* Add glyphs category to --enable-checking option.
(GLYPH_DEBUG): Define if glyphs debugging is enabled.
2012-06-28 Dmitry Antipov <>
* (ENABLE_CHECKING): Update comment.
2012-06-28 Paul Eggert <>
* 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 <>
* Only check for paxctl on gnu-linux. (Bug#11398#26)
* INSTALL: Remove references to paths.el.
2012-06-26 Eli Zaretskii <>
* 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 <>
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 <>
* (AC_CHECK_FUNCS): Detect library functions
strcasecmp and strncasecmp.
2012-06-24 Paul Eggert <>
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.
* (NO_RETURN): Remove. All uses replaced by _Noreturn.
2012-06-24 Eli Zaretskii <>
* lib/makefile.w32-in ($(BLD)/dtotimespec.$(O))
($(BLD)/timespec-sub.$(O)): Don't depend on
* lib/stat-time.h:
* lib/timespec.h:
* lib/utimens.h: Revert last change.
2012-06-23 Paul Eggert <>
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 <>
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)): New dependencies.
* lib/stat-time.h:
* lib/timespec.h:
* lib/utimens.h: Include sys/time.h.
2012-06-23 Andreas Schwab <>
* Don't use AC_CHECK_FUNCS_ONCE, which doesn't use
the correct CFLAGS and LIBS.
2012-06-22 Paul Eggert <>
Support higher-resolution time stamps (Bug#9000).
(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/, lib/
* 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/, m4/gnulib-comp.m4: Merge from gnulib.
2012-06-22 Paul Eggert <>
Merge from gnulib.
* lib/filemode.h, lib/, lib/stat.c, lib/
* lib/, lib/, m4/extensions.m4, m4/getloadavg.m4:
* m4/getopt.m4, m4/gnulib-common.m4, m4/largefile.m4, m4/mktime.m4:
* m4/multiarch.m4, m4/nocrash.m4, m4/stdio_h.m4, m4/time_r.m4:
Copy new versions from gnulib, incorporating the following changes:
2012-06-22 time_r: fix typo that always overrode localtime_r decl
2012-06-22 Write "Mac OS X" instead of "MacOS X".
2012-06-21 mktime: fix integer overflow in 'configure'-time test
2012-06-21 nonblocking: Avoid compilation error on mingw64.
2012-06-19 stat, fstat: Avoid warnings on mingw64.
2012-06-19 getopt-gnu: Fix exit code overflow in autoconf test.
2012-06-13 Andreas Schwab <>
* Rename --enable-use-lisp-union-type to
--enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE
2012-06-12 Glenn Morris <>
(opsysfile): Set specially for sol2-10.
New AC_DEFINEs, for hpux11.
(opsysfile): Set specially for hpux11.
2012-06-12 Paul Eggert <>
* Coalesce some function checking.
This makes 'configure' a bit smaller.
Prefer AC_CHECK_FUNCS_ONCE for functions that we always check for.
2012-06-12 Glenn Morris <>
* (opsysfile): Set specially for gnu-kfreebsd, openbsd.
* (NO_TERMIO, BROKEN_SIGIO): Move here from src/s.
* Anticipate platforms with no src/s file.
2012-06-12 Chong Yidong <>
* Check for MagickMergeImageLayers (Bug#11678).
2012-06-11 Glenn Morris <>
2012-06-09 Michael Albinus <>
* (dbus_type_is_valid): Check for library function.
2012-06-06 Glenn Morris <>
* INSTALL, make-dist: Remove vcdiff.
2012-06-03 Glenn Morris <>
* INSTALL, make-dist: Remove rcs-checkin.
2012-06-03 Ulrich Müller <>
* (PAXCTL): Check for paxctl. (Bug#11398)
2012-06-01 Paul Eggert <>
Remove --disable-maintainer-mode option from 'configure'. (Bug#11555)
It is confusingly named and rarely useful. See, for example,
* INSTALL.BZR: Don't mention --disable-maintainer-mode.
* (MAINTAINER_MODE_FLAG): Remove; all uses removed.
* Remove --disable-maintainer-mode.
2012-05-28 Paul Eggert <>
Make 'configure' a bit smaller and faster.
* (INSTALL_INFO): Set it with one call to
AC_PATH_PROG, not three.
(PKG_CONFIG): Hoist this out of PKG_CHECK_MODULES, since it's
so likely that it'll be needed.
(AC_CHECK_HEADERS_ONCE): Prefer to AC_CHECK_HEADERS where either works.
(AC_PROG_MAKE_SET): Remove; Automake does this.
(sysinfo): Do not check for this function, as it's never used.
(tzset): Check for this function just once.
* m4/manywarnings.m4: Sync from gnulib, incorporating the following:
2012-05-27 manywarnings: remove duplicate -Wmultichar entry
2012-05-27 Eli Zaretskii <>
* config.bat (lib): Create/update lib/ and
* lib/makefile.w32-in ($(BLD)/md5.$(O))
($(BLD)/sha512.$(O)): Depend on $(EMACS_ROOT)/nt/inc/stdalign.h.
Suggested by Christoph Scholtes <>.
* lib/getopt_.h: Regenerate.
2012-05-27 Paul Eggert <>
Assume gnulib does largefile.
Gnulib does the largefile configuration anyway, so when
invokes AC_SYS_LARGEFILE, that bloats 'configure' unnecessarily.
* lib/ Autoupdate.
2012-05-26 Paul Eggert <>
Merge from gnulib. (Bug#11527)
The build procedure now creates <stdalign.h> and <sys/types.h> for
older hosts that lack a working <stdalign.h> or whose
<sys/types.h> does not define pid_t, size_t, ssize_t, mode_t.
New symbols such as WINDOWS_64_BIT_OFF_T may require attention in the
msdos and nt builds.
Here is a precis of gnulib changes that seem relevant; please see
the gnulib ChangeLog for details.
2012-05-18 crypto: fix bug in large buffer handling
2012-05-14 ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED
2012-05-10 _Noreturn: port config.h to gcc -Wundef
2012-05-08 warnings.m4: give a means to specify the program to compile
2012-05-07 stdint: be more consistent with glibc, SunOS libc
2012-04-21 Large File Support for native Windows platforms.
2012-04-14 stat: Bypass buggy override in mingw64.
2012-03-29 stdio: don't assume gets any more
2012-03-24 Enable common subexpression optimization in GCC.
2012-02-09 maint: replace FSF snail-mail addresses with URLs
2012-01-30 sys_stat: Fix support for mingw64 and MSVC.
2012-01-28 strtoimax: eliminate need for stdint.h, inttypes.h checks
2012-01-21 stdint: Add support for Android.
2012-01-15 Improve support for MSVC 9.
2012-01-08 mktime: Avoid compilation error on Solaris 11.
2012-01-05 Use ', not `, for quoting output.
2012-01-05 strtoimax: Don't replace systems where intmax_t is int.
2012-01-05 strtoimax: Work around AIX 5.1 bug.
2012-01-05 inttypes: Modernize.
2011-12-13 inttypes, stdint: add C++11 support
2011-11-26 Fix conflict between two instantiations of module 'unistd'.
2011-11-21 _Noreturn: Check that _MSC_VER is defined
2011-11-10 ptsname_r: Avoid compilation error on OSF/1 5.1.
2011-11-09 raise: fix mingw handling of SIGPIPE
2011-10-27 Add stdalign module and use it in other modules.
* lib/, lib/, m4/off_t.m4, m4/stdalign.m4:
* m4/sys_types_h.m4:
New files.
* build-aux/move-if-change, build-aux/snippet/_Noreturn.h:
* build-aux/snippet/arg-nonnull.h, build-aux/snippet/c++defs.h:
* build-aux/snippet/warn-on-use.h:
* lib/, lib/allocator.h, lib/careadlinkat.c:
* lib/careadlinkat.h, lib/dosname.h, lib/dup2.c, lib/filemode.c:
* lib/filemode.h, lib/ftoastr.c, lib/ftoastr.h, lib/getloadavg.c:
* lib/getopt.c, lib/, lib/getopt1.c, lib/getopt_int.h:
* lib/gettext.h, lib/, lib/ignore-value.h, lib/intprops.h:
* lib/, lib/lstat.c, lib/md5.c, lib/md5.h, lib/mktime.c:
* lib/pathmax.h, lib/pthread_sigmask.c, lib/readlink.c, lib/sha1.c:
* lib/sha1.h, lib/sha256.c, lib/sha256.h, lib/sha512.c, lib/sha512.h:
* lib/, lib/sigprocmask.c, lib/stat.c, lib/
* lib/, lib/, lib/, lib/
* lib/, lib/strftime.c, lib/strftime.h, lib/strtoimax.c:
* lib/strtol.c, lib/strtoll.c, lib/strtoul.c, lib/strtoull.c:
* lib/symlink.c, lib/, lib/, lib/time_r.c:
* lib/u64.h, lib/, lib/verify.h, m4/00gnulib.m4:
* m4/alloca.m4, m4/c-strtod.m4, m4/dup2.m4, m4/extensions.m4:
* m4/filemode.m4, m4/getloadavg.m4, m4/getopt.m4, m4/gl-comp.m4:
* m4/gnulib-common.m4, m4/gnulib-tool.m4, m4/include_next.m4:
* m4/inttypes.m4, m4/largefile.m4, m4/longlong.m4, m4/lstat.m4:
* m4/md5.m4, m4/mktime.m4, m4/multiarch.m4, m4/nocrash.m4:
* m4/pathmax.m4, m4/pthread_sigmask.m4, m4/readlink.m4, m4/sha1.m4:
* m4/sha256.m4, m4/sha512.m4, m4/signal_h.m4, m4/signalblocking.m4:
* m4/socklen.m4, m4/ssize_t.m4, m4/st_dm_mode.m4, m4/stat.m4:
* m4/stdarg.m4, m4/stdbool.m4, m4/stddef_h.m4, m4/stdint.m4:
* m4/stdio_h.m4, m4/stdlib_h.m4, m4/strftime.m4, m4/strtoimax.m4:
* m4/strtoll.m4, m4/strtoull.m4, m4/strtoumax.m4, m4/symlink.m4:
* m4/sys_stat_h.m4, m4/time_h.m4, m4/time_r.m4, m4/tm_gmtoff.m4:
* m4/unistd_h.m4, m4/warnings.m4, m4/wchar_t.m4:
Update from gnulib.
2012-05-22 Paul Eggert <>
Remove src/m/*.
* Remove all mention of src/m/*.
(machine, machfile, M_FILE, config_machfile, and_machfile): Remove.
All uses removed.
(BITS_PER_LONG_LONG): Move to src/lisp.h.
* lib/makefile.w32-in: Remove dependencies on
* make-dist: Don't make links to src/m.
2012-05-22 Paul Eggert <>
* (ACLOCAL_INPUTS): Fix up gnulib-comp.m4 name. (Bug#11529)
Without this further fix, aclocal was being invoked unnecessarily.
2012-05-22 Glenn Morris <>
* (blessmail, install-arch-dep, uninstall):
Check cd lib-src works.
(install-arch-dep, uninstall): Remove unneeded subshells.
2012-05-21 Glenn Morris <>
* update-subdirs: Move to build-aux/.
* make-dist, (install-arch-indep): Update for this change.
* (leimdir): New, set by configure.
(COPYDIR, COPYDESTS): Add leim directories.
(install-leim): Remove.
(install-arch-indep): Handle leim installation directly.
* vpath.sed: Remove unused file.
* make-dist: No more vpath.sed.
2012-05-21 Paul Eggert <>
Use full name for m4/gnulib-comp.m4. (Bug#11529)
Previously the file was named m4/gl-comp.m4 due to DOS 8+3 restrictions,
even though the file's name in gnulib is m4/gnulib-comp.m4.
This had a problem when merging from gnulib, as the code temporarily
renamed it to the full name, causing problems when interrupted.
Now the file has its full name, with the idea that we will find
a solution for MS-DOS that does not affect the rest of Emacs.
* m4/gnulib-comp.m4: Rename from m4/gl-comp.m4.
Assume C89 or later.
Make merging from gnulib a script, not a makefile action.
Putting it in a makefile has some problems with reflection, as
merging from gnulib updates 'configure', which can update the makefile.
Putting it in a standalone script breaks this loop.
* (gnulib_srcdir, $(gnulib_srcdir), DOS_gnulib_comp.m4)
Remove, moving the actions to the script admin/merge-gnulib.
2012-05-21 Glenn Morris <>
Rename to leimdir, treat like lispdir.
2012-05-21 Glenn Morris <>
* (install-arch-indep, install-doc, install-info)
(uninstall): Scrap superfluous subshells.
2012-05-19 Ulrich Müller <>
* (install-etc): Respect DESTDIR. (Bug#11518)
2012-05-19 Paul Eggert <>
* (AC_CHECK_FUNCS): Remove XSetWMProtocols,
getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm,
getsockopt, setsockopt, mremap, mempcpy.
* (machine): Do not set to 'vax', since src/m/vax.h
is being removed.
(AC_CHECK_FUNCS): Remove ftime.
2012-05-19 Glenn Morris <>
* (install-arch-indep): Remove unneeded subshell.
* (install-arch-indep): Remove unneeded chmod.
Set permissions of lisp/subdirs.el.
* (SUBDIR): Add leim. Update users.
* (lib, lib-src, lisp): Check cd return value.
* (leim): No need to set PARALLEL.
2012-05-18 Glenn Morris <>
* (install-arch-indep, install-info, install-man):
Simplify some one-sided ifs.
* Install only the relevant DOC file.
(install-arch-indep): Delete etc/DOC*.
(install-doc): No more need to delete etc/DOC.
* (install-arch-indep): Split into several rules.
(install-doc, innstall-info, install-man): New rules.
* (mandir): May as well include it in the NS app bundle.
* (INSTALL_ARCH_INDEP_EXTRA): New output variable.
* (INSTALL_ARCH_INDEP_EXTRA): New, set by configure.
(install-arch-indep): Don't install-etc for self-contained ns builds.
No longer unconditonally add /sw directories. (Bug#2280)
* (install-arch-dep): Depend on install-arch-indep.
(install-arch-indep): Depend on install-leim.
(install): Remove explicit install-leim dependence.
* (install-arch-indep):
Move last element of mkdir rule here.
(mkdir): Remove rule.
* (install-arch-indep): Remove unneeded chmods.
INSTALL_DATA does this for us.
* (install-arch-dep): Ensure bindir exists.
Drop mkdir dependency.
(install-arch-indep): Ensure docdir, infodir, mandir exist.
(install-leim): Drop mkdir dependency.
(mkdir): Remove most directories, now made in relevant rules.
* (install-arch-indep): Combine adjacent loops.
2012-05-17 Glenn Morris <>
* (install-etc, mkdir):
Make relevant directories in install-etc rather than mkdir.
* (write_subdir): Create the directory if needed.
(install-arch-dep, mkdir): No need to make site-lisp directories.
* (write_subdir): New.
(install-arch-indep, install-arch-dep): Use $write_subdir.
* (docdir, etcdir, infodir, lispdir):
For a self-contained ns build, set these to the appropriate values.
* (install-arch-dep): No need to move info/ any more.
* (ns_self_contained): New output variable.
* (ns_self_contained): New, set by configure.
(install-arch-dep): For a self-contained ns build,
don't bother installing binaries then immediately deleting them.
* (ns_appbindir, ns_appresdir):
Move them before things that may refer to them.
(install-arch-dep): No need to relocate self-contained ns libexec.
* (archlibdir): Set it for self-contained ns builds.
(libexecdir): Don't expand it now (this is mainly cosmetic).
2012-05-16 Paul Eggert <>
* Simplify by removing CPP etc.
(SPECIFED_CPP, CPP, NON_GNU_CC, AC_PROG_CPP): Remove; not needed.
In particular we no longer need to fiddle with CPP, since we don't
use CPP specially any more.
(gl_EARLY): Invoke this after adjusting CC, so that it uses the
adjusted compiler.
since gl_EARLY and/or Autoconf already does these.
2012-05-16 Glenn Morris <>
* Try to fix building with gcc >= 4.6 on Darwin.
(CPP): Do not unconditionally set it on Darwin.
Instead, try to test if -no-cpp-precomp is accepted.
2012-05-15 Glenn Morris <>
* (install-arch-dep): Replace use of MV_DIRS.
* (install-arch-dep): Do not hard-code version number.
* (install-arch-dep): NS install no longer needs to
symlink libexec/* into bin/, since 2012-05-14 ns_init_paths change.
2012-05-12 Glenn Morris <>
* (ns_appbindir): Remove trailing "/".
* (AC_PROG_MKDIR_P): Call it, to set MKDIR_P.
* (MKDIR_P): New, set by configure.
(mkdir): Use $MKDIR_P.
2012-05-11 Glenn Morris <>
* (install-arch-indep): There are no more Makefile.c files.
Use INSTALL_DATA for the DOC file.
Remove dead code for ./lisp that never executes.
2012-05-10 Glenn Morris <>
* (LEIM_INSTALLDIR): New output variable.
2012-05-08 Stefan Monnier <>
* .dir-locals.el (log-edit-mode): Enable gnu-style checks.
2012-05-08 Glenn Morris <>
* make-dist: No more doc/lispref/*.el.
2012-05-05 Andreas Schwab <>
* Fix quoting bugs.
2012-05-04 Glenn Morris <>
* (INFO_EXT, INFO_OPTS): New output variables.
2012-05-02 Glenn Morris <>
* (LD_SWITCH_SYSTEM): Don't try to defeat
the choices made by FreeBSD and NetBSD. (Bug#10313)
* (INFO_FILES): Remove variable.
(INFO_NONMISC): New variable.
(install-arch-indep, uninstall): Don't use $INFO_FILES.
* (uninstall): Remove useless-use-of-for; that for
some reason caused problems on an old Solaris.
* (install-arch-indep, uninstall):
Ensure that INSTALL-type commands are run from top-level.
* info/dir: Make some entries consistent with the source texi files.
* (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04.
2012-05-02 Glenn Morris <>
* (install-arch-indep):
Combine adjacent install-data and install-info loops.
2012-05-01 Glenn Morris <>
* (MAN_PAGES): Remove.
(install-arch-indep, uninstall): Don't use $MAN_PAGES.
* Try libtinfo for tputs.
(LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found. (Bug#9741)
* Combine adjacent $opsys case blocks.
* (LIBS_TERMCAP): Remove unreachable branch for sol2.
* Invert the TERMINFO logic,
since "yes" is far more common than "no".
* (HAVE_LIBNCURSES): Remove; it is required to be true.
* (LD_SWITCH_X_SITE_AUX): Remove; no longer used.
2012-04-26 Glenn Morris <>
* make-dist: No more doc/lispref/
2012-04-22 Michael Albinus <>
* (dbus_validate_bus_name, dbus_validate_path)
(dbus_validate_interface, dbus_validate_member): Check also for
these library functions.
2012-04-22 Paul Eggert <>
* (doug_lea_malloc): Check for __malloc_initialize_hook.
With glibc 2.14 or later, when compiled with GCC 4.7.0's
-Werror=deprecated-declarations flag, use of hooks like
__malloc_initialize_hook causes compilation to fail because these
hooks are deprecated. Modify 'configure' to check for these hooks too.
Simplify the 'configure' code to test for all the hooks at once.
(emacs_cv_var___after_morecore_hook): Remove, replacing with ...
(emacs_cv_var_doug_lea_malloc): ... this new var.
2012-04-21 Paul Eggert <>
Sync from gnulib version 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc
dated 2011-10-07. Regenerating from current gnulib would be a
pervasive change, and currently the trunk isn't open to such changes.
* (WARN_CFLAGS): Remove; no longer needed now
that gnulib does it.
* lib/, m4/gl-comp.m4: Regenerate.
2012-04-21 Andreas Schwab <>
* m4/gl-comp.m4: Update. (Bug#11285)
2012-04-20 Ludovic Courtès <>
* Don't use the -R option (Bug#11251).
2012-04-18 Paul Eggert <>
configure: new option --enable-gcc-warnings (Bug#11207)
I have been using this change for many months in my private copy
of Emacs, and have used it to find several bugs. It's mature
enough to publish now.
* (GNULIB_MODULES): Add warnings, manywarnings.
* Support --enable-gcc-warnings, in the style of
other GNU packages such as coreutils.
(C_WARNINGS_SWITCH): Remove, replacing with...
(PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I,
when including system files with GCC.
* lib/ (AM_CFLAGS): New macro.
* m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib.
2012-04-17 Dmitry Antipov <>
Add getpwent, endpwent, getgrent, endgrent. (Bug#7900)
2012-04-16 Glenn Morris <>
* (NS_HAVE_NSINTEGER): Remove unnecessary variable.
* Remove X libs workaround for old autoconf.
2012-04-12 Ken Brown <>
* Warn that Cygwin 1.5 is unsupported. (Bug#10398)
2012-04-11 Glenn Morris <>
2012-04-10 Glenn Morris <>
* Conditionally generate admin/unidata/Makefile.
2012-04-09 Teodor Zlatanov <>
* info/dir, (INFO_FILES): Add emacs-gnutls manual.
2012-04-09 Glenn Morris <>
* (leim): Check cd return value. Pass fewer variables.
(install-leim): Check cd return value. Pass $MFLAGS.
(install-strip): Pass $MFLAGS.
* Require makeinfo >= 4.7. (Bug#10910)
Eg org.texi has been using 4.7 functions for some time.
2012-04-07 Paul Eggert <>
Check pkg-config exit status when configuring (Bug#10626).
* (PKG_CHECK_MODULES): Do not assume that pkg-config
works; check its exit status. Problem reported by Jordi Gutiérrez
Hermoso in
2012-04-07 Glenn Morris <>
* README, (AC_INIT): Bump version to 24.1.50.
2012-04-07 Eli Zaretskii <>
* lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD.
2012-03-04 Paul Eggert <>
configure: fix ncurses 'configure' issue on Solaris 10 (Bug#10677)
* (LIBS_TERMCAP): Default this to the result of
the tputs library search. Do a run-time test for the linkability
of tputs unless cross-compiling, as that's more reliable if the
link flags and libraries are messed up. Don't change LIBS as
a result of the test, as that may mess up later tests.
2012-02-05 Christoph Scholtes <>
* make-dist (README.W32): Include file in source tarball. (Bug#9750)
* lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platform
specific makefiles to support getopt_.h generation with MSVC.
2012-02-04 Glenn Morris <>
* (uninstall):
Handle compressed info files and man pages. (Bug#10718)
2012-02-02 Glenn Morris <>
* [HAVE_NS]:
Error if use --without-toolkit-scroll-bars. (Bug#10673)
2012-02-01 Paul Eggert <>
Port to older Solaris 10 versions (Bug#10677).
Bug reported by Chong Yidong for SunOS 5.10 Generic_127111-11 sparc.
I cannot reproduce it on SunOS 5.10 Generic_141444-09 sparc but
possibly this is because Sun fixed the 'stat' bug in my version.
* (GNULIB_TOOL_FLAGS): Do not avoid the pathmax module.
* lib/pathmax.h, m4/pathmax.m4: New files, from gnulib.
* lib/, m4/gl-comp.m4: Regenerate.
These changes are based on gnulib version
4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc dated 2011-10-07 20:59:10,
because Emacs is in feature freeze and we do not want to merge any
more-recent changes from gnulib.
2012-01-31 Glenn Morris <>
* Throw an explicit error if Motif toolkit was
requested but requirements could not be found.
* Allow Emacs to actually be built with xaw scroll-bars.
2012-01-30 Eli Zaretskii <>
* lib/makefile.w32-in ($(BLD)/sha1.$(O) $(BLD)/sha256.$(O)
$(BLD)/sha512.$(O)): Depend on stamp_BLD. Fixes a build failure
with "make -j3".
2012-01-16 Juanma Barranquero <>
* .bzrignore: Ignore etc/__pycache__.
2011-12-17 Paul Eggert <>
Port HAVE_PTHREAD configuration to MirBSD 10 (Bug#10201).
* (HAVE_PTHREAD): Check for pthread_atfork if linking
to gmalloc.c. This should prevent a MirBSD 10 build failure reported
by Nelson H. F. Beebe in
2011-12-10 Juanma Barranquero <>
* update-subdirs: Don't set no-byte-compile twice (bug#10260).
2011-12-10 Jan Djärv <>
* (HAVE_ALSA, HAVE_GSETTINGS): Save and restore LIBS
instead of LDFLAGS (Bug#10230).
2011-12-03 Paul Eggert <>
* INSTALL.BZR: Mention configure -C, --disable-maintainer-mode.
Propagate configure flags to sub-configures.
New macros.
(config.status, bootstrap): Use them to propagate configure flags
to sub-configures.
* (cache_file): AC_SUBST this, for
2011-12-03 Paul Eggert <>
* .bzrignore: Add config.cache.
2011-11-27 Jan Djärv <>
* Check for gtk_window_set_has_resize_grip.
2011-11-24 Juanma Barranquero <>
* (HAVE_XPM): Fix typo.
2011-11-22 Glenn Morris <>
* (EMACSDATA, EMACSDOC): If set, print, since they can
have confusing effects on the build. (Bug#6401)
* (install-arch-dep): Tweak previous change.
2011-11-22 Yavor Doganov <>
Do not install arch-dependent files in the app bundle if
--disable-ns-self-contained is requested. (Bug#1335)
* (exec_prefix, libexecdir): Define relative to
`ns_appbindir' only if configured for a self-contained app.
* (install-arch-dep): Test for the existence of
libexec in the bundle before executing commands.
2011-11-20 Andreas Schwab <>
* Remove reference to src/m/ibms390.h.
2011-11-13 Glenn Morris <>
* INSTALL: Tiny updates for disk space used during installation.
2011-11-05 Eli Zaretskii <>
* lib/makefile.w32-in (FRC): New dummy target.
(TAGS): Depend on FRC.
2011-11-04 Glenn Morris <>
* Increase minimum GnuTLS version to 2.6.6. (Bug#9929)
Do not include GnuTLS version info in final summary message.
2011-10-31 Eli Zaretskii <>
* config.bat: Use and from src/ and lib/, if
they exist there, else from autogen/.
* make-dist (msdos): Add depfiles.bat and inttypes.h.
2011-10-25 Nali Toja <> (tiny change)
* (HAVE_GNU_MAKE): Respect MAKE env-var. (Bug#9868)
2011-10-24 Paul Eggert <>
* (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852)
if the library is found. Otherwise, later configure-time tests,
such as the test for pthread_sigmask, generate the wrong results
on some platforms. Problem reported for FreeBSD by Nali Toja.
2011-10-20 Paul Eggert <>
Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794)
Remove; no longer needed, now that we defer to strftime for time
zone names.
2011-10-18 Jan Djärv <>
* (GLIB_REQUIRED, GTK_REQUIRED): Set to 2.10 (Bug#9786).
2011-10-18 Chong Yidong <>
* make-dist: Remove Cocoa/Emacs.xcodeproj from distribution.
2011-10-13 Glenn Morris <>
* Also look for tputs in libcurses. (Bug#9736)
2011-10-12 Paul Eggert <>
* Remove check for -lintl (Bug#9713).
The check could break 'configure' on GNU/Linux with a (broken) libintl.
The check was helpful but not essential in Solaris 2.6 (1997),
and is no longer needed in Solaris 8 (2000). Solaris 2.6 is
obsolete -- Sun dropped support for it in 2006 -- and without
access to that Silurian platform we can't maintain the code anyway.
2011-10-07 Paul Eggert <>
Merge from gnulib, fixing some 'configure' typos (Bug#9696).
* lib/, lib/sigprocmask.c, m4/gl-comp.m4:
* m4/gnulib-common.m4: Merge from gnulib.
Without this, 'configure' would say "func_gl_gnulib_m4code_pathmax:
command not found" on powerpc-apple-darwin9.8.0.
This is now done by src/alloc.c.
2011-10-02 Richard Stallman <>
* Rename xlinux_first_failure to xgnu_linux_first_failure
and xlinux_second_failure to xgnu_linux_second_failure.
2011-09-29 Eli Zaretskii <>
* .bzrignore: Add ./GNUmakefile.unix, lib/SYS, lib/,
* config.bat: Rename GNUmakefile, so it is not run on MS-DOS.
Rename and
2011-09-28 Eli Zaretskii <>
* INSTALL: Mention that m17n libraries and libotf are needed for
Arabic shaping.
2011-09-26 Paul Eggert <>
Merge from gnulib, improving some licensing wording.
This clarifies and fixes some licensing issues raised by Glenn Morris
It also merges the latest version of texinfo.tex and has some
MSVC-related changes that don't affect Emacs.
* (GNULIB_TOOL_FLAGS): Avoid msvc-inval, msvc-nothrow,
pathmax, and raise, since these are needed only to address
MSVC-related issues that Emacs doesn't have.
* lib/dup2.c, lib/, lib/
* lib/sigprocmask.c, lib/stat.c, lib/, lib/
* lib/, m4/dup2.m4, m4/getloadavg.m4, m4/gl-comp.m4:
* m4/include_next.m4, m4/signal_h.m4, m4/signalblocking.m4:
* m4/stdint.m4, m4/stdio_h.m4, m4/sys_stat_h.m4, m4/time_h.m4:
* m4/unistd_h.m4: Merge from gnulib.
2011-09-26 Andreas Schwab <>
* Initialize HAVE_LIBXML2.
2011-09-26 Glenn Morris <>
* make-dist: Add lib/makefile.w32-in.
2011-09-24 Glenn Morris <>
* (CRT_DIR): Fix netbsd/openbsd handling.
2011-09-19 Lars Magne Ingebrigtsen <>
* .dir-locals.el: Change the debbugs regexp to allow having the
bug number as the first thing on a line.
2011-09-15 Glenn Morris <>
* Make configure work with recent GNUsteps.
(GNU_OBJC_CFLAGS): Add -fobjc-exceptions when needed.
(C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers.
2011-09-11 Paul Eggert <>
Merge from gnulib, porting to Tru64.
* lib/lstat.c, lib/stat.c, m4/include_next.m4, m4/nocrash.m4:
* m4/signal_h.m4, m4/time_h.m4, m4/unistd_h.m4:
Merge from gnulib. This fixes a compilation error on Tru64 UNIX
aka OSF/1 5.1 DTK cc. There is also some mingw stuff here that
doesn't affect Emacs.
2011-09-06 Paul Eggert <>
* (isnan): Remove now-unnecessary check.
2011-09-06 Paul Eggert <>
Merge from gnulib, using build-aux to remove clutter (Bug#9169).
This is to fix the following problems:
. On FreeBSD 6.4, HP-UX 11.31, and Solaris 9, and when Emacs is
configured not to use gtk or any other thread-using library,
signals aren't blocked correctly.
. On IRIX 6.5 it fixes an unwanted clash between Emacs's
and IRIX's signal handling.
. On Cygwin 1.7.5 it works around an incompatibility with
the system pthread_sigmask.
. On MacOS X 10.5 (32-bit), files whose inode numbers
exceed 2**31 cannot be read or manipulated.
. pthread_sigmask: Actually use results of gl_THREADLIB.
. strtoimax, strtoumax: Avoid link error on OSF/1 with DTK cc.
. find 'ar' program that fits with --host argument.
. Allow the user to override the choice of AR, ARFLAGS, RANLIB.
* autogen/README: Update destination list.
* autogen/copy_autogen, autogen/update_autogen, .bzrignore:
The autogenerated files compile, config.guess,
config.sub, depcomp, install-sh, and missing are now in build-aux.
* m4/largefile.m4: New file, so that Emacs does not mess up when
accessing files with large inode numbers in MacOS X 10.5 and later.
* m4/nocrash.m4: New file, to avoid triggering background debugger
and/or create core dumps during 'configure'.
* build-aux/move-if-change: Renamed from move-if-change.
* build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
* build-aux/snippet/c++defs.h: Renamed from c++defs.h.
* build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
* build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
* (epaths-force, sync-from-gnulib):
move-if-change is now in build-aux.
(GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
of gnulib's pthread_sigmask module, but Emacs doesn't need it.
(mkdir): install-sh is now in build-aux.
* config.bat: c++defs.h is now in build-aux/snippets.
* Specify AC_CONFIG_AUX_DIR with build-aux (the
usual parameter).
* lib/, m4/gl-comp.m4: Regenerate.
* lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
to build-aux/snippet.
* lib/pthread_sigmask.c, lib/, m4/extensions.m4:
* m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
Merge from gnuilib. This fixes porting bugs on Cygwin, Irix, and
Solaris, enables MacOS extensions, and enables nocrash during
* make-dist: Adjust to new build-aux and build-aux/snippit dirs.
2011-09-04 Paul Eggert <>
* (snprintf): New check.
2011-08-30 Paul Eggert <>
* (opsys): Change pattern to *-*-linux*
to recognize powerpc-gnu-linux-uclibc (Bug#9403).
Remove unreachable pattern hppa*-*-linux-gnu*.
Also, remove ia64*-hp-hpux1[1-9]*, as it also sets machine=hp800,
and that can't possibly work now that src/m/hp800.h no longer exists.
2011-08-26 Jan Djärv <>
* Add -MP to DEPFLAGS (Bug#9372).
2011-08-13 Jan Djärv <>
* Add header check: sys/socket.h (Bug#8477),
ifaddrs.h, net/if_dl.h. Check for getifaddrs and freeifaddrs.
Check for sa_len in struct ifreq.ifr_addr (Bug#8477).
2011-08-04 Jan Djärv <>
* (HAVE_PTHREAD): Add check for -lpthread (Bug#9216).
2011-07-28 Alp Aker <>
* (HAVE_RSVG): Allow use of -lrsvg-2 for any NextStep
build, not just GNUstep (Bug#9177).
2011-07-28 Paul Eggert <>
Assume freestanding C89 headers, string.h, stdlib.h.
Again, this simplifies the code, and all current platforms have these.
* (AC_CHECK_HEADERS): Don't check for limits.h.
(AC_CHECK_FUNCS): No need to check for strchr, strrchr.
(strchr, strrchr): Remove fallback macros.
Assume support for memcmp, memcpy, memmove, memset.
This simplifies the code a bit. All current platforms have these,
as they are required for C89. If this turns into a problem we
can add the gnulib modules for these (a 1-line change to
* Don't check for memcmp, memcpy, memmove, memset.
2011-07-27 Paul Eggert <>
* GNUmakefile: New file.
This is for convenience, so that one can run GNU make in an
unconfigured source tree, and get a default build.
2011-07-13 Jan Djärv <>
* (GSETTINGS): Check for gio-2.0 >= 2.26.
2011-07-11 YAMAMOTO Mitsuharu <>
* (LD_SWITCH_SYSTEM_TEMACS): Add -fno-pie on Darwin
so as to suppress address randomization (Bug#8395).
2011-07-09 Paul Eggert <>
* lib/ Merge from gnulib (Bug#9025).
This fixes a build problem on older Mac OS X hosts.
* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB
test, which runs afoul of Automake installations where, for example,
/usr/share/aclocal contains a copy of gl_THREADLIB.
Problem reported by Sven Joachim in
This is just a quick temporary fix, specific to Emacs; I'll work
with the other gnulib maintainers to get a more-permanent fix.
Add gnulib's strtoimax module, needed on Solaris 8.
* (GNULIB_MODULES): Add strtoimax.
* lib/strtoll.c, m4/strtoimax.m4, m4/strtoll.m4: New files,
automatically imported from gnulib.
* lib/, m4/gl-comp.m4: Regenerate.
2011-07-08 Paul Eggert <>
Add gnulib support for pthread_sigmask (Bug#9010).
* (GNULIB_MODULES): Add pthread_sigmask.
* (AC_TYPE_UID_T): New dummy macro.
Configure gnulib after adjusting LIBS,
so that gnulib can assume the libraries in LIBS.
* lib/, m4/pthread_sigmask.m4, m4/signal_h.m4:
* lib/pthread_sigprocmask.c, lib/sigprocmask.c, m4/signalblocking.m4:
* lib/pthread_sigmask.c:
New files, automatically imported from gnulib.
* lib/, m4/gl-comp.m4: Automatically-imported update
due to the above changes.
* .bzrignore: Add lib/signal.h.
* lib/getopt.c, lib/, m4/getopt.m4: Merge from gnulib.
2011-07-07 Andreas Schwab <>
* (maintainer-mode): Reflect default in help string.
2011-07-07 Dan Nicolaescu <>
* Remove reference to iris4d.h.
2011-07-05 Jan Djärv <>
2011-07-01 Glenn Morris <>
2011-06-30 Lars Magne Ingebrigtsen <>
* (HAVE_GSETTINGS): Fix syntax for GSETTINGS tests,
which made ./configure infloop.
2011-06-30 Jan Djärv <>
* (gsettings): New option and check for GSettings.
2011-06-29 Glenn Morris <>
* Try to test for the required crt*.o files.
2011-06-27 Bill Wohler <>
* .bzrignore: Add lisp/mh-e/mh-autoloads.el and lisp/mh-e/mh-cus-load.el.
2011-06-25 Paul Eggert <>
Use gnulib's dup2 module instead of rolling our own.
* (GNULIB_MODULES): Add dup2.
* Do not check for dup2; gnulib does that now.
* lib/dup2.c, m4/dup2.m4: New files, from gnulib.
2011-06-23 Paul Eggert <>
* lib/getopt.c, lib/stat.c, m4/gl-comp.m4: Merge from gnulib.
2011-06-22 Paul Eggert <>
Use gnulib's alloca-opt module.
* .bzrignore: Add lib/alloca.h.
* (GNULIB_MODULES): Add alloca-opt.
* (AC_FUNC_ALLOCA): Remove almost all the alloca stuff,
as gnulib now does that for us. Put alloca check in config.h.
Include <alloca.h> before any other include file, for AIX 3.
* lib/, m4/gl-comp.m4: Regenerate.
* lib/, m4/alloca.m4: New files, from gnulib.
2011-06-21 Leo Liu <>
* m4/sha256.m4:
* m4/sha512.m4:
* m4/gl-comp.m4:
* lib/u64.h:
* lib/sha256.c:
* lib/sha256.h:
* lib/sha512.c:
* lib/sha512.h:
* lib/makefile.w32-in (GNULIBOBJS):
* lib/
* (GNULIB_MODULES): Add crypto/sha256 and
crypto/sha512 modules from gnulib.
2011-06-19 Paul Eggert <>
* lib/, m4/getloadavg.m4: Merge from gnulib.
2011-06-17 Glenn Morris <>
* Restore the behavior of checking crt-dir only
when the user specified it (not all platforms use it).
2011-06-16 Paul Eggert <>
* m4/lstat.m4: Merge from gnulib (Bug#8878).
2011-06-16 Miles Bader <>
* Try to determine CRT_DIR automatically when
using gcc.
2011-06-15 Paul Eggert <>
* lib/ftoastr.c, lib/, lib/verify.h:
* lib/, m4/c-strtod.m4, m4/filemode.m4, m4/getloadavg.m4:
* m4/getopt.m4, m4/gl-comp.m4, m4/lstat.m4, m4/md5.m4, m4/mktime.m4:
* m4/readlink.m4, m4/sha1.m4, m4/stat.m4, m4/strftime.m4:
* m4/strtoull.m4, m4/strtoumax.m4, m4/symlink.m4, m4/time_r.m4:
Merge from gnulib.
2011-06-14 Jan Djärv <>
* Add emacsgtkfixed.o to GTK_OBJ if HAVE_GTK3.
2011-06-08 Paul Eggert <>
* lib/, m4/gnulib-common.m4: Merge from gnulib.
2011-06-07 Paul Eggert <>
* Add --with-wide-int.
* INSTALL: Mention this.
2011-06-06 Paul Eggert <>
Merge from gnulib.
* lib/careadlinkat.c, lib/careadlinkat.h, m4/gnulib-common.m4: Merge.
2011-06-02 Paul Eggert <>
* lib/allocator.h, lib/careadlinkat.c: Merge from gnulib.
2011-05-30 Paul Eggert <>
Use 'inline', not 'INLINE'.
* (INLINE): Remove.
2011-05-29 Paul Eggert <>
Adjust to recent gnulib change for @GUARD_PREFIX@.
* lib/makefile.w32-in (getopt_h): Substitute @GUARD_PREFIX@, too.
All uses of _GL_ for guard prefixes in lib/*.h replaced with
2011-05-27 Paul Eggert <>
* lib/getopt.c, lib/intprops.h: Merge from gnulib.
2011-05-24 Glenn Morris <>
* (check): Just give a message if no test/ directory.
* Avoid using variables inside AC_CONFIG_FILES.
(SUBDIR_MAKEFILES): New variable, passed to AC_CONFIG_FILES.
(SUBDIR_MAKEFILES_IN): New output variable.
(SUBDIR_MAKEFILES_IN): Let configure set it.
2011-05-24 Leo Liu <>
* m4/sha1.m4:
* m4/gl-comp.m4:
* lib/sha1.h:
* lib/sha1.c:
* lib/makefile.w32-in (GNULIBOBJS):
* lib/
* (GNULIB_MODULES): Add crypto/sha1 module.
2011-05-24 Glenn Morris <>
* Remove test for already configured source directory.
AM_INIT_AUTOMAKE has already done a more stringent test. (Bug#953)
* (TAGS, tags, check): Pass MFLAGS to sub-makes.
2011-05-24 Glenn Morris <>
* make-dist: Don't distribute test/. (Bug#8107)
* (OPT_MAKEFILES_IN): New output variable.
(AC_CONFIG_FILES): Conditionally include test/automated/Makefile.
* (OPT_MAKEFILES_IN): New, set by configure.
(check): Give an explicit error if test/ is not present.
* (SUBDIR_MAKEFILES_IN): New variable.
2011-05-23 Paul Eggert <>
* lib/verify.h: Merge from gnulib.
2011-05-22 Paul Eggert <>
* lib/intprops.h, lib/, m4/mktime.m4, m4/readlink.m4:
Merge from gnulib.
2011-05-21 Andreas Schwab <>
* (AUTOMAKE_INPUTS): Add $(srcdir)/lib/
2011-05-20 Eli Zaretskii <>
* .bzrignore: Add lib/, lib/stdbool.h, and lib/stdint.h.
* config.bat: Concatenate onto the end of src/Makefile.
2011-05-20 Glenn Morris <>
* (lisp_frag): New output file.
2011-05-19 Glenn Morris <>
(WINDOW_SUPPORT): Remove output variables that are no longer used.
2011-05-17 Paul Eggert <>
* lib/
* lib/intprops.h:
* lib/
* m4/inttypes.m4:
* m4/stdint.m4:
* m4/unistd_h.m4: Sync from gnulib.
2011-05-14 Glenn Morris <>
* Treat failure to find an X toolkit the same way we treat
failure to find X and image support.
2011-05-12 Glenn Morris <>
* (src, install-arch-indep, bootstrap-clean)
(check-declare): Shell portability fixes. (Bug#8642)
2011-05-09 Teodor Zlatanov <>
* Require GnuTLS 2.6.x or higher.
2011-05-06 Paul Eggert <>
Use C99's va_copy to avoid undefined behavior on x86-64 GNU/Linux.
* (GNULIB_MODULES): Add stdarg, for va_copy.
* lib/, m4/stdarg.m4: New files, from gnulib.
* (GNULIB_TOOL_FLAG): Add --conditional-dependencies.
This new gnulib-tool option saves 'configure' the trouble of
checking for strtoull when strtoumax exists.
* (BITS_PER_LONG_LONG): New macro.
2011-05-05 Glenn Morris <>
* (bootstrap-clean): Save config.log. (Bug#765)
(top_distclean): Delete config.log~.
2011-04-27 Ben Key <>
* Fixed a bug that caused configure with
--enable-checking=stringoverrun to have no effect.
2011-04-26 Paul Eggert <>
* Suppress unnecessary checks for size_t.
(AC_TYPE_SIZE_T): Define an empty macro, to suppress obsolescent test.
(size_t): Do not check for this, and do not typedef. This code
is never exercised now.
* (GNULIB_MODULES): Add strtoumax.
This is needed for the new integer-reading code in lread.c.
It automatically pulls in the following gnulib files, which
are used on old-fashioned platforms that don't have strtoumax:
lib/, lib/strtoimax.c, lib/strtol.c, lib/strtoul.c,
lib/strtoull.c, lib/strtoumax.c, lib/verify.h, m4/inttypes.m4,
m4/strtoull.m4, m4/strtoumax.m4.
* .bzrignore: Add lib/inttypes.h.
2011-04-24 Teodor Zlatanov <>
* Check for GnuTLS certificate verify callbacks.
2011-04-20 Stefan Monnier <>
* (config.status): Don't erase in case of error.
In case it disappeared, rebuild it with `configure'.
2011-04-20 Ken Brown <>
* (use_mmap_for_buffers): Set to yes on Cygwin.
2011-04-12 Glenn Morris <>
* Require ImageMagick >= 6.2.8. (Bug#7955)
2011-04-09 Paul Eggert <>
* lib/allocator.c: New file, automatically generated by gnulib.
2011-04-07 Glenn Morris <>
* autogen/update_autogen: Ignore comment diffs in ldefs-boot.el.
2011-04-06 Eli Zaretskii <>
* lib/makefile.w32-in ($(BLD)/careadlinkat.$(O), GNULIBOBJS):
Revert last change.
2011-04-06 Juanma Barranquero <>
* lib/makefile.w32-in (GNULIBOBJS): Add careadlinkat.$(O).
($(BLD)/careadlinkat.$(O)): New target.
($(BLD)/dtoastr.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O))
($(BLD)/strftime.$(O), $(BLD)/time_r.$(O), $(BLD)/md5.$(O)):
Update dependencies.
2011-04-06 Paul Eggert <>
Fix more problems found by GCC 4.6.0's static checks.
Replace 2 copies of readlink code with 1 gnulib version (Bug#8401).
* (GNULIB_MODULES): Add careadlinkat.
* lib/allocator.h, lib/careadlinkat.c, lib/careadlinkat.h:
* m4/ssize_t.m4: New files, automatically generated from gnulib.
2011-04-06 Glenn Morris <>
* autogen/update_autogen: Handle loaddefs-like files as well.
(usage): Add -l, -C.
(clean, ldefs_flag, ldefs_in, ldefs_out): New variables.
With -l, check status of lisp/ as well.
With -C, clean before building.
(autoreconf): Only pass -f in the `clean' case.
(commit): New function.
2011-03-28 Glenn Morris <>
* autogen/update_autogen: Pass -f to autoreconf.
* (get_version): Discard "not found" lines.
(check_version): Respect $AUTOCONF etc environment variables.
2011-03-27 Glenn Morris <>
* (AC_TYPE_SIGNAL): Remove obsolete macro.
(AH_BOTTOM): Do not define SIGTYPE.
2011-03-26 Glenn Morris <>
* Replace obsolete macros AC_TRY_COMPILE, AC_TRY_LINK,
2011-03-25 Andreas Schwab <>
* autogen/update_autogen: Remove useless function keyword.
2011-03-25 Eli Zaretskii <>
* config.bat: Generate src/config.h and lib/Makefile from
autogen/ and autogen/
2011-03-25 Glenn Morris <>
* compile, config.guess, config.sub, depcomp, install-sh, missing:
Remove; autoreconf can supply them.
* (sync-from-gnulib): Don't sync config.sub,
config.guess, install-sh. Pass -i to autoreconf.
* autogen/update_autogen (genfiles): Add compile, config.guess,
config.sub, depcomp, install-sh, missing. Pass -i to autoreconf.
Discard non-error output from autoreconf in -q case.
* autogen/compile, autogen/config.guess, autogen/config.sub:
* autogen/depcomp, autogen/install-sh, autogen/missing: New.
* autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp,
install-sh, missing.
2011-03-23 Glenn Morris <>
* autogen/update_autogen: Fix typo.
(msg): Remove function; use `exec' instead.
* (mkdir): Use `install-sh -d' instead of mkinstalldirs.
(sync-from-gnulib): Don't sync mkinstalldirs.
* make-dist: Don't distribute mkinstalldirs.
2011-03-23 Paul Eggert <>
Fix more problems found by GCC 4.5.2's static checks.
* (GNULIB_MODULES): Add socklen.
* Do not check for sys/socket.h, since socklen does that.
* m4/socklen.m4: New automatically-generated file, from gnulib.
fakemail: Remove dependency on ignore-value.
* (GNULIB_MODULES): Add stdio.
* lib/, m4/stdio_h.m4: New files, automatically
imported from gnulib.
* .bzrignore: Add lib/stdio.h.
2011-03-22 Glenn Morris <>
* autogen/copy_autogen: Work from ./ or ../.
Fix time-stamps.
* Doc fix.
2011-03-20 Glenn Morris <>
* autogen/: New directory, to be excluded from releases.
* autogen/copy_autogen, autogen/update_autogen: New scripts.
* autogen/README: New file.
* autogen/aclocal.m4, autogen/, autogen/configure:
* autogen/ Add auto-updated generated files.
* No longer a no-op, now it tests for autotools
and runs them as necessary.
* Default maintainer-mode to on.
* aclocal.m4, configure, lib/ Remove files.
2011-03-13 Paul Eggert <>
Update for gnulib.
* (GNULIB_MODULES): Add intprops, as Emacs now
includes <intprops.h> directly.
* lib/ New version from Gnulib, which fixes a bug
when building Emacs on Solaris 9 and running it on Solaris 10.
2011-03-08 Jan Djärv <>
* Require 3.0 for --with-gtk3. Add HAVE_GTK3.
2011-03-07 Chong Yidong <>
* Version 23.3 released.
2011-03-06 Glenn Morris <>
* (FREETYPE_LIBS): Actually set it to something.
2011-03-02 Paul Eggert <>
Work around some portability problems with symlinks.
* (GNULIB_MODULES): Add lstat, readlink, symlink.
* (lstat, HAVE_LSTAT): Remove special hack.
* lib/dosname.h, lib/lstat.c, lib/readlink.c, lib/stat.c:
* lib/symlink.c, m4/lstat.m4, m4/readlink.m4, m4/stat.m4:
* m4/symlink.m4:
New files, automatically generated from gnulib.
* aclocal.m4, configure, lib/, lib/
* m4/gl-comp.m4, src/, config.sub: Regenerate.
2011-02-26 Eli Zaretskii <>
* .bzrignore: Ignore new lib/*.in-h files.
* config.bat: Rename and
Call depfiles.bat even if lib/deps already exist.
2011-02-25 Paul Eggert <>
* configure, lib/, lib/getopt_int.h, lib/
* lib/, m4/stdlib_h.m4: Regenerate to incorporate
recent changes to and to gnulib.
2011-02-24 Glenn Morris <>
* Replace obsolete AC_OUTPUT() with AC_CONFIG_FILES(),
AC_CONFIG_COMMANDS(), and AC_OUTPUT sans arguments.
2011-02-22 Paul Eggert <>
Assume S_ISLNK etc. work, since gnulib supports this.
* (GNULIB_MODULES): Add sys_stat.
* Check for lstat and set HAVE_LSTAT=0 if not.
Pretend to be using the gnulib lstat module for benefit of sys/stat.h.
* configure, lib/, lib/ Regenerate.
2011-02-21 Paul Eggert <>
* lib/min-max.h: New file, for "min" and "max".
2011-02-21 Christoph Scholtes <>
* lib/makefile.w32-in ($(BLD)/md5.$(O)): Add dependency on
2011-02-21 Eli Zaretskii <>
* lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from
src/makefile.w32-in and adapt. Depend on stamp_BLD.
(GNULIBOBJS): Add $(BLD)/filemode.$(O).
2011-02-21 Paul Eggert <>
Import filemode module from gnulib.
* .bzrignore: Add lib/sys/.
* (GNULIB_MODULES): Add filemode.
* lib/ (MOSTLYCLEANDIRS): New macro.
* lib/filemode.c: Renamed from src/filemode.c and regenerated
from gnulib. This adds support for some more file types, e.g.,
Cray DMF migrated files.
* lib/filemode.h, lib/, m4/filemode.m4, m4/st_dm_mode.m4:
* m4/sys_stat_h.m4: New files, generated from gnulib.
* aclocal.m4, configure, lib/, lib/, m4/gl-comp.m4:
2011-02-20 Eli Zaretskii <>
* lib/makefile.w32-in ($(BLD)/md5.$(O)): Don't depend on
2011-02-20 Paul Eggert <>
* (C_WARNINGS_SWITCH): Do not prepend -Wno-pointer-sign.
This undoes the 2006-01-02 change. The -Wno-pointer-sign option
is no longer needed, due to the recent SSDATA and related changes.
Perhaps -Wno-pointer-sign should also be removed from
nextstep/Cocoa/Emacs.xcodeproj/project.pbxproj but I have no easy
way to test this so I left it alone.
* configure: Regenerate.
2011-02-20 Christoph Scholtes <>
* lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from
2011-02-20 Paul Eggert <>
Import crypto/md5 and stdint modules from gnulib.
* aclocal.m4, configure, lib/, lib/, m4/gl-comp.m4:
* lib/md5.c, lib/md5.h: Rename from src/md5.h and lib/md5.h.
Import the new versions from gnulib; they assume a C99-style
<stdint.h>, supplied by the stdint module.
* lib/, m4/longlong.m4, m4/stdint.m4, m4/md5.m4: New files,
imported from gnulib.
* (MAKEFILE_MODULES): Add crypto/md5.
2011-02-19 Eli Zaretskii <>
* .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.
Add lib/deps/.
* config.bat: Configure in `lib'.
Generate *.Po files in lib/deps.
2011-02-18 Paul Eggert <>
Import IRIX 6.5 getloadavg fixes from gnulib.
* configure, lib/getloadavg.c, m4/getloadavg.m4: Regenerate.
2011-02-16 Paul Eggert <>
Import getloadavg module from gnulib.
* .bzrignore: Add lib/stdlib.h.
* (GNULIB_MODULES): Add getloadavg.
* (LIBS_SYSTEM): Omit -lkstat on sol2*; gnulib does this.
Remove; gnulib does this now.
* lib/getloadavg.c: Rename from src/getloadavg.c, and sync
from gnulib. This adds support for several other systems, such
as Tru64 4.0D, QNX, AIX perfstat, etc. It also fixes a potential
buffer overrun on Linux hosts under very high load, and on hosts
that maintain a channel to the load average file it makes sure
the file descriptor is close-on-exec (on hosts that support this)
and is not stdin, stdout, or stderr.
* lib/, m4/getloadavg.m4, m4/stdlib_h.m4: New files,
from gnulib.
* aclocal.m4, configure, lib/, lib/, m4/gl-comp.m4:
2011-02-15 Paul Eggert <>
Merge from gnulib.
* install-sh: Update to scriptversion 2011-01-19.21.
2011-02-13 Bruno Haible <>
Consistent macro naming for macros that use GCC __attribute__.
* lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Rename from
2011-02-12 Bruno Haible <>
setlocale: Prefer gnulib's override over libintl's override.
* lib/gettext.h (setlocale): Redefine to rpl_setlocale if
GNULIB_defined_setlocale is set.
2011-02-13 Glenn Morris <>
* make-dist: Exclude generated file src/globals.h.
2011-02-10 Paul Eggert <>
* arg-nonnull.h, c++defs.h, warn-on-use.h: Fix licenses.
Sync from gnulib, which has been patched to fix the problem
with the license notices. Problem reported by Glenn Morris in
2011-02-09 Stefan Monnier <>
* .bzrignore: Ignore globals.h and related stamp.
2011-02-09 Paul Eggert <>
* lib/, lib/ Regenerate.
This merges the following fix from gnulib:
2011-02-08 Bruno Haible <>
Split large sed scripts, for HP-UX sed.
2011-02-08 Tom Tromey <>
* configure: Rebuild.
* (NS_OBJC_OBJ): New subst.
2011-02-06 Paul Eggert <>
gnulib: allow multiple gnulib generated replacements to coexist
This defines a few preprocessor symbols that should not affect Emacs.
* lib/, lib/, lib/ Regenerate
via "make sync-from-gnulib".
gnulib: undo previous change
The upstream _HEADERS change was backed out of gnulib (see the
same thread). Stay in sync with gnulib.
gnulib: adjust to upstream _HEADERS change
* lib/ (EXTRA_HEADERS, nodist_pkginclude_HEADERS):
New empty macros, to accommodate recent changes to gnulib. See
* c++defs.h, lib/, lib/ftoastr.h, lib/
* lib/, lib/ignore-value.h, lib/, lib/
* lib/, lib/
2011-02-05 Paul Eggert <>
sync from gnulib to remove HAVE_STDBOOL_H
* m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Rename from
AC_HEADER_STDBOOL. All uses changed. Do not define
HAVE_STDBOOL_H, as gnulib does not need this. This change is
imported from the latest Autoconf git. It was motivated by Emacs,
which uses gnulib but does not need HAVE_STDBOOL_H.
* configure, src/ Regenerate.
* config.guess, config.sub: Sync to 2011-02-02 versions (whitespace)
2011-02-03 Paul Eggert <>
allow C code to suppress warnings about ignored return values
* (GNULIB_MODULES): Add ignore-value.
* configure, lib/, lib/, m4/gl-comp.m4: Regenerate.
* lib/ignore-value.h: New file.
2011-01-31 Chong Yidong <>
* Test existence of xaw3d library, not just the
header (Bug#7642).
2011-01-31 Eli Zaretskii <>
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and
($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and
($(BLD)/time_r.$(O)): Define prerequisites.
2011-01-31 Paul Eggert <>
src/emacs.c now gets version number from
* (version): Set this from $PACKAGE_VERSION,
which is set from AC_INIT, rather than scouting through src/emacs.c.
* configure: Regenerate.
* make-dist (version): Get it from, not src/emacs.c.
2011-01-30 Paul Eggert <>
strftime: import from gnulib
* (GNULIB_MODULES): Add strftime.
* (AC_FUNC_STRFTIME, my_strftime): Remove; no longer
* aclocal.m4, configure, lib/, lib/, m4/gl-comp.m4:
* lib/strftime.c, lib/strftime.h, lib/ New files,
imported from gnulib.
* m4/strftime.m4, m4/stdbool.m4, m4/tm_gmtoff.m4: Likewise.
This incorporates many changes from gnulib, including simpler
handling of multibyte formats, porting to mingw32 and other
platforms, and support for higher-resolution time stamps.
Emacs does not yet use the higher-resolution interface.
2011-01-30 Paul Eggert <>
gnulib: import mktime and move-if-change fixes from gnulib
* configure: Regenerate from the following.
2011-01-30 Paul Eggert <>
mktime: clarify long_int width checking
* lib/mktime.c (long_int_is_wide_enough): Move this assertion to
the top level, to make it clearer that the assumption about
long_int width is being checked. See
2011-01-29 Paul Eggert <>
TYPE_MAXIMUM: avoid theoretically undefined behavior
* lib/intprops.h (TYPE_MINIMUM, TYPE_MAXIMUM): Do not shift a
negative number, which the C Standard says has undefined behavior.
In practice this is not a problem, but might as well do it by the book.
Reported by Rich Felker and Eric Blake; see
* m4/mktime.m4 (AC_FUNC_MKTIME): Likewise.
* lib/mktime.c (TYPE_MAXIMUM): Redo slightly to match the others.
mktime: #undef mktime before #defining it
* lib/mktime.c (mktime) [DEBUG]: #undef mktime before #defining it.
mktime: systematically normalize tm_isdst comparisons
* lib/mktime.c (isdst_differ): New function.
(__mktime_internal): Use it systematically for all isdst comparisons.
This completes the fix for libc BZ #6723, and removes the need for
normalizing tm_isdst.
See <>
(not_equal_tm) [DEBUG]: Use isdst_differ here, too.
mktime: fix some integer overflow issues and sidestep the rest
This was prompted by a bug report by Benjamin Lindner for MinGW
His bug is due to signed integer overflow (0 - INT_MIN), and I
I scanned through mktime.c looking for other integer overflow
problems, fixing all the bugs I found.
Although the C Standard says the resulting code is still not safe
in the presence of integer overflow, in practice it should be good
enough for all real-world two's-complement implementations, except
for debugging environments that deliberately trap on integer
overflow (e.g., gcc -ftrapv).
* lib/mktime.c (WRAPV): New macro.
(SHR): Also check that long_int and time_t shift right in the
usual way, before using the fast-but-unportable method.
used. The code already assumed two's complement, so there's
no need to test for alternatives. All uses removed.
(TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by
the C standard. Problem reported by Rich Felker in
(twos_complement_arithmetic): Also check long_int and time_t.
(time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions.
(guess_time_tm, ranged_convert, __mktime_internal): Use them.
(__mktime_internal): Avoid integer overflow with unary subtraction
in two instances where -1 - X is an adequate replacement for -X,
since the calculations are approximate.
2011-01-29 Eric Blake <>
mktime: avoid infinite loop
* m4/mktime.m4 (AC_FUNC_MKTIME): Avoid overflow on possibly-signed
type; behavior is still undefined but portable to all known targets.
Reported by Rich Felker.
2011-01-28 Paul Eggert <>
mktime: avoid problems on NetBSD 5 / i386
* lib/mktime.c (long_int): New type. This works around a problem
on NetBSD 5 / i386, where 'long int' and 'int' are both 32 bits
but time_t is 64 bits, and where I expect the existing code is
wrong in some cases.
(leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it.
(ydhms_diff): Bring back the compile-time check for wide-enough
year and yday.
mktime: fix misspelling in comment
* lib/mktime.c (__mktime_internal): Fix misspelling in comment.
This merges all recent glibc changes of importance.
2011-01-28 Ralf Wildenhues <>
move-if-change: cope with concurrent mv of identical file.
* move-if-change (CMPPROG): Accept environment
variable as an override for `cmp'.
(usage): Document CMPPROG.
Adjust comparison to drop stdout. Cope with failure of mv if
the target file exists and is identical to the source, for
parallel builds.
Report from H.J. Lu against binutils in PR binutils/12283.
2011-01-29 Eli Zaretskii <>
* lib/makefile.w32-in:
* lib/getopt_.h: New files.
2011-01-28 Paul Eggert <>
improve fix for MS-DOS file name clash
* (DOS_gnulib_comp.m4): Rename from DOS-gnulib-comp.m4,
for portability to POSIX make. Reported by Bruno Haible.
(sync-from-gnulib): Copy gl-comp.m4 (if present) back to
gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib
files from accumulating as garbage. Also reported by Bruno Haible.
2011-01-27 Paul Eggert <>
fix two m4/gnulib-*.m4 file names that clashed under MS-DOS
* (DOS-gnulib-comp.m4): New macro.
(sync-from-gnulib): Rename m4/gnulib-comp.m4 to m4/gl-comp.m4 to avoid
problems with MS-DOS 8+3 file name restrictions.
Remove m4/gnulib-cache.m4, as we can live without it. If we kept
it, it would also cause problems when extracting Emacs distribution
tarballs on MS-DOS hosts.
(ACLOCAL_INPUTS): Adjust to file renaming.
* aclocal.m4, configure, lib/, src/ Regenerate.
* config.guess, config.sub: Sync from gnulib.
* m4/gnulib-cache.m4: Remove from repository.
* m4/gl-comp.m4: Rename from m4/gnulib-comp.m4.
2011-01-25 Glenn Morris <>
* README: Add a note about ranges in copyright years.
* Set CANNOT_DUMP on ia64 hpux (port from emacs-23).
2011-01-25 Peter O'Gorman <> (tiny change)
* Add HP-UX on IA64 (Bug#6811).
2011-01-24 Paul Eggert <>
Remove HAVE_RAW_DECL_CHOWN etc. from config.h
* (sync-from-gnulib): Remove m4/warn-on-use.m4,
as it is no longer needed.
* aclocal.m4, configure, lib/, src/ Regenerate.
* Invoke the new gnulib macro
gl_ASSERT_NO_GNULIB_POSIXCHECK, which removes the need for
warn-on-use.m4 and for the HAVE_RAW_DECL_* symbols in config.h.
* m4/getopt.m4: Sync from gnulib; this removes the need for
* m4/gnulib-common.m4 (gl_ASSERT_NO_GNULIB_POSIXCHECK):
New macro, synced from gnulib.
* m4/warn-on-use.m4: Remove.
2011-01-22 Paul Eggert <>
aclocal.m4: put this file back into repository
This way, we don't have to assume that the maintainer has
the automake package installed. See
* .bzrignore: Remove aclocal.m4, undoing the previous change.
* (top_maintainer_clean): Do not remove aclocal.m4,
undoing the previous change.
* aclocal.m4: New file (actually, resurrected).
2011-01-22 Miles Bader <>
* Don't zero-out FONTCONFIG_CFLAGS and
FONTCONFIG_LIBS when building with XFT (doing so is incorrect, as
Emacs directly uses fontconfig, and breaks building when using a
strict linker).
2011-01-21 Paul Eggert <>
src/ shrink slightly
* Invoke the new gnulib macro gl_ASSERT_NO_GNULIB_TESTS.
This makes src/ a bit smaller, by removing identifiers
like GNULIB_TEST_MKTIME that Emacs does not need.
* m4/getopt.m4, m4/gnulib-common.m4, m4/include_next.m4: