ChangeLog 387 KB
Newer Older
1 2 3 4 5
2013-06-07  Richard Copley  <rcopley@gmail.com>  (tiny change)

	* Makefile.in (msys_to_w32): Modify to support d:\foo file names.
	(msys_lisppath_to_w32, msys_prefix_subst, msys_sed_sh_escape): New
	variables.
6
	(epaths-force-w32): Use them.  (Bug#14513)
7

8 9 10 11
2013-06-03  Michael Albinus  <michael.albinus@gmx.de>

	* configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24.

12 13 14 15 16
2013-06-03  Eli Zaretskii  <eliz@gnu.org>

	* configure.ac (HAVE_GFILENOTIFY): Do not change $LIBS.
	(GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): Substitute.

17 18 19 20 21
2013-06-03  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.ac (HAVE_GLIB): Add GLib check.  Set XGSELOBJ if GLib is
	used.  Remove xgselect.o from XOBJ.

22 23 24 25 26 27 28 29 30 31 32
2013-06-03  Michael Albinus  <michael.albinus@gmx.de>

	* configure.ac (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/config.in: Add entries for HAVE_GFILENOTIFY,
	HAVE_W32NOTIFY and USE_FILE_NOTIFY.

33 34 35 36
2013-06-02  Juanma Barranquero  <lekktu@gmail.com>

	* .bzrignore: Ignore dirs libexec/, share/ and var/.

Xue Fuqiao's avatar
Xue Fuqiao committed
37 38 39 40
2013-05-29  Xue Fuqiao  <xfq.free@gmail.com>

	* INSTALL: Fix description.

41 42 43 44 45
2013-05-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* configure.ac (HAVE_XRANDR): Check availability of
	XRRGetScreenResources rather than that of XRRQueryExtension.

46 47 48 49 50
2013-05-18  Eli Zaretskii  <eliz@gnu.org>

	* make-dist (files): Add nt/msysconfig.sh, nt/mingw-cfg.site,
	nt/epaths.nt, and nt/INSTALL.MSYS.

51 52
2013-05-18  Paul Eggert  <eggert@cs.ucla.edu>

53 54 55 56 57 58 59 60
	Port --enable-gcc-warnings to clang.
	* configure.ac (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.
	(GLIB_DISABLE_DEPRECATION_WARNINGS): Define this;
	needed for Ubuntu 13.04 + clang + --enable-gcc-warnings.

61 62 63
	* make-dist (files): Add nt/Makefile.in, nt/gnulib.mk.
	Otherwise, 'configure; make' fails on non-Windows builds.

64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
2013-05-16  Eli Zaretskii  <eliz@gnu.org>

	* lib/Makefile.am: If building for MS-Windows, include
	nt/gnulib.mk instead of lib/gnulib.mk.

	* configure.ac: Adapt to MSYS build on MS-Windows.

	* Makefile.in (NTDIR): New variable, for the MSYS build on
	MS-Windows.
	(SUBDIR): Add $(NTDIR).
	(.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 mingw-cfg.site as
	CONFIG_SITE for the MSYS build on MS-Windows.
	(Makefile): Use $(CFG).

	* .bzrignore: Ignore *.res, *.tmp, and *.map.  Remove
	src/emacs.res.

Paul Eggert's avatar
Paul Eggert committed
92 93 94 95 96 97 98
2013-05-16  Paul Eggert  <eggert@cs.ucla.edu>

	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

99 100 101 102 103
2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* Makefile.in (install-doc): DOC file is not version specific any more.
	* .bzrignore: Don't ignore DOC-* any more.

104 105
2013-05-13  Paul Eggert  <eggert@cs.ucla.edu>

106
	* configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -nopie.
107 108
	Reported privately by Han Boetes <han@boetes.org>.

109 110 111 112 113
2013-05-08  Juanma Barranquero  <lekktu@gmail.com>

	* lib/makefile.w32-in (ACL_H): New macro.
	($(BLD)/acl-errno-valid.$(O)): Update dependencies.

114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
2013-05-07  Paul Eggert  <eggert@cs.ucla.edu>

	Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295)
	* configure.ac: Remove -with-acl option, since Gnulib does that for
	us now.
	(LIBACL_LIBS): Remove; no longer needed.
	* lib/Makefile.am (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/errno.in.h, 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/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

130 131 132 133 134
2013-05-07  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.ac (HAVE_XRANDR, HAVE_XINERAMA): Define if available.
	(XRANDR_LIBS, XINERAMA_LIBS): New AC_SUBSTs.

Paul Eggert's avatar
Paul Eggert committed
135 136 137 138 139
2013-05-06  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2013-04-30 utimens, utimensat: work around Solaris UTIME_OMIT bug

140 141 142 143
2013-05-01  Paul Eggert  <eggert@cs.ucla.edu>

	* make-dist: Keep necessary restrictions on file access.

Paul Eggert's avatar
Paul Eggert committed
144 145 146 147 148
2013-04-29  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2013-04-28 extern-inline: work around bug in Sun c99

Paul Eggert's avatar
Paul Eggert committed
149 150 151 152 153
2013-04-27  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2013-04-27 alignof, intprops, malloca: port better to IBM's C compiler

Paul Eggert's avatar
Paul Eggert committed
154 155 156 157 158 159 160
2013-04-26  Paul Eggert  <eggert@cs.ucla.edu>

	Port better to AIX (Bug#14258).
	* configure.ac (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.

161 162
2013-04-22  Paul Eggert  <eggert@cs.ucla.edu>

163 164 165
	* make-dist: Do not distribute admin/unidata/Makefile.
	It is generated by 'configure'.

166 167 168 169
	* 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.

170 171 172 173
2013-04-18  John Marino  <gnugcc@marino.st>  (tiny change)

	* configure.ac: Add DragonFly BSD, mostly same as FreeBSD.  (Bug#14068)

174 175 176 177 178 179 180 181
2013-04-18  Glenn Morris  <rgm@gnu.org>

	* configure.ac (AC_PROG_LN_S): Remove, too restrictive.
	(LN_S_FILEONLY): New output variable.
	* Makefile.in (LN_S): Remove.
	(LN_S_FILEONLY): New, set by configure.
	(install-arch-dep): Use LN_S_FILEONLY rather than LN_S.

182 183 184 185 186
2013-04-12  Ken Brown  <kbrown@cornell.edu>

	* configure.ac (canonical): Adapt to 64-bit Cygwin, for which
	`canonical' is `x86_64-unknown-cygwin'.

187 188 189 190 191 192
2013-04-09  Ken Brown  <kbrown@cornell.edu>

	* configure.ac (W32_RES_LINK): Remove unneeded linker directive
	`-Wl,-bpe-i386', which is confusing in the 64-bit case.
	(Bug#12993)

193 194 195 196 197 198 199 200
2013-04-07  Paul Eggert  <eggert@cs.ucla.edu>

	Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783).
	* configure.ac (LD_SWITCH_SYSTEM_TEMACS): Append -pg if profiling
	and if not on GNU/Linux or FreeBSD.
	* lib/Makefile.am (AM_CFLAGS): Add $(PROFILING_CFLAGS), so that
	lib/*.o is profiled too.

Paul Eggert's avatar
Paul Eggert committed
201 202 203 204 205 206 207
2013-03-30  Paul Eggert  <eggert@cs.ucla.edu>

	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
	<http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00999.html>.

208 209 210 211 212
2013-03-27  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac (HAVE_XKBGETKEYBOARD): Remove.
	Subsumed by HAVE_XKB.  All uses changed.

213 214 215 216
2013-03-25  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.ac (HAVE_XKB): Define if Xkb is present.

Paul Eggert's avatar
Paul Eggert committed
217 218 219 220 221
2013-03-24  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2013-03-21 sys_select, sys_time: port 2013-01-30 fix to Cygwin

Paul Eggert's avatar
Paul Eggert committed
222 223
2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>

224 225 226 227
	Fix bug when building Emacs with a GNU Make submake (Bug#13962).
	* Makefile.in (QUIET_SUBMAKE): New macro.
	(install-info, uninstall): Use it.

228 229 230 231 232 233
	Emacs crashes with ImageMagick 6.8.2-3 through 6.8.3-9 (Bug#13867).
	* configure.ac (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
	approximation.

Paul Eggert's avatar
Paul Eggert committed
234 235 236
	Automate the build of ja-dic.el (Bug#13984).
	* .bzrignore: Add leim/ja-dic/.

Paul Eggert's avatar
Paul Eggert committed
237 238
2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>

Paul Eggert's avatar
Paul Eggert committed
239 240 241 242 243 244 245
	File synchronization fixes (Bug#13944).
	* configure.ac (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/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

Paul Eggert's avatar
Paul Eggert committed
246
	Merge from gnulib, incorporating:
247
	2013-03-13 putenv: port to Solaris 10
Paul Eggert's avatar
Paul Eggert committed
248 249 250 251 252
	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.

Glenn Morris's avatar
Glenn Morris committed
253 254 255 256
2013-03-11  Glenn Morris  <rgm@gnu.org>

	* Merge in all changes up to version 24.3 release.

257
2013-03-06  Paul Eggert  <eggert@cs.ucla.edu>
258 259 260 261

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

262 263 264 265
2013-03-05  Glenn Morris  <rgm@gnu.org>

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

266 267 268 269
2013-03-03  Glenn Morris  <rgm@gnu.org>

	* make-dist: Remove lzma (it's replaced by xz).

Paul Eggert's avatar
Paul Eggert committed
270 271 272 273 274 275 276
2013-03-01  Paul Eggert  <eggert@cs.ucla.edu>

	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

277 278 279 280
2013-02-28  Ken Brown  <kbrown@cornell.edu>

	* configure.ac (HAVE_DATA_START): Fix test.  (Bug#13818)

281 282 283 284 285 286 287 288 289
2013-02-25  Paul Eggert  <eggert@cs.ucla.edu>

	Simplify data_start configuration (Bug#13783).
	* configure.ac (CRT_DIR, LIB_STANDARD, START_FILES, DATA_START)
	(LD_FIRSTFLAG, ORDINARY_LINK, LIB_GCC): Remove.
	(AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's
	not always needed.
	(HAVE_DATA_START): New macro.

290 291 292 293 294 295 296 297 298 299 300 301
2013-02-21  Paul Eggert  <eggert@cs.ucla.edu>

	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.
	* Makefile.in (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.

302
2013-02-15  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
303 304 305 306

	Fix AIX port (Bug#13650).
	* configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX.

307 308 309 310 311
2013-02-12  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O).
	($(BLD)/memrchr.$(O)): New dependency.

Paul Eggert's avatar
Paul Eggert committed
312 313
2013-02-11  Paul Eggert  <eggert@cs.ucla.edu>

314 315 316 317 318 319
	Tune by using memchr and memrchr.
	* .bzrignore: Add string.h.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* lib/memrchr.c, lib/string.in.h, m4/memrchr.m4, m4/string_h.m4:
	New files, from gnulib.

Paul Eggert's avatar
Paul Eggert committed
320 321 322 323
	Merge from gnulib, incorporating:
	2013-02-11 unsetenv etc.: port to Solaris 11 + GNU Emacs
	2013-02-09 secure_getenv: fix C++ declaration typo

Glenn Morris's avatar
Glenn Morris committed
324 325 326 327
2013-02-11  Glenn Morris  <rgm@gnu.org>

	* configure.ac (emacs_config_options): Record some env vars.

328 329 330 331 332
2013-02-10  Glenn Morris  <rgm@gnu.org>

	* configure.ac (emacs_config_options): Strip out the (internal)
	arguments --no-create and --no-recursion.

Paul Eggert's avatar
Paul Eggert committed
333 334 335 336 337 338 339 340 341 342 343
2013-02-08  Paul Eggert  <eggert@cs.ucla.edu>

	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

344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363
2013-02-01  Paul Eggert  <eggert@cs.ucla.edu>

	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/Makefile.am (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/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* lib/dirent.in.h, 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.

364 365 366 367
2013-02-01  Glenn Morris  <rgm@gnu.org>

	* make-dist: Only README files exist in lisp/ now, not README*.

368 369 370 371
2013-01-23  Giorgos Keramidas  <gkeramidas@gmail.com>  (tiny change)

	* .bzrignore: add lib-src/blessmail.

Paul Eggert's avatar
Paul Eggert committed
372 373 374 375 376
2013-01-23  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2013-01-16 unistd: port to recent mingw

377
2013-01-19  Glenn Morris  <rgm@gnu.org>
378 379 380 381

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

Paul Eggert's avatar
Paul Eggert committed
382 383 384 385 386 387
2013-01-16  Paul Eggert  <eggert@cs.ucla.edu>

	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

388 389 390 391 392
2013-01-16  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac: Document that --enable-gcc-warnings emits errors.
	(Bug#13448)

393
2013-01-13  Glenn Morris  <rgm@gnu.org>
394 395 396

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

397 398 399 400 401 402 403
2013-01-12  Paul Eggert  <eggert@cs.ucla.edu>

	Enable conservative stack scanning for all architectures.
	Suggested by Stefan Monnier in
	<http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00183.html>.
	* configure.ac (GC_MARK_STACK): Remove.

404 405 406 407
2013-01-11  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/getopt_.h: Remove trailing CRs that crept in.

Eli Zaretskii's avatar
Eli Zaretskii committed
408 409 410 411
2013-01-11  Eli Zaretskii  <eliz@gnu.org>

	* lib/getopt_.h: Regenerate.

Paul Eggert's avatar
Paul Eggert committed
412 413 414 415 416
2013-01-10  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2013-01-09 stdlib: port to Solaris 2.6

417 418 419 420
2013-01-04  Glenn Morris  <rgm@gnu.org>

	* info/dir: Add htmlfontify.

Paul Eggert's avatar
Paul Eggert committed
421 422 423 424 425 426 427 428 429 430 431
2013-01-04  Paul Eggert  <eggert@cs.ucla.edu>

	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/stdio.in.h, lib/strftime.c: Update from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

Paul Eggert's avatar
Paul Eggert committed
432 433 434 435 436
2013-01-02  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating copyright-date changes and:
	2012-12-31 dup2: work around cygwin bug

437 438 439
2012-12-30  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.ac: Check for GtkHandlebox.
440
	Check for GtkTearoffMenuItem.
441 442 443
	New enable: --enable-gtk-deprecation-warnings, default off.
	(HAVE_GTK3): If above enable is off, add
	-DGDK_DISABLE_DEPRECATION_WARNINGS to GTK_CFLAGS.
444

445
2012-12-30  Andreas Schwab  <schwab@linux-m68k.org>
446 447 448 449 450

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

451 452 453 454 455 456
2012-12-27  Glenn Morris  <rgm@gnu.org>

	* configure.ac (emacs_config_options): New.
	Use $@ rather than undocumented $ac_configure_args.
	Replace any embedded double quotes.  (Bug#13274)

457
2012-12-27  Andreas Schwab  <schwab@linux-m68k.org>
Andreas Schwab's avatar
Andreas Schwab committed
458 459 460 461

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

462 463 464 465 466 467 468
2012-12-26  Paul Eggert  <eggert@cs.ucla.edu>

	Revert static checking of stack smashing.
	* configure.ac (WARN_CFLAGS): Omit -Wstack-protector when
	configured with --enable-gcc-warnings.  -Wstack-protector causes
	diagnostics to be issued on Ubuntu 12.10 x86-64.

Paul Eggert's avatar
Paul Eggert committed
469 470 471 472 473 474 475
2012-12-24  Paul Eggert  <eggert@cs.ucla.edu>

	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.

476
2012-12-21  Akinori MUSHA  <knu@iDaemons.org>  (tiny change)
477 478 479

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

480 481 482 483 484 485
2012-12-16  Romain Francoise  <romain@orebokech.com>

	* configure.ac (acl): New option.
	(HAVE_POSIX_ACL): Test for POSIX ACL support.  This is typically
	provided by libacl on GNU/Linux.

486 487 488 489 490
2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>

	Fix permissions bugs with setgid directories etc. (Bug#13125)
	* configure.ac (BSD4_2): Remove; no longer needed.

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

493
	* info/dir: Add bovine, srecode, wisent.
494

495
2012-12-13  Andreas Schwab  <schwab@suse.de>
496 497

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

500 501 502 503 504 505
2012-12-11  Paul Eggert  <eggert@cs.ucla.edu>

	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.

506 507 508 509 510
2012-12-11  Juanma Barranquero  <lekktu@gmail.com>

	* lib/makefile.w32-in (SIG2STR_H): New macro.
	($(BLD)/sig2str.$(O)): Update dependencies.

511 512 513 514 515 516
2012-12-10  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac (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.

517 518
2012-12-10  Daniel Colascione  <dancol@dancol.org>

519 520
	* .bzrignore: add src/emacs.res.

521 522 523 524
	* configure.ac (W32_RES, W32_RES_LINK, WINDRES): Teach the cygw32
	build how to compile Windows resource files; use these variables
	to tell src/Makefile.in how and whether to compile resources.

525 526 527 528 529
2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* configure.ac (inotify): New option.
	(HAVE_INOTIFY): Test for inotify.

530 531 532 533 534
2012-12-09  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.ac: Fix source command in .gdbinit.
	Don't quote $MAKEINFO.

535 536 537 538 539 540 541
2012-12-09  Paul Eggert  <eggert@cs.ucla.edu>

	Allow spaces in some configuration vars (Bug#13078).
	* configure.ac (srcdir): Don't assume $PWD lacks spaces.
	(srcdir, MAKEINFO, PKG_CONFIG, PKG_CONFIG_MIN_VERSION):
	All uses quoted, to allow spaces in these vars.

542 543 544 545 546 547 548
2012-12-08  Paul Eggert  <eggert@cs.ucla.edu>

	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/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

549 550 551 552 553 554
2012-12-08  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in ($(BLD)/sig2str.$(O)): New dependency.
	Remove a stray character at the beginning of the file.
	(Bug#13026)

555 556
2012-12-08  Paul Eggert  <eggert@cs.ucla.edu>

Paul Eggert's avatar
Paul Eggert committed
557 558 559
	Simplify get_lim_data.
	* configure.ac (ULIMIT_BREAK_VALUE): Remove.

560 561 562 563 564 565 566
	Assume POSIX 1003.1-1988 or later for signal.h (Bug#13026).
	* configure.ac (PTY_OPEN, PTY_TTY_NAME_SPRINTF):
	Use SIGCHLD rather than SIGCLD.
	* lib/sig2str.c, lib/sig2str.h, m4/sig2str.m4: New files, from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
	* lib/makefile.w32-in (GNULIBOBJS): Add $(BUILD)/sig2str.$(O).

567
2012-12-06  Glenn Morris  <rgm@gnu.org>
568 569 570

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

Paul Eggert's avatar
Paul Eggert committed
571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592
2012-11-30  Paul Eggert  <eggert@cs.ucla.edu>

	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/gnulib.mk, lib/lstat.c:
	* lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c, lib/stat.c:
	* lib/stdio.in.h, lib/sys_stat.in.h, lib/unistd.in.h, 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.

593
2012-11-27  Eli Zaretskii  <eliz@gnu.org>
594

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

597 598 599 600
2012-11-24  Ken Brown  <kbrown@cornell.edu>

	* configure.ac (HAVE_MOUSE): Remove.

601 602 603 604 605
2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>

	Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
	* configure.ac: Do not check for dirent.h or closdir.

606 607 608 609 610
2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>

	Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
	* configure.ac: Do not check for getcwd or getwd.

611 612 613 614
2012-11-21  Glenn Morris  <rgm@gnu.org>

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

615
2012-11-20  Paul Eggert  <eggert@cs.ucla.edu>
616 617

	Improve static checking of integer overflow and stack smashing.
618 619
	* configure.ac (WARN_CFLAGS): Add -Wstack-protector
	if using GCC 4.7.2 or later on a platform with
620 621 622
	at least 64-bit long int.  This improves static checking on these
	platforms, when configured with --enable-gcc-warnings.

623 624 625 626 627 628
2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>

	Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
	* configure.ac: Do not check for fcntl.h.
	* lib/gnulib.mk: Regenerate.

629 630 631 632 633
2012-11-16  Paul Eggert  <eggert@cs.ucla.edu>

	Remove no-longer-used pty_max_bytes variable.
	* configure.ac (fpathconf): Remove unnecessary check.

634 635 636 637 638 639 640 641 642 643 644 645 646
2012-11-14  Paul Eggert  <eggert@cs.ucla.edu>

	Use faccessat, not access, when checking file permissions (Bug#12632).
	* .bzrignore: Add lib/fcntl.h.
	* configure.ac (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/fcntl.in.h:
	* 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/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

Paul Eggert's avatar
Paul Eggert committed
647 648
2012-11-05  Paul Eggert  <eggert@cs.ucla.edu>

649 650 651 652
	Assume at least POSIX.1-1988 for getpgrp, setpgid, setsid (Bug#12800).
	* configure.ac (setpgid, setsid): Assume their existence.
	(AC_FUNC_GETPGRP, SETPGRP_RELEASES_CTTY): Remove; obsolete.

Paul Eggert's avatar
Paul Eggert committed
653 654 655 656 657 658
	Simplify by assuming __fpending.
	Now that Emacs is using the gnulib fpending module,
	there's no need for Emacs to have a separate implementation.
	* configure.ac (stdio_ext.h, __fpending): Remove now-duplicate checks.
	(PENDING_OUTPUT_COUNT, DISPNEW_NEEDS_STDIO_EXT): Remove.

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

661 662 663 664 665
	* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/fpending.$(O) and
	$(BLD)/close-stream.$(O).
	($(BLD)/close-stream.$(O)):
	($(BLD)/fpending.$(O)): New dependencies.

Paul Eggert's avatar
Paul Eggert committed
666 667 668 669 670 671 672 673
2012-11-03  Paul Eggert  <eggert@cs.ucla.edu>

	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/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

674 675 676 677
2012-11-03  Eli Zaretskii  <eliz@gnu.org>

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

678 679 680 681 682
2012-11-02  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (EMACS_ICON): New variable.
	(install-etc): Use EMACS_ICON to allow choice of icon.

Glenn Morris's avatar
Glenn Morris committed
683 684
2012-10-26  Glenn Morris  <rgm@gnu.org>

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

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

Glenn Morris's avatar
Glenn Morris committed
691 692 693 694
	* Makefile.in (uninstall): Don't abort if some directories are missing.
	Apply transformation rules to manual pages, desktop and icon files.
	No more emacs22 icons to uninstall.

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

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

700 701 702 703 704 705
2012-10-23  Paul Eggert  <eggert@cs.ucla.edu>

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

706 707 708 709 710
2012-10-23  Glenn Morris  <rgm@gnu.org>

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

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

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

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

718 719 720 721
2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

722 723 724 725 726 727
2012-10-15  Glenn Morris  <rgm@gnu.org>

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

728 729 730 731
2012-10-11  Kenichi Handa  <handa@gnu.org>

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

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

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

	(CYGWIN_OBJ): Add cygw32.o.

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

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

Paul Eggert's avatar
Paul Eggert committed
745 746 747 748 749 750
2012-10-07  Paul Eggert  <eggert@cs.ucla.edu>

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

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

Paul Eggert's avatar
Paul Eggert committed
753 754 755 756 757 758 759 760 761
	Merge from gnulib, incorporating:
	2012-10-02 pselect: reject invalid file descriptors
	2012-10-02 ptsname: reject invalid file descriptors
	2012-10-02 manywarnings: cater to more gcc infelicities
	2012-09-30 sockets, sys_stat: restore AC_C_INLINE
	* lib/pselect.c, lib/stdlib.in.h, m4/manywarnings.m4, m4/pselect.m4:
	* m4/stdlib_h.m4, m4/sys_stat_h.m4: Update from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

Paul Eggert's avatar
Paul Eggert committed
762 763 764 765 766
2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>

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

767 768 769 770 771 772 773
2012-09-27  Paul Eggert  <eggert@cs.ucla.edu>

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

776 777 778 779 780
2012-09-23  Paul Eggert  <eggert@cs.ucla.edu>

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

Paul Eggert's avatar
Paul Eggert committed
781 782
2012-09-22  Paul Eggert  <eggert@cs.ucla.edu>

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

Paul Eggert's avatar
Paul Eggert committed
787 788 789
	Merge from gnulib, incorporating:
	2012-09-22 sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases

790 791 792 793 794
2012-09-19  Tassilo Horn  <tsdh@gnu.org>

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

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

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

799 800 801 802 803 804
2012-09-17  Andreas Schwab  <schwab@linux-m68k.org>

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

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

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

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

828 829 830 831 832
2012-09-17  Glenn Morris  <rgm@gnu.org>

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

833 834 835 836 837
2012-09-16  Paul Eggert  <eggert@cs.ucla.edu>

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

838 839 840 841 842 843 844 845 846 847 848 849 850
2012-09-16  Glenn Morris  <rgm@gnu.org>

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

853 854 855 856 857 858
2012-09-15  Paul Eggert  <eggert@cs.ucla.edu>

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

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

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

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

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

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

Paul Eggert's avatar
Paul Eggert committed
875 876 877 878 879 880 881 882 883 884
2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>

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

885 886 887 888 889 890 891 892
2012-09-12  Jan Djärv  <jan.h.d@swipnet.se>

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

893 894 895 896 897
2012-09-11  Glenn Morris  <rgm@gnu.org>

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

898 899 900 901 902 903
2012-09-11  Paul Eggert  <eggert@cs.ucla.edu>

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

904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919
2012-09-10  Paul Eggert  <eggert@cs.ucla.edu>

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

920 921 922 923 924 925 926 927 928
2012-09-09  Paul Eggert  <eggert@cs.ucla.edu>

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

Paul Eggert's avatar
Paul Eggert committed
929 930 931 932 933
2012-09-07  Paul Eggert  <eggert@cs.ucla.edu>

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

Paul Eggert's avatar
Paul Eggert committed
934 935 936 937 938 939 940
2012-09-06  Paul Eggert  <eggert@cs.ucla.edu>

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

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

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

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

Paul Eggert's avatar
Paul Eggert committed
950 951
2012-09-03  Paul Eggert  <eggert@cs.ucla.edu>

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

Paul Eggert's avatar
Paul Eggert committed
956 957 958 959
	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

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

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

964 965 966 967 968 969 970
2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>

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

971 972 973 974 975 976 977 978
2012-09-01  Daniel Colascione  <dan.colascione@gmail.com>

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

979 980 981 982 983 984
2012-08-26  Paul Eggert  <eggert@cs.ucla.edu>

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

985 986 987 988
2012-08-25  Juanma Barranquero  <lekktu@gmail.com>

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

989 990 991 992 993
2012-08-25  Eli Zaretskii  <eliz@gnu.org>

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

994 995 996 997 998 999 1000 1001 1002
2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>

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

1003 1004 1005 1006 1007
2012-08-22  Glenn Morris  <rgm@gnu.org>

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

Paul Eggert's avatar
Paul Eggert committed
1008 1009 1010 1011 1012
2012-08-21  Paul Eggert  <eggert@cs.ucla.edu>

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

1013 1014 1015 1016 1017 1018
2012-08-20  Glenn Morris  <rgm@gnu.org>

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

Paul Eggert's avatar
Paul Eggert committed
1019 1020 1021 1022 1023 1024 1025
2012-08-19  Paul Eggert  <eggert@cs.ucla.edu>

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

1026 1027 1028 1029 1030 1031
2012-08-18  Paul Eggert  <eggert@cs.ucla.edu>

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

1032 1033 1034 1035 1036
2012-08-17  Jan Beich  <jbeich@tormail.org>  (tiny change)

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

Paul Eggert's avatar
Paul Eggert committed
1037 1038 1039 1040 1041
2012-08-14  Paul Eggert  <eggert@cs.ucla.edu>

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

1042 1043 1044 1045 1046 1047
2012-08-10  Juanma Barranquero  <lekktu@gmail.com>

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

1048 1049 1050 1051
2012-08-10  Glenn Morris  <rgm@gnu.org>

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

1052 1053 1054 1055 1056 1057
2012-08-08  Dmitry Antipov  <dmantipov@yandex.ru>

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

1058 1059 1060 1061 1062 1063
2012-08-07  Dmitry Antipov  <dmantipov@yandex.ru>

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

Glenn Morris's avatar
Glenn Morris committed
1064 1065 1066 1067 1068
2012-08-07  Glenn Morris  <rgm@gnu.org>

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

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

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

1073 1074 1075 1076
	* configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
	(PENDING_OUTPUT_COUNT): Absorb GNU_LIBRARY_PENDING_OUTPUT_COUNT.
	(DISPNEW_NEEDS_STDIO_EXT): New define.

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

Glenn Morris's avatar
Glenn Morris committed
1079
	* INSTALL: Explain how to completely disable D-Bus.  (Bug#12112)
1080

1081 1082 1083 1084 1085
2012-08-05  Ulrich Müller  <ulm@gentoo.org>

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

1086 1087 1088 1089 1090 1091 1092 1093
2012-08-03  Eli Zaretskii  <eliz@gnu.org>

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

Paul Eggert's avatar
Paul Eggert committed
1094 1095 1096 1097 1098
2012-08-03  Paul Eggert  <eggert@cs.ucla.edu>

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

1099 1100 1101 1102 1103
2012-08-02  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

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

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

1106 1107
	* make-dist: Remove src/s.

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

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

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

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

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

1132 1133 1134 1135
2012-08-01  Glenn Morris  <rgm@gnu.org>

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

1136 1137 1138 1139 1140
2012-08-01  Ulrich Müller  <ulm@gentoo.org>

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

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

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

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

1149 1150 1151 1152 1153
2012-08-01  Juanma Barranquero  <lekktu@gmail.com>

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

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

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

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

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

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

1166 1167 1168 1169 1170 1171
2012-07-31  Dmitry Antipov  <dmantipov@yandex.ru>

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

1172 1173 1174 1175
2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>

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

Glenn Morris's avatar
Glenn Morris committed
1176 1177
2012-07-31  Glenn Morris  <rgm@gnu.org>

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

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

Glenn Morris's avatar
Glenn Morris committed
1183 1184 1185
	* configure.ac (USG5_4): Reintroduce this.
	(opsysfile): Set to empty on irix6-5, sol2*, and unixware.

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

Glenn Morris's avatar
Glenn Morris committed
1188 1189
	* configure.ac (opsysfile): Set to empty on hpux*, darwin;
	and to s/usg5-4-common.h on irix6-5.
Glenn Morris's avatar
Glenn Morris committed
1190

1191 1192 1193 1194 1195
2012-07-30  Glenn Morris  <rgm@gnu.org>

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

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

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

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

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

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

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

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

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

Glenn Morris's avatar
Glenn Morris committed
1224 1225
2012-07-30  Glenn Morris  <rgm@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
1228 1229
	* configure.ac (opsysfile): Set to empty on aix4-2, freebsd,
	gnu-linux, gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware.
Glenn Morris's avatar
Glenn Morris committed
1230

1231 1232 1233 1234 1235
2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>

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

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

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

1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254
2012-07-28  Paul Eggert  <eggert@cs.ucla.edu>

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

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

1255 1256 1257 1258 1259 1260
2012-07-17  Dmitry Antipov  <dmantipov@yandex.ru>

	Fix toolkit configuration report.
	* configure.ac (USE_X_TOOLKIT): Report toolkit as GTK3 if
	--with-x-toolkit=gtk3 is used.

1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272
2012-07-17  Paul Eggert  <eggert@cs.ucla.edu>

	Fix regression with pthread_sigmask on FreeBSD (Bug#11884).
	* configure.ac: Configure gnulib at the end, not before running
	pkg-config.  This restores the behavior before 2012-06-22, when
	higher-resolution time stamps were added, and fixes a bug whereby
	LIB_PTHREAD was not used and gnulib's part of 'configure'
	therefore incorrectly assumed that pthread_sigmask wasn't working.
	Fix the problem with -lrt and clock_gettime a different way.
	This should complete the fix for Bug#11884.
	(pre_PKG_CONFIG_CFLAGS, pre_PKG_CONFIG_LIBS): New shell vars.

Paul Eggert's avatar
Paul Eggert committed
1273 1274 1275 1276 1277 1278
2012-07-15  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, incorporating:
	2012-07-15 pthread_sigmask: fix bug on FreeBSD 9 (Bug#11884)
	2012-07-11 gettext: do not assume '#define ... defined ...' behavior

1279 1280 1281 1282 1283
2012-07-14  Glenn Morris  <rgm@gnu.org>

	* configure.ac (GC_SETJMP_WORKS, GC_MARK_STACK): Move here from src/s.
	(AH_BOTTOM): Move GC_SETJMP_WORKS GCC fallback to main body.

1284 1285
2012-07-13  Glenn Morris  <rgm@gnu.org>

1286 1287
	* configure.ac (opsysfile): Set to empty on gnu, cygwin.

1288 1289 1290 1291 1292 1293
	* configure.ac (BSD4_2, BSD_SYSTEM, USG, USG5, _AIX, CYGWIN)
	(DARWIN_OS, GNU_LINUX, HPUX, IRIX6_5, SOLARIS2):
	Move "system type" macros here from src/s.
	(BSD_SYSTEM_AHB): New hack macro.
	(AH_BOTTOM): Set BSD_SYSTEM, using BSD_SYSTEM_AHB.

1294 1295
	* configure.ac (NSIG_MINIMUM, ULIMIT_BREAK_VALUE, SETUP_SLAVE_PTY)
	(GC_MARK_SECONDARY_STACK): Move here from src/s.
1296

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

1299 1300 1301
	* configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA
	setting here from src/s/darwin.h.

1302 1303 1304
	* configure.ac (NO_MATHERR): Unconditionally define for Darwin;
	as src/s/darwin.h used to.

1305 1306
	* configure.ac (NARROWPROTO, NO_ABORT, BROKEN_GET_CURRENT_DIR_NAME)
	(BROKEN_FIONREAD, BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO)
1307
	(BROKEN_SIGPOLL, BROKEN_SIGPTY, FIRST_PTY_LETTER, NO_EDITRES)
1308
	(G_SLICE_ALWAYS_MALLOC, PREFER_VSUSP, PTY_ITERATION, PTY_OPEN)
1309
	(PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
1310
	(SETPGRP_RELEASES_CTTY, TAB3, TABDLY, RUN_TIME_REMAP, UNIX98_PTYS)
1311
	(XOS_NEEDS_TIME_H): Move here from src/s.
1312

1313 1314 1315
2012-07-11  Glenn Morris  <rgm@gnu.org>

	* configure.ac (INTERRUPT_INPUT): Move here from src/s.
1316
	(HAVE_PTYS, HAVE_SOCKETS): Define unconditionally.
1317

1318 1319 1320 1321
2012-07-11  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.ac (tzset): Remove check that's redundant with gnulib.

1322 1323
2012-07-11  Glenn Morris  <rgm@gnu.org>

1324 1325
	* configure.ac (CLASH_DETECTION): Define unconditionally.

Glenn Morris's avatar
Glenn Morris committed
1326 1327
	* configure.ac (opsysfile): Use bsd-common on gnu systems.

1328
	* configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT):
1329
	(SIGNALS_VIA_CHARACTERS): Move here from src/s.
1330

Paul Eggert's avatar
Paul Eggert committed
1331 1332
2012-07-11  Paul Eggert  <eggert@cs.ucla.edu>

Paul Eggert's avatar
Paul Eggert committed
1333 1334
	Assume mkdir, rename, rmdir, strerror.
	* configure.ac (mkdir, rename, rmdir, strerror): Remove check.
Paul Eggert's avatar
Paul Eggert committed
1335

1336 1337
2012-07-11  Glenn Morris  <rgm@gnu.org>

1338 1339
	* configure.ac (DONT_REOPEN_PTY): Move here from src/s.

1340 1341
	* configure.ac (DEFAULT_SOUND_DEVICE): New definition.

1342 1343 1344 1345 1346 1347 1348
2012-07-10  Paul Eggert  <eggert@cs.ucla.edu>

	Remove "#define unix" that is no longer needed (Bug#11905).
	Merge from gnulib to make "#define unix" unnecessary, incorporating:
	2012-07-10 getloadavg: clean out old Emacs and Autoconf cruft
	2012-07-09 getopt: Simplify after Emacs changed.

1349 1350
2012-07-10  Glenn Morris  <rgm@gnu.org>

1351 1352
	* configure.ac (DATA_START, DATA_SEG_BITS, PENDING_OUTPUT_COUNT):
	Move here from src/s.
1353

1354 1355 1356 1357 1358
2012-07-09  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.ac (PNG_DEPSTRUCT): Define this instead of
	PNG_DEPRECATED.

1359 1360 1361 1362 1363 1364
2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>

	Add GCC-style 'const' attribute to functions that can use it.
	* configure.ac (WARN_CFLAGS): Add -Wsuggest-attribute=const.
	(ATTRIBUTE_CONST): New macro, in config.h.

1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379
2012-07-09  Juanma Barranquero  <lekktu@gmail.com>

	* lib/makefile.w32-in: Rework dependencies.
	(GNU_LIB, NT_INC, C_CTYPE_H, MS_W32_H, CONFIG_H, FILEMODE_H)
	(FTOASTR_H, FTOASTR_C, GETOPT_INT_H, MD5_H, SHA1_H, SHA256_H)
	(U64_H, SHA512_H): New macros.
	(SRC): Redefine to point to src/, not current directory.
	($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
	($(BLD)/c-strncasecmp.$(O), $(BLD)/dtoastr.$(O))
	($(BLD)/dtotimespec.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O))
	($(BLD)/gettime.$(O), $(BLD)/strftime.$(O), $(BLD)/time_r.$(O))
	($(BLD)/timespec-add.$(O), $(BLD)/timespec-sub.$(O), $(BLD)/md5.$(O))
	($(BLD)/sha1.$(O), $(BLD)/sha256.$(O), $(BLD)/sha512.$(O))
	($(BLD)/filemode.$(O)): Update dependencies.

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

Paul Eggert's avatar
Paul Eggert committed
1382 1383 1384
	Merge from gnulib, incorporating:
	2012-07-09 timespec: mark functions with const attributes

1385 1386 1387
	Rename configure.in to configure.ac (Bug#11603).
	The name 'configure.in' has been obsolescent for quite some time,
	and the next release of Autoconf will generate warnings for it.
1388 1389
	See commit 'v2.69-4-g560f16b' of 2012-05-06, "general: deprecate
	'configure.in' as autoconf input" in the Autoconf git repository.
1390 1391 1392 1393 1394 1395 1396
	* configure.ac: Rename from configure.in.
	* INSTALL, INSTALL.BZR, README, make-dist:
	* Makefile.in (AUTOCONF_INPUTS):
	* autogen.sh (autoconf_min):
	* autogen/update_autogen (sources):
	Adjust to reflect new name.

1397 1398 1399 1400 1401 1402 1403
2012-07-08  Paul Eggert  <eggert@cs.ucla.edu>

	Restore deprecation warnings, except for older libpng.
	* configure.in (WARN_CFLAGS): Remove -Wno-deprecated-declarations.
	(HAVE_LIBPNG_PNG_H): Don't bother checking for this if we have png.h.
	(PNG_DEPRECATED): Define when compiling with older PNG versions.

1404 1405 1406 1407
2012-07-07  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.in (WARN_CFLAGS): Add -Wno-deprecated-declarations.

1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419
2012-07-07  Paul Eggert  <eggert@cs.ucla.edu>

	Improve static checking when configured --with-ns.
	See Samuel Bronson's remarks in
	<http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00146.html>.
	* configure.in (WARN_CFLAGS): Omit -Wunreachable-code, as it's
	a no-op with recent GCC and harmful in earlier ones.
	Omit -Wsync-nand, as it's irrelevant to Emacs and provokes a
	warning when compiling with ObjC.  Always omit
	-Wunsafe-loop-optimizations, as we don't mind when optimization is
	being done correctly.

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

1422 1423
	* configure.in (BROKEN_SA_RESTART): Doc fix.

1424 1425 1426 1427 1428 1429
	* configure.in: Rather than checking for things then undef'ing
	them on some platforms, simply don't check for them.
	(getwd): Don't check for it on unixware.
	(random, rint): Don't check for these on hpux.
	(res_init, libresolv): Don't check for these on darwin.

1430 1431 1432 1433 1434 1435 1436
2012-07-07  Juanma Barranquero  <lekktu@gmail.com>

	* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O),
	$(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O).
	($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
	($(BLD)/c-strncasecmp.$(O)): New dependencies.

1437 1438
2012-07-06  Paul Eggert  <eggert@cs.ucla.edu>

1439 1440
	* configure.in: Document --enable-gcc-warnings better.

1441 1442 1443 1444 1445
	Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
	This is safer than strcasecmp, which has unspecified behavior
	outside the POSIX locale and in practice sometimes does not work
	in multibyte locales.  Similarly for c_strncasecmp and strncasecmp.
	* configure.in (strcasecmp, strncasecmp): Remove checks.
1446

1447 1448 1449 1450
	* lib/c-ctype.c, lib/c-ctype.h, lib/c-strcase.h, lib/c-strcasecmp.c:
	* lib/c-strncasecmp.c: New files, taken from gnulib.
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.

1451 1452 1453 1454
	Merge from gnulib, incorporating:
	2012-07-06 timespec-sub: avoid duplicate include
	Reported by Juanma Barranquero.

Glenn Morris's avatar
Glenn Morris committed
1455 1456 1457 1458 1459 1460
2012-07-06  Glenn Morris  <rgm@gnu.org>

	* make-dist [update]: Let autoreconf figure out what needs updating.
	Use `make info-real'.  leim/leim-list.el should always exist.
	Check cd return value.

Paul Eggert's avatar
Paul Eggert committed
1461 1462 1463 1464 1465 1466
2012-07-06  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib.  This is for OpenBSD 5.1 amd64.
	* m4/sys_time_h.m4: New version from gnulib, incorporating:
	2012-07-05 sys_time: allow too-wide tv_sec

Paul Eggert's avatar
Paul Eggert committed
1467 1468 1469 1470 1471 1472
2012-07-04  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib.
	* lib/alloca.in.h: New version from gnulib, incorporating:
	2012-07-03 alloca: add support for HP NonStop TNS/E native

1473 1474 1475 1476 1477
2012-07-04  Dmitry Antipov  <dmantipov@yandex.ru>

	* configure.in: If --enable-gcc-warnings, disable
	-Wunsafe-loop-optimizations for -O1 optimization level.

1478 1479 1480 1481 1482 1483 1484 1485
2012-06-30  Glenn Morris  <rgm@gnu.org>

	* configure.in (standardlisppath): New output variable.
	(lisppath): Use standardlisppath.
	* Makefile.in (standardlisppath): New, set by configure.
	(epaths-force): Use standardlisppath and locallisppath rather than
	lisppath.

1486 1487
2012-06-28  Dmitry Antipov  <dmantipov@yandex.ru>

Juanma Barranquero's avatar
Juanma Barranquero committed
1488
	* configure.in: Fix previous change.  Remove --enable-asserts.
1489 1490 1491 1492
	(CPPFLAGS): Remove conditional -DXASSERTS=1.
	Add --enable-link-time-optimization.
	* INSTALL: Mention this.