ChangeLog 370 KB
Newer Older
1 2 3 4 5 6
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.

7 8
2012-12-10  Daniel Colascione  <dancol@dancol.org>

9 10
	* .bzrignore: add src/emacs.res.

11 12 13 14
	* 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.

15 16 17 18 19
2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

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

20 21 22 23 24
2012-12-09  Andreas Schwab  <schwab@linux-m68k.org>

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

25 26 27 28 29 30 31
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.

32 33 34 35 36 37 38
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.

39 40 41 42 43 44
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)

45 46
2012-12-08  Paul Eggert  <eggert@cs.ucla.edu>

Paul Eggert's avatar
Paul Eggert committed
47 48 49
	Simplify get_lim_data.
	* configure.ac (ULIMIT_BREAK_VALUE): Remove.

50 51 52 53 54 55 56
	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).

57
2012-12-06  Glenn Morris  <rgm@gnu.org>
58 59 60

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

Paul Eggert's avatar
Paul Eggert committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
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.

83
2012-11-27  Eli Zaretskii  <eliz@gnu.org>
84

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

87 88 89 90
2012-11-24  Ken Brown  <kbrown@cornell.edu>

	* configure.ac (HAVE_MOUSE): Remove.

91 92 93 94 95
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.

96 97 98 99 100
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.

101 102 103 104
2012-11-21  Glenn Morris  <rgm@gnu.org>

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

105
2012-11-20  Paul Eggert  <eggert@cs.ucla.edu>
106 107

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

113 114 115 116 117 118
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.

119 120 121 122 123
2012-11-16  Paul Eggert  <eggert@cs.ucla.edu>

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

124 125 126 127 128 129 130 131 132 133 134 135 136
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
137 138
2012-11-05  Paul Eggert  <eggert@cs.ucla.edu>

139 140 141 142
	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
143 144 145 146 147 148
	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.

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

151 152 153 154 155
	* 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
156 157 158 159 160 161 162 163
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.

164 165 166 167
2012-11-03  Eli Zaretskii  <eliz@gnu.org>

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

168 169 170 171 172
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
173 174
2012-10-26  Glenn Morris  <rgm@gnu.org>

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

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

Glenn Morris's avatar
Glenn Morris committed
181 182 183 184
	* 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.

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

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

190 191 192 193 194 195
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.

196 197 198 199 200
2012-10-23  Glenn Morris  <rgm@gnu.org>

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

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

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

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

208 209 210 211
2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

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

212 213 214 215 216 217
2012-10-15  Glenn Morris  <rgm@gnu.org>

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

218 219 220 221
2012-10-11  Kenichi Handa  <handa@gnu.org>

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

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

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

	(CYGWIN_OBJ): Add cygw32.o.

231 232 233 234
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
235 236 237 238 239 240
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.

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

Paul Eggert's avatar
Paul Eggert committed
243 244 245 246 247 248 249 250 251
	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
252 253 254 255 256
2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>

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

257 258 259 260 261 262 263
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.
264
	* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
265

266 267 268 269 270
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
271 272
2012-09-22  Paul Eggert  <eggert@cs.ucla.edu>

273 274 275 276
	* 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
277 278 279
	Merge from gnulib, incorporating:
	2012-09-22 sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases

280 281 282 283 284
2012-09-19  Tassilo Horn  <tsdh@gnu.org>

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

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

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

289 290 291 292 293 294
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).

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

297 298 299 300 301 302 303 304
	* 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.
305 306 307 308 309 310 311 312
	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.
313

314 315 316 317
	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.

318 319 320 321 322
2012-09-17  Glenn Morris  <rgm@gnu.org>

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

323 324 325 326 327
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.

328 329 330 331 332 333 334 335 336 337 338 339 340
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)
341
	(nextstep, nextstep/GNUstep/Emacs.base/Resources): Update contents.
342

343 344 345 346 347 348
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.

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

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

353 354 355 356 357 358 359
	* 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.

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

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

Paul Eggert's avatar
Paul Eggert committed
365 366 367 368 369 370 371 372 373 374
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'.

375 376 377 378 379 380 381 382
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.

383 384 385 386 387
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'.

388 389 390 391 392 393
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.

394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
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.

410 411 412 413 414 415 416 417 418
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
419 420 421 422 423
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
424 425 426 427 428 429 430
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.

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

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

436 437 438 439
	* 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
440 441
2012-09-03  Paul Eggert  <eggert@cs.ucla.edu>

442 443 444 445
	* 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
446 447 448 449
	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

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

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

454 455 456 457 458 459 460
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>.

461 462 463 464 465 466 467 468
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.

469 470 471 472 473 474
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.

475 476 477 478
2012-08-25  Juanma Barranquero  <lekktu@gmail.com>

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

479 480 481 482 483
2012-08-25  Eli Zaretskii  <eliz@gnu.org>

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

484 485 486 487 488 489 490 491 492
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.

493 494 495 496 497
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
498 499 500 501 502
2012-08-21  Paul Eggert  <eggert@cs.ucla.edu>

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

503 504 505 506 507 508
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
509 510 511 512 513 514 515
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.

516 517 518 519 520 521
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.

522 523 524 525 526
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
527 528 529 530 531
2012-08-14  Paul Eggert  <eggert@cs.ucla.edu>

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

532 533 534 535 536 537
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.

538 539 540 541
2012-08-10  Glenn Morris  <rgm@gnu.org>

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

542 543 544 545 546 547
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.

548 549 550 551 552 553
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
554 555 556 557 558
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.

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

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

563 564 565 566
	* configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
	(PENDING_OUTPUT_COUNT): Absorb GNU_LIBRARY_PENDING_OUTPUT_COUNT.
	(DISPNEW_NEEDS_STDIO_EXT): New define.

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

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

571 572 573 574 575
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)

576 577 578 579 580 581 582 583
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
584 585 586 587 588
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

589 590 591 592 593
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.

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

596 597
	* make-dist: Remove src/s.

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

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

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

Paul Eggert's avatar
Paul Eggert committed
609 610 611 612 613 614 615 616
	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.

617 618 619 620 621
	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.

622 623 624 625
2012-08-01  Glenn Morris  <rgm@gnu.org>

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

626 627 628 629 630
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)

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

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

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

639 640 641 642 643
2012-08-01  Juanma Barranquero  <lekktu@gmail.com>

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

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

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

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

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

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

656 657 658 659 660 661
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.

662 663 664 665
2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>

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

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

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

670 671 672
	* 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
673 674 675
	* configure.ac (USG5_4): Reintroduce this.
	(opsysfile): Set to empty on irix6-5, sol2*, and unixware.

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

Glenn Morris's avatar
Glenn Morris committed
678 679
	* 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
680

681 682 683 684 685
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.

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

688 689 690 691 692 693 694
	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.

695 696 697 698 699 700 701
	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.

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

704 705 706 707
	* 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.

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

710 711 712 713
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
714 715
2012-07-30  Glenn Morris  <rgm@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
718 719
	* 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
720

721 722 723 724 725
2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>

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

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

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

730 731 732 733 734 735 736 737 738 739 740 741 742 743 744
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.

745 746 747 748 749 750
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.

751 752 753 754 755 756 757 758 759 760 761 762
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
763 764 765 766 767 768
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

769 770 771 772 773
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.

774 775
2012-07-13  Glenn Morris  <rgm@gnu.org>

776 777
	* configure.ac (opsysfile): Set to empty on gnu, cygwin.

778 779 780 781 782 783
	* 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.

784 785
	* configure.ac (NSIG_MINIMUM, ULIMIT_BREAK_VALUE, SETUP_SLAVE_PTY)
	(GC_MARK_SECONDARY_STACK): Move here from src/s.
786

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

789 790 791
	* configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA
	setting here from src/s/darwin.h.

792 793 794
	* configure.ac (NO_MATHERR): Unconditionally define for Darwin;
	as src/s/darwin.h used to.

795 796
	* configure.ac (NARROWPROTO, NO_ABORT, BROKEN_GET_CURRENT_DIR_NAME)
	(BROKEN_FIONREAD, BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO)
797
	(BROKEN_SIGPOLL, BROKEN_SIGPTY, FIRST_PTY_LETTER, NO_EDITRES)
798
	(G_SLICE_ALWAYS_MALLOC, PREFER_VSUSP, PTY_ITERATION, PTY_OPEN)
799
	(PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
800
	(SETPGRP_RELEASES_CTTY, TAB3, TABDLY, RUN_TIME_REMAP, UNIX98_PTYS)
801
	(XOS_NEEDS_TIME_H): Move here from src/s.
802

803 804 805
2012-07-11  Glenn Morris  <rgm@gnu.org>

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

808 809 810 811
2012-07-11  Paul Eggert  <eggert@cs.ucla.edu>

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

812 813
2012-07-11  Glenn Morris  <rgm@gnu.org>

814 815
	* configure.ac (CLASH_DETECTION): Define unconditionally.

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

818
	* configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT):
819
	(SIGNALS_VIA_CHARACTERS): Move here from src/s.
820

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

Paul Eggert's avatar
Paul Eggert committed
823 824
	Assume mkdir, rename, rmdir, strerror.
	* configure.ac (mkdir, rename, rmdir, strerror): Remove check.
Paul Eggert's avatar
Paul Eggert committed
825

826 827
2012-07-11  Glenn Morris  <rgm@gnu.org>

828 829
	* configure.ac (DONT_REOPEN_PTY): Move here from src/s.

830 831
	* configure.ac (DEFAULT_SOUND_DEVICE): New definition.

832 833 834 835 836 837 838
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.

839 840
2012-07-10  Glenn Morris  <rgm@gnu.org>

841 842
	* configure.ac (DATA_START, DATA_SEG_BITS, PENDING_OUTPUT_COUNT):
	Move here from src/s.
843

844 845 846 847 848
2012-07-09  Andreas Schwab  <schwab@linux-m68k.org>

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

849 850 851 852 853 854
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.

855 856 857 858 859 860 861 862 863 864 865 866 867 868 869
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.

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

Paul Eggert's avatar
Paul Eggert committed
872 873 874
	Merge from gnulib, incorporating:
	2012-07-09 timespec: mark functions with const attributes

875 876 877
	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.
878 879
	See commit 'v2.69-4-g560f16b' of 2012-05-06, "general: deprecate
	'configure.in' as autoconf input" in the Autoconf git repository.
880 881 882 883 884 885 886
	* 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.

887 888 889 890 891 892 893
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.

894 895 896 897
2012-07-07  Andreas Schwab  <schwab@linux-m68k.org>

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

898 899 900 901 902 903 904 905 906 907 908 909
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.

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

912 913
	* configure.in (BROKEN_SA_RESTART): Doc fix.

914 915 916 917 918 919
	* 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.

920 921 922 923 924 925 926
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.

927 928
2012-07-06  Paul Eggert  <eggert@cs.ucla.edu>

929 930
	* configure.in: Document --enable-gcc-warnings better.

931 932 933 934 935
	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.
936

937 938 939 940
	* 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.

941 942 943 944
	Merge from gnulib, incorporating:
	2012-07-06 timespec-sub: avoid duplicate include
	Reported by Juanma Barranquero.

Glenn Morris's avatar
Glenn Morris committed
945 946 947 948 949 950
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
951 952 953 954 955 956
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
957 958 959 960 961 962
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

963 964 965 966 967
2012-07-04  Dmitry Antipov  <dmantipov@yandex.ru>

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

968 969 970 971 972 973 974 975
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.

976 977
2012-06-28  Dmitry Antipov  <dmantipov@yandex.ru>

Juanma Barranquero's avatar
Juanma Barranquero committed
978
	* configure.in: Fix previous change.  Remove --enable-asserts.
979 980 981 982
	(CPPFLAGS): Remove conditional -DXASSERTS=1.
	Add --enable-link-time-optimization.
	* INSTALL: Mention this.

983 984 985 986 987
2012-06-28  Dmitry Antipov  <dmantipov@yandex.ru>

	* configure.in: Add glyphs category to --enable-checking option.
	(GLYPH_DEBUG): Define if glyphs debugging is enabled.

988 989 990 991
2012-06-28  Dmitry Antipov  <dmantipov@yandex.ru>

	* configure.in (ENABLE_CHECKING): Update comment.

Paul Eggert's avatar
Paul Eggert committed
992 993
2012-06-28  Paul Eggert  <eggert@cs.ucla.edu>

994 995 996 997
	* configure.in: Don't check for sys/select.h, sys/time.h, utime.h.
	Emacs proper no longer uses these headers, and can rely on Gnulib
	for these checks.

Paul Eggert's avatar
Paul Eggert committed
998 999 1000 1001
	Merge from gnulib.
	* m4/getopt.m4: Copy new version from gnulib, incorporating:
	getopt-posix: No longer guarantee that option processing is resettable.

Glenn Morris's avatar
Glenn Morris committed
1002 1003
2012-06-27  Glenn Morris  <rgm@gnu.org>

1004 1005
	* configure.in: Only check for paxctl on gnu-linux.  (Bug#11398#26)

Glenn Morris's avatar
Glenn Morris committed
1006 1007
	* INSTALL: Remove references to paths.el.

1008 1009
2012-06-26  Eli Zaretskii  <eliz@gnu.org>

1010 1011
	* lib/makefile.w32-in ($(GNULIBOBJS)): Depend on stamp_BLD.
	This replaces separate dependency for each object file, which required
1012 1013 1014
	the same object file to be mentioned twice, causing failures in
	parallel builds.

1015 1016 1017 1018 1019
2012-06-26  Paul Eggert  <eggert@cs.ucla.edu>

	Clean out last vestiges of the old HAVE_CONFIG_H stuff.
	* lib/makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.

1020 1021 1022 1023 1024
2012-06-25  Dmitry Antipov  <dmantipov@yandex.ru>

	* configure.in (AC_CHECK_FUNCS): Detect library functions
	strcasecmp and strncasecmp.

1025 1026 1027 1028 1029 1030 1031
2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>

	Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
	We might as well use the spelling standardized by C11,
	as in the long run that should simplify maintenance.
	* configure.in (NO_RETURN): Remove.  All uses replaced by _Noreturn.

1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042
2012-06-24  Eli Zaretskii  <eliz@gnu.org>

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

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

Paul Eggert's avatar
Paul Eggert committed
1043 1044 1045 1046 1047 1048
2012-06-23  Paul Eggert  <eggert@cs.ucla.edu>

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

1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061
2012-06-23  Eli Zaretskii  <eliz@gnu.org>

	Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
	* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/dtotimespec.$(O),
	$(BLD)/gettime.$(O), $(BLD)/timespec-add.$(O), and
	$(BLD)/timespec-sub.$(O).
	($(BLD)/dtotimespec.$(O)):
	($(BLD)/gettime.$(O)):
	($(BLD)/timespec-add.$(O)):
	($(BLD)/timespec-sub.$(O)): New dependencies.

	* lib/stat-time.h:
	* lib/timespec.h:
Juanma Barranquero's avatar
Juanma Barranquero committed
1062
	* lib/utimens.h: Include sys/time.h.
1063

1064 1065 1066 1067 1068
2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>

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

1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089
2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>

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

Paul Eggert's avatar
Paul Eggert committed
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104
2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib.
	* lib/filemode.h, lib/signal.in.h, lib/stat.c, lib/stdint.in.h:
	* lib/stdlib.in.h, lib/unistd.in.h, 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.

1105 1106 1107 1108 1109 1110
2012-06-13  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.in: Rename --enable-use-lisp-union-type to
	--enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE
	instead of USE_LISP_UNION_TYPE.

Glenn Morris's avatar
Glenn Morris committed
1111 1112
2012-06-12  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1113 1114 1115
	* configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs.
	(opsysfile): Set specially for sol2-10.

Glenn Morris's avatar
Glenn Morris committed
1116 1117 1118 1119
	* configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS):
	New AC_DEFINEs, for hpux11.
	(opsysfile): Set specially for hpux11.

1120 1121 1122 1123 1124 1125
2012-06-12  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.in: Coalesce some function checking.
	This makes 'configure' a bit smaller.
	Prefer AC_CHECK_FUNCS_ONCE for functions that we always check for.

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

Glenn Morris's avatar
Glenn Morris committed
1128 1129
	* configure.in (opsysfile): Set specially for gnu-kfreebsd, openbsd.

1130 1131
	* configure.in (NO_TERMIO, BROKEN_SIGIO): Move here from src/s.

1132 1133
	* configure.in: Anticipate platforms with no src/s file.

1134 1135 1136 1137
2012-06-12  Chong Yidong  <cyd@gnu.org>

	* configure.in: Check for MagickMergeImageLayers (Bug#11678).

1138 1139 1140 1141
2012-06-11  Glenn Morris  <rgm@gnu.org>

	* configure.in (SYSTEM_TYPE): New AC_DEFINE.

1142 1143 1144 1145
2012-06-09  Michael Albinus  <michael.albinus@gmx.de>

	* configure.in (dbus_type_is_valid): Check for library function.

Glenn Morris's avatar
Glenn Morris committed
1146 1147 1148 1149
2012-06-06  Glenn Morris  <rgm@gnu.org>

	* INSTALL, make-dist: Remove vcdiff.

Glenn Morris's avatar
Glenn Morris committed
1150 1151 1152 1153
2012-06-03  Glenn Morris  <rgm@gnu.org>

	* INSTALL, make-dist: Remove rcs-checkin.

1154 1155
2012-06-03  Ulrich Müller  <ulm@gentoo.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
1156
	* configure.in (PAXCTL): Check for paxctl.  (Bug#11398)
1157

1158 1159 1160 1161 1162 1163 1164 1165 1166 1167
2012-06-01  Paul Eggert  <eggert@cs.ucla.edu>

	Remove --disable-maintainer-mode option from 'configure'.  (Bug#11555)
	It is confusingly named and rarely useful.  See, for example,
	<http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00089.html>.
	* INSTALL.BZR: Don't mention --disable-maintainer-mode.
	* Makefile.in (MAINTAINER_MODE_FLAG): Remove; all uses removed.
	* configure.in: Remove --disable-maintainer-mode.
	(USE_MAINTAINER_MODE, MAINT): Remove.

1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181
2012-05-28  Paul Eggert  <eggert@cs.ucla.edu>

	Make 'configure' a bit smaller and faster.
	* configure.in (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

1182 1183
2012-05-27  Eli Zaretskii  <eliz@gnu.org>

1184 1185 1186
	* config.bat (lib): Create/update lib/stdalign.in-h and
	lib/sys_types.in-h.

1187 1188 1189
	* lib/makefile.w32-in ($(BLD)/md5.$(O)):
	($(BLD)/sha1.$(O)):
	($(BLD)/sha256.$(O)):
1190 1191 1192 1193 1194
	($(BLD)/sha512.$(O)): Depend on $(EMACS_ROOT)/nt/inc/stdalign.h.
	Suggested by Christoph Scholtes <cschol2112@googlemail.com>.

	* lib/getopt_.h: Regenerate.

Paul Eggert's avatar
Paul Eggert committed
1195 1196 1197 1198 1199 1200 1201 1202
2012-05-27  Paul Eggert  <eggert@cs.ucla.edu>

	Assume gnulib does largefile.
	Gnulib does the largefile configuration anyway, so when configure.in
	invokes AC_SYS_LARGEFILE, that bloats 'configure' unnecessarily.
	* configure.in (AC_SYS_LARGEFILE): Remove.
	* lib/gnulib.mk: Autoupdate.

Paul Eggert's avatar
Paul Eggert committed
1203 1204 1205 1206 1207 1208
2012-05-26  Paul Eggert  <eggert@cs.ucla.edu>

	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
1209 1210
	<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
Paul Eggert's avatar
Paul Eggert committed
1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276
	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/stdalign.in.h, lib/sys_types.in.h, 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, doc/misc/texinfo.tex:
	* lib/alloca.in.h, 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/getopt.in.h, lib/getopt1.c, lib/getopt_int.h:
	* lib/gettext.h, lib/gnulib.mk, lib/ignore-value.h, lib/intprops.h:
	* lib/inttypes.in.h, 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/signal.in.h, lib/sigprocmask.c, lib/stat.c, lib/stdarg.in.h:
	* lib/stdbool.in.h, lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h:
	* lib/stdlib.in.h, 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/sys_stat.in.h, lib/time.in.h, lib/time_r.c:
	* lib/u64.h, lib/unistd.in.h, 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.

Paul Eggert's avatar
Paul Eggert committed
1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288
2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>

	Remove src/m/*.
	* configure.in: Remove all mention of src/m/*.
	(machine, machfile, M_FILE, config_machfile, and_machfile): Remove.
	All uses removed.
	(BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
	(BITS_PER_LONG_LONG): Move to src/lisp.h.
	* lib/makefile.w32-in: Remove dependencies on
	$(EMACS_ROOT)/src/m/intel386.h.
	* make-dist: Don't make links to src/m.

1289 1290 1291 1292 1293
2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>

	* Makefile.in (ACLOCAL_INPUTS): Fix up gnulib-comp.m4 name.  (Bug#11529)
	Without this further fix, aclocal was being invoked unnecessarily.

1294 1295 1296 1297 1298 1299
2012-05-22  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (blessmail, install-arch-dep, uninstall):
	Check cd lib-src works.
	(install-arch-dep, uninstall): Remove unneeded subshells.

1300 1301
2012-05-21  Glenn Morris  <rgm@gnu.org>

1302 1303 1304
	* update-subdirs: Move to build-aux/.
	* make-dist, Makefile.in (install-arch-indep): Update for this change.

1305 1306 1307 1308 1309
	* Makefile.in (leimdir): New, set by configure.
	(COPYDIR, COPYDESTS): Add leim directories.
	(install-leim): Remove.
	(install-arch-indep): Handle leim installation directly.

1310 1311 1312
	* vpath.sed: Remove unused file.
	* make-dist: No more vpath.sed.

1313 1314
2012-05-21  Paul Eggert  <eggert@cs.ucla.edu>

1315 1316 1317 1318 1319 1320 1321 1322 1323
	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.

Paul Eggert's avatar
Paul Eggert committed
1324 1325 1326 1327
	Assume C89 or later.
	* configure.in (AC_C_PROTOTYPES, AC_C_VOLATILE, AC_C_CONST)
	(POINTER_TYPE, PROTOTYPES): Remove.

1328 1329 1330 1331 1332 1333 1334 1335
	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.
	* Makefile.in (gnulib_srcdir, $(gnulib_srcdir), DOS_gnulib_comp.m4)
	(GNULIB_MODULES, GNULIB_TOOL_FLAGS, sync-from-gnulib):
	Remove, moving the actions to the script admin/merge-gnulib.

Paul Eggert's avatar
Paul Eggert committed
1336 1337 1338 1339 1340
2012-05-21  Glenn Morris  <rgm@gnu.org>

	* configure.in (LEIM_INSTALLDIR):
	Rename to leimdir, treat like lispdir.

1341 1342 1343 1344 1345
2012-05-21  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-indep, install-doc, install-info)
	(uninstall): Scrap superfluous subshells.

1346 1347 1348 1349
2012-05-19  Ulrich Mueller  <ulm@gentoo.org>

	* Makefile.in (install-etc): Respect DESTDIR.  (Bug#11518)

1350 1351
2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>

1352 1353 1354 1355
	* configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols,
	getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm,
	getsockopt, setsockopt, mremap, mempcpy.

1356 1357 1358 1359
	* configure.in (machine): Do not set to 'vax', since src/m/vax.h
	is being removed.
	(AC_CHECK_FUNCS): Remove ftime.

1360 1361
2012-05-19  Glenn Morris  <rgm@gnu.org>

1362 1363
	* Makefile.in (install-arch-indep): Remove unneeded subshell.

1364 1365 1366
	* Makefile.in (install-arch-indep): Remove unneeded chmod.
	Set permissions of lisp/subdirs.el.

1367 1368
	* Makefile.in (SUBDIR): Add leim.  Update users.

1369 1370
	* Makefile.in (lib, lib-src, lisp): Check cd return value.

1371 1372
	* Makefile.in (leim): No need to set PARALLEL.

1373 1374
2012-05-18  Glenn Morris  <rgm@gnu.org>

1375 1376 1377
	* Makefile.in (install-arch-indep, install-info, install-man):
	Simplify some one-sided ifs.

1378 1379 1380 1381
	* Makefile.in: Install only the relevant DOC file.
	(install-arch-indep): Delete etc/DOC*.
	(install-doc): No more need to delete etc/DOC.

1382 1383 1384
	* Makefile.in (install-arch-indep): Split into several rules.
	(install-doc, innstall-info, install-man): New rules.

1385 1386
	* configure.in (mandir): May as well include it in the NS app bundle.

1387 1388 1389 1390
	* configure.in (INSTALL_ARCH_INDEP_EXTRA): New output variable.
	* Makefile.in (INSTALL_ARCH_INDEP_EXTRA): New, set by configure.
	(install-arch-indep): Don't install-etc for self-contained ns builds.

1391 1392 1393
	* configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS) <darwin>:
	No longer unconditonally add /sw directories.  (Bug#2280)

1394 1395 1396 1397
	* Makefile.in (install-arch-dep): Depend on install-arch-indep.
	(install-arch-indep): Depend on install-leim.
	(install): Remove explicit install-leim dependence.

1398 1399 1400 1401
	* Makefile.in (install-arch-indep):
	Move last element of mkdir rule here.
	(mkdir): Remove rule.

1402 1403 1404
	* Makefile.in (install-arch-indep): Remove unneeded chmods.
	INSTALL_DATA does this for us.

1405 1406 1407 1408 1409 1410
	* Makefile.in (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.

1411 1412
	* Makefile.in (install-arch-indep): Combine adjacent loops.

1413 1414
2012-05-17  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1415 1416 1417
	* Makefile.in (install-etc, mkdir):
	Make relevant directories in install-etc rather than mkdir.

1418 1419 1420
	* Makefile.in (write_subdir): Create the directory if needed.
	(install-arch-dep, mkdir): No need to make site-lisp directories.

1421
	* Makefile.in (write_subdir): New.
1422
	(install-arch-indep, install-arch-dep): Use $write_subdir.
1423

1424
	* configure.in (docdir, etcdir, infodir, lispdir):
1425
	For a self-contained ns build, set these to the appropriate values.
1426
	* Makefile.in (install-arch-dep): No need to move info/ any more.
1427

1428 1429 1430
	* configure.in (ns_self_contained): New output variable.
	* Makefile.in (ns_self_contained): New, set by configure.
	(install-arch-dep): For a self-contained ns build,
1431 1432
	don't bother installing binaries then immediately deleting them.

1433 1434 1435 1436 1437 1438 1439
	* Makefile.in (ns_appbindir, ns_appresdir):
	Move them before things that may refer to them.
	(install-arch-dep): No need to relocate self-contained ns libexec.

	* configure.in (archlibdir): Set it for self-contained ns builds.
	(libexecdir): Don't expand it now (this is mainly cosmetic).

1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451
2012-05-16  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.in: Simplify by removing CPP etc.
	(CPP_TEST_OPTIONS, NON_GNU_CPP, cc_specified, SPECIFIED_CFLAGS)
	(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.
	(AC_PROG_INSTALL, AC_PROG_MKDIR_P, AC_PROG_RANLIB): Comment out,
	since gl_EARLY and/or Autoconf already does these.

1452 1453 1454 1455 1456 1457 1458
2012-05-16  Glenn Morris  <rgm@gnu.org>

	* configure.in: 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.
	(CPP_TEST_OPTIONS, SPECIFIED_CPP): New.  (Bug#9755)

1459 1460
2012-05-15  Glenn Morris  <rgm@gnu.org>

1461
	* Makefile.in (install-arch-dep): Replace use of MV_DIRS.
1462

1463 1464
	* Makefile.in (install-arch-dep): Do not hard-code version number.

1465 1466 1467
	* Makefile.in (install-arch-dep): NS install no longer needs to
	symlink libexec/* into bin/, since 2012-05-14 ns_init_paths change.

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

1470 1471
	* configure.in (ns_appbindir): Remove trailing "/".

1472 1473 1474 1475 1476
	* configure.in (AC_PROG_MKDIR_P): Call it, to set MKDIR_P.
	(MKDEPDIR): Use $MKDIR_P.
	* Makefile.in (MKDIR_P): New, set by configure.
	(mkdir): Use $MKDIR_P.

1477 1478 1479
2012-05-11  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-indep): There are no more Makefile.c files.
1480
	Use INSTALL_DATA for the DOC file.