ChangeLog 342 KB
Newer Older
1 2
2012-07-12  Glenn Morris  <rgm@gnu.org>

3 4 5
	* configure.ac (NO_MATHERR): Unconditionally define for Darwin;
	as src/s/darwin.h used to.

6
	* configure.ac (NARROWPROTO, NO_ABORT): Move here from src/s.
7

8 9 10
2012-07-11  Glenn Morris  <rgm@gnu.org>

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

13 14 15 16
2012-07-11  Paul Eggert  <eggert@cs.ucla.edu>

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

17 18
2012-07-11  Glenn Morris  <rgm@gnu.org>

19 20
	* configure.ac (CLASH_DETECTION): Define unconditionally.

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

23
	* configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT):
24
	(SIGNALS_VIA_CHARACTERS): Move here from src/s.
25

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

Paul Eggert's avatar
Paul Eggert committed
28 29
	Assume mkdir, rename, rmdir, strerror.
	* configure.ac (mkdir, rename, rmdir, strerror): Remove check.
Paul Eggert's avatar
Paul Eggert committed
30

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

33 34
	* configure.ac (DONT_REOPEN_PTY): Move here from src/s.

35 36
	* configure.ac (DEFAULT_SOUND_DEVICE): New definition.

37 38 39 40 41 42 43
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.

44 45
2012-07-10  Glenn Morris  <rgm@gnu.org>

46 47
	* configure.ac (DATA_START, DATA_SEG_BITS, PENDING_OUTPUT_COUNT):
	Move here from src/s.
48

49 50 51 52 53
2012-07-09  Andreas Schwab  <schwab@linux-m68k.org>

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

54 55 56 57 58 59
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.

60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
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.

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

Paul Eggert's avatar
Paul Eggert committed
77 78 79
	Merge from gnulib, incorporating:
	2012-07-09 timespec: mark functions with const attributes

80 81 82
	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.
83 84
	See commit 'v2.69-4-g560f16b' of 2012-05-06, "general: deprecate
	'configure.in' as autoconf input" in the Autoconf git repository.
85 86 87 88 89 90 91
	* 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.

92 93 94 95 96 97 98
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.

99 100 101 102
2012-07-07  Andreas Schwab  <schwab@linux-m68k.org>

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

103 104 105 106 107 108 109 110 111 112 113 114
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.

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

117 118
	* configure.in (BROKEN_SA_RESTART): Doc fix.

119 120 121 122 123 124
	* 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.

125 126 127 128 129 130 131
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.

132 133
2012-07-06  Paul Eggert  <eggert@cs.ucla.edu>

134 135
	* configure.in: Document --enable-gcc-warnings better.

136 137 138 139 140
	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.
141

142 143 144 145
	* 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.

146 147 148 149
	Merge from gnulib, incorporating:
	2012-07-06 timespec-sub: avoid duplicate include
	Reported by Juanma Barranquero.

Glenn Morris's avatar
Glenn Morris committed
150 151 152 153 154 155
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
156 157 158 159 160 161
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
162 163 164 165 166 167
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

168 169 170 171 172
2012-07-04  Dmitry Antipov  <dmantipov@yandex.ru>

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

173 174 175 176 177 178 179 180
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.

181 182 183 184 185 186 187
2012-06-28  Dmitry Antipov  <dmantipov@yandex.ru>

	* configure.in: Fix previous change. Remove --enable-asserts.
	(CPPFLAGS): Remove conditional -DXASSERTS=1.
	Add --enable-link-time-optimization.
	* INSTALL: Mention this.

188 189 190 191 192
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.

193 194 195 196
2012-06-28  Dmitry Antipov  <dmantipov@yandex.ru>

	* configure.in (ENABLE_CHECKING): Update comment.

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

199 200 201 202
	* 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
203 204 205 206
	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
207 208
2012-06-27  Glenn Morris  <rgm@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
211 212
	* INSTALL: Remove references to paths.el.

213 214 215 216 217 218 219
2012-06-26  Eli Zaretskii  <eliz@gnu.org>

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

220 221 222 223 224
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.

225 226 227 228 229
2012-06-25  Dmitry Antipov  <dmantipov@yandex.ru>

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

230 231 232 233 234 235 236
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.

237 238 239 240 241 242 243 244 245 246 247
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
248 249 250 251 252 253
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.

254 255 256 257 258 259 260 261 262 263 264 265 266 267 268
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:
	* lib/utimens.h: Include sys/time.h

269 270 271 272 273
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.

274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
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
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
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.

310 311 312 313 314 315
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
316 317
2012-06-12  Glenn Morris  <rgm@gnu.org>

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

Glenn Morris's avatar
Glenn Morris committed
321 322 323 324
	* configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS):
	New AC_DEFINEs, for hpux11.
	(opsysfile): Set specially for hpux11.

325 326 327 328 329 330
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.

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

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

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

337 338
	* configure.in: Anticipate platforms with no src/s file.

339 340 341 342
2012-06-12  Chong Yidong  <cyd@gnu.org>

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

343 344 345 346
2012-06-11  Glenn Morris  <rgm@gnu.org>

	* configure.in (SYSTEM_TYPE): New AC_DEFINE.

347 348 349 350
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
351 352 353 354
2012-06-06  Glenn Morris  <rgm@gnu.org>

	* INSTALL, make-dist: Remove vcdiff.

Glenn Morris's avatar
Glenn Morris committed
355 356 357 358
2012-06-03  Glenn Morris  <rgm@gnu.org>

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

359 360 361 362
2012-06-03  Ulrich Müller  <ulm@gentoo.org>

	* configure.in (PAXCTL): Check for paxctl. (Bug#11398)

363 364 365 366 367 368 369 370 371 372
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.

373 374 375 376 377 378 379 380 381 382 383 384 385 386
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

387 388
2012-05-27  Eli Zaretskii  <eliz@gnu.org>

389 390 391
	* config.bat (lib): Create/update lib/stdalign.in-h and
	lib/sys_types.in-h.

392 393 394
	* lib/makefile.w32-in ($(BLD)/md5.$(O)):
	($(BLD)/sha1.$(O)):
	($(BLD)/sha256.$(O)):
395 396 397 398 399
	($(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
400 401 402 403 404 405 406 407
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
408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481
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
	<sys/types.h> does not define pid_t, size_t, ssize_t, mode_t.  New
	symbols such as WINDOWS_64_BIT_OFF_T may require attention in the
	msdos and nt builds.

	Here is a precis of gnulib changes that seem relevant; please see
	the gnulib ChangeLog for details.

	2012-05-18 crypto: fix bug in large buffer handling
	2012-05-14 ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED
	2012-05-10 _Noreturn: port config.h to gcc -Wundef
	2012-05-08 warnings.m4: give a means to specify the program to compile
	2012-05-07 stdint: be more consistent with glibc, SunOS libc
	2012-04-21 Large File Support for native Windows platforms.
	2012-04-14 stat: Bypass buggy override in mingw64.
	2012-03-29 stdio: don't assume gets any more
	2012-03-24 Enable common subexpression optimization in GCC.
	2012-02-09 maint: replace FSF snail-mail addresses with URLs
	2012-01-30 sys_stat: Fix support for mingw64 and MSVC.
	2012-01-28 strtoimax: eliminate need for stdint.h, inttypes.h checks
	2012-01-21 stdint: Add support for Android.
	2012-01-15 Improve support for MSVC 9.
	2012-01-08 mktime: Avoid compilation error on Solaris 11.
	2012-01-05 Use ', not `, for quoting output.
	2012-01-05 strtoimax: Don't replace systems where intmax_t is int.
	2012-01-05 strtoimax: Work around AIX 5.1 bug.
	2012-01-05 inttypes: Modernize.
	2011-12-13 inttypes, stdint: add C++11 support
	2011-11-26 Fix conflict between two instantiations of module 'unistd'.
	2011-11-21 _Noreturn: Check that _MSC_VER is defined
	2011-11-10 ptsname_r: Avoid compilation error on OSF/1 5.1.
	2011-11-09 raise: fix mingw handling of SIGPIPE
	2011-10-27 Add stdalign module and use it in other modules.

	* lib/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
482 483 484 485 486 487 488 489 490 491 492 493
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.

494 495 496 497 498
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.

499 500 501 502 503 504
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.

505 506
2012-05-21  Glenn Morris  <rgm@gnu.org>

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

510 511 512 513 514
	* Makefile.in (leimdir): New, set by configure.
	(COPYDIR, COPYDESTS): Add leim directories.
	(install-leim): Remove.
	(install-arch-indep): Handle leim installation directly.

515 516 517
	* vpath.sed: Remove unused file.
	* make-dist: No more vpath.sed.

518 519
2012-05-21  Paul Eggert  <eggert@cs.ucla.edu>

520 521 522 523 524 525 526 527 528
	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
529 530 531 532
	Assume C89 or later.
	* configure.in (AC_C_PROTOTYPES, AC_C_VOLATILE, AC_C_CONST)
	(POINTER_TYPE, PROTOTYPES): Remove.

533 534 535 536 537 538 539 540
	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
541 542 543 544 545
2012-05-21  Glenn Morris  <rgm@gnu.org>

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

546 547 548 549 550
2012-05-21  Glenn Morris  <rgm@gnu.org>

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

551 552 553 554
2012-05-19  Ulrich Mueller  <ulm@gentoo.org>

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

555 556
2012-05-19  Paul Eggert  <eggert@cs.ucla.edu>

557 558 559 560
	* configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols,
	getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm,
	getsockopt, setsockopt, mremap, mempcpy.

561 562 563 564
	* configure.in (machine): Do not set to 'vax', since src/m/vax.h
	is being removed.
	(AC_CHECK_FUNCS): Remove ftime.

565 566
2012-05-19  Glenn Morris  <rgm@gnu.org>

567 568
	* Makefile.in (install-arch-indep): Remove unneeded subshell.

569 570 571
	* Makefile.in (install-arch-indep): Remove unneeded chmod.
	Set permissions of lisp/subdirs.el.

572 573
	* Makefile.in (SUBDIR): Add leim.  Update users.

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

576 577
	* Makefile.in (leim): No need to set PARALLEL.

578 579
2012-05-18  Glenn Morris  <rgm@gnu.org>

580 581 582
	* Makefile.in (install-arch-indep, install-info, install-man):
	Simplify some one-sided ifs.

583 584 585 586
	* Makefile.in: Install only the relevant DOC file.
	(install-arch-indep): Delete etc/DOC*.
	(install-doc): No more need to delete etc/DOC.

587 588 589
	* Makefile.in (install-arch-indep): Split into several rules.
	(install-doc, innstall-info, install-man): New rules.

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

592 593 594 595
	* 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.

596 597 598
	* configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS) <darwin>:
	No longer unconditonally add /sw directories.  (Bug#2280)

599 600 601 602
	* Makefile.in (install-arch-dep): Depend on install-arch-indep.
	(install-arch-indep): Depend on install-leim.
	(install): Remove explicit install-leim dependence.

603 604 605 606
	* Makefile.in (install-arch-indep):
	Move last element of mkdir rule here.
	(mkdir): Remove rule.

607 608 609
	* Makefile.in (install-arch-indep): Remove unneeded chmods.
	INSTALL_DATA does this for us.

610 611 612 613 614 615
	* 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.

616 617
	* Makefile.in (install-arch-indep): Combine adjacent loops.

618 619
2012-05-17  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
620 621 622
	* Makefile.in (install-etc, mkdir):
	Make relevant directories in install-etc rather than mkdir.

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

626
	* Makefile.in (write_subdir): New.
627
	(install-arch-indep, install-arch-dep): Use $write_subdir.
628

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

633 634 635
	* 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,
636 637
	don't bother installing binaries then immediately deleting them.

638 639 640 641 642 643 644
	* 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).

645 646 647 648 649 650 651 652 653 654 655 656
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.

657 658 659 660 661 662 663
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)

664 665
2012-05-15  Glenn Morris  <rgm@gnu.org>

666
	* Makefile.in (install-arch-dep): Replace use of MV_DIRS.
667

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

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

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

675 676
	* configure.in (ns_appbindir): Remove trailing "/".

677 678 679 680 681
	* 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.

682 683 684
2012-05-11  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-indep): There are no more Makefile.c files.
685
	Use INSTALL_DATA for the DOC file.
686
	Remove dead code for ./lisp that never executes.
687

688 689 690 691
2012-05-10  Glenn Morris  <rgm@gnu.org>

	* configure.in (LEIM_INSTALLDIR): New output variable.

692 693 694 695
2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* .dir-locals.el (log-edit-mode): Enable gnu-style checks.

Glenn Morris's avatar
Glenn Morris committed
696 697 698 699
2012-05-08  Glenn Morris  <rgm@gnu.org>

	* make-dist: No more doc/lispref/*.el.

700 701 702 703
2012-05-05  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.in: Fix quoting bugs.

704 705 706 707
2012-05-04  Glenn Morris  <rgm@gnu.org>

	* configure.in (INFO_EXT, INFO_OPTS): New output variables.

708 709
2012-05-02  Glenn Morris  <rgm@gnu.org>

710 711 712
	* configure.in (LD_SWITCH_SYSTEM): Don't try to defeat
	the choices made by FreeBSD and NetBSD.  (Bug#10313)

713 714 715 716
	* Makefile.in (INFO_FILES): Remove variable.
	(INFO_NONMISC): New variable.
	(install-arch-indep, uninstall): Don't use $INFO_FILES.

717 718 719
	* Makefile.in (uninstall): Remove useless-use-of-for; that for
	some reason caused problems on an old Solaris.

720 721 722
	* Makefile.in (install-arch-indep, uninstall):
	Ensure that INSTALL-type commands are run from top-level.

Glenn Morris's avatar
Glenn Morris committed
723 724
	* info/dir: Make some entries consistent with the source texi files.

725 726
	* configure.in (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04.

727 728 729 730 731
2012-05-02  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (install-arch-indep):
	Combine adjacent install-data and install-info loops.

732 733
2012-05-01  Glenn Morris  <rgm@gnu.org>

734 735 736
	* Makefile.in (MAN_PAGES): Remove.
	(install-arch-indep, uninstall): Don't use $MAN_PAGES.

737 738 739
	* configure.in: Try libtinfo for tputs.
	(LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found.  (Bug#9741)

740 741
	* configure.in: Combine adjacent $opsys case blocks.

742 743
	* configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2.

744 745 746
	* configure.in: Invert the TERMINFO logic,
	since "yes" is far more common than "no".

747 748
	* configure.in (HAVE_LIBNCURSES): Remove; it is required to be true.

749 750 751
	* configure.in (LD_SWITCH_X_SITE_RPATH):
	Rename from LD_SWITCH_X_SITE_AUX_RPATH.

752 753
	* configure.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used.

Glenn Morris's avatar
Glenn Morris committed
754 755 756 757
2012-04-26  Glenn Morris  <rgm@gnu.org>

	* make-dist: No more doc/lispref/tindex.pl.

758 759 760 761
2012-04-22  Michael Albinus  <michael.albinus@gmx.de>

	* configure.in (dbus_validate_bus_name, dbus_validate_path)
	(dbus_validate_interface, dbus_validate_member): Check also for
762
	these library functions.
763

764 765 766 767 768 769 770 771 772 773 774
2012-04-22  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.in (doug_lea_malloc): Check for __malloc_initialize_hook.
	With glibc 2.14 or later, when compiled with GCC 4.7.0's
	-Werror=deprecated-declarations flag, use of hooks like
	__malloc_initialize_hook causes compilation to fail because these
	hooks are deprecated.  Modify 'configure' to check for these hooks too.
	Simplify the 'configure' code to test for all the hooks at once.
	(emacs_cv_var___after_morecore_hook): Remove, replacing with ...
	(emacs_cv_var_doug_lea_malloc): ... this new var.

775 776 777 778 779 780 781 782 783
2012-04-21  Paul Eggert  <eggert@cs.ucla.edu>

	Sync from gnulib version 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc
	dated 2011-10-07.  Regenerating from current gnulib would be a
	pervasive change, and currently the trunk isn't open to such changes.
	* configure.in (WARN_CFLAGS): Remove; no longer needed now
	that gnulib does it.
	* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.

Andreas Schwab's avatar
Andreas Schwab committed
784 785 786 787
2012-04-21  Andreas Schwab  <schwab@linux-m68k.org>

	* m4/gl-comp.m4: Update.  (Bug#11285)

Chong Yidong's avatar
Chong Yidong committed
788
2012-04-20  Ludovic Courtès  <ludo@gnu.org>
789 790 791

	* configure.in: Don't use the -R option (Bug#11251).

Paul Eggert's avatar
Paul Eggert committed
792
2012-04-18  Paul Eggert  <eggert@cs.ucla.edu>
793

Paul Eggert's avatar
Paul Eggert committed
794
	configure: new option --enable-gcc-warnings (Bug#11207)
795 796 797 798 799 800 801 802 803 804 805
	I have been using this change for many months in my private copy
	of Emacs, and have used it to find several bugs.  It's mature
	enough to publish now.
	* Makefile.in (GNULIB_MODULES): Add warnings, manywarnings.
	* configure.in: Support --enable-gcc-warnings, in the style of
	other GNU packages such as coreutils.
	(C_WARNINGS_SWITCH): Remove, replacing with...
	(WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable.
	(PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I,
	when including system files with GCC.
	* etc/NEWS: Mention --enable-gcc-warnings.
806
	* INSTALL (DETAILED BUILDING AND INSTALLATION): Likewise.
807 808 809
	* lib/Makefile.am (AM_CFLAGS): New macro.
	* m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib.

810 811 812 813 814
2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>

	* configure.in (AC_CHECK_FUNCS):
	Add getpwent, endpwent, getgrent, endgrent. (Bug#7900)

815 816
2012-04-16  Glenn Morris  <rgm@gnu.org>

817 818
	* configure.in (NS_HAVE_NSINTEGER): Remove unnecessary variable.

819 820
	* configure.in: Remove X libs workaround for old autoconf.

821 822 823 824
2012-04-12  Ken Brown  <kbrown@cornell.edu>

	* configure.in: Warn that Cygwin 1.5 is unsupported.  (Bug#10398)

825 826 827 828
2012-04-11  Glenn Morris  <rgm@gnu.org>

	* configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.

829 830 831 832
2012-04-10  Glenn Morris  <rgm@gnu.org>

	* configure.in: Conditionally generate admin/unidata/Makefile.

833 834
2012-04-09  Teodor Zlatanov  <tzz@lifelogs.com>

835
	* info/dir, Makefile.in (INFO_FILES): Add emacs-gnutls manual.
836

837 838
2012-04-09  Glenn Morris  <rgm@gnu.org>

839 840 841 842
	* Makefile.in (leim): Check cd return value.  Pass fewer variables.
	(install-leim): Check cd return value.  Pass $MFLAGS.
	(install-strip): Pass $MFLAGS.

843 844 845
	* configure.in: Require makeinfo >= 4.7.  (Bug#10910)
	Eg org.texi has been using 4.7 functions for some time.

846 847 848 849 850 851 852 853
2012-04-07  Paul Eggert  <eggert@cs.ucla.edu>

	Check pkg-config exit status when configuring (Bug#10626).
	* configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config
	works; check its exit status.  Problem reported by Jordi Gutiérrez
	Hermoso in
	<http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00787.html>.

Glenn Morris's avatar
Glenn Morris committed
854 855 856 857
2012-04-07  Glenn Morris  <rgm@gnu.org>

	* README, configure.in (AC_INIT): Bump version to 24.1.50.

858 859 860 861
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD.

862 863 864 865 866 867 868 869 870
2012-03-04  Paul Eggert  <eggert@cs.ucla.edu>

	configure: fix ncurses 'configure' issue on Solaris 10 (Bug#10677)
	* configure.in (LIBS_TERMCAP): Default this to the result of
	the tputs library search.  Do a run-time test for the linkability
	of tputs unless cross-compiling, as that's more reliable if the
	link flags and libraries are messed up.  Don't change LIBS as
	a result of the test, as that may mess up later tests.

871 872
2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>

873
	* make-dist (README.W32): Include file in source tarball. (Bug#9750)
874

875 876 877
	* lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platform
	specific makefiles to support getopt_.h generation with MSVC.

878 879 880 881 882
2012-02-04  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (uninstall):
	Handle compressed info files and man pages.  (Bug#10718)

883 884 885 886 887
2012-02-02  Glenn Morris  <rgm@gnu.org>

	* configure.in [HAVE_NS]:
	Error if use --without-toolkit-scroll-bars.  (Bug#10673)

888 889 890 891 892 893 894 895 896 897 898 899 900 901
2012-02-01  Paul Eggert  <eggert@cs.ucla.edu>

	Port to older Solaris 10 versions (Bug#10677).
	Bug reported by Chong Yidong for SunOS 5.10 Generic_127111-11 sparc.
	I cannot reproduce it on SunOS 5.10 Generic_141444-09 sparc but
	possibly this is because Sun fixed the 'stat' bug in my version.
	* Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid the pathmax module.
	* lib/pathmax.h, m4/pathmax.m4: New files, from gnulib.
	* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
	These changes are based on gnulib version
	4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc dated 2011-10-07 20:59:10,
	because Emacs is in feature freeze and we do not want to merge any
	more-recent changes from gnulib.

902 903
2012-01-31  Glenn Morris  <rgm@gnu.org>

904 905 906
	* configure.in: Throw an explicit error if Motif toolkit was
	requested but requirements could not be found.

907 908
	* configure.in: Allow Emacs to actually be built with xaw scroll-bars.

909 910 911 912 913 914
2012-01-30  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in ($(BLD)/sha1.$(O) $(BLD)/sha256.$(O)
	$(BLD)/sha512.$(O)): Depend on stamp_BLD.  Fixes a build failure
	with "make -j3".

915 916 917 918
2012-01-16  Juanma Barranquero  <lekktu@gmail.com>

	* .bzrignore: Ignore etc/__pycache__.

919 920 921
2011-12-17  Paul Eggert  <eggert@cs.ucla.edu>

	Port HAVE_PTHREAD configuration to MirBSD 10 (Bug#10201).
Juanma Barranquero's avatar
Juanma Barranquero committed
922
	* configure.in (HAVE_PTHREAD): Check for pthread_atfork if linking
923 924 925 926
	to gmalloc.c.  This should prevent a MirBSD 10 build failure reported
	by Nelson H. F. Beebe in
	<http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00065.html>.

927 928 929 930
2011-12-10  Juanma Barranquero  <lekktu@gmail.com>

	* update-subdirs: Don't set no-byte-compile twice (bug#10260).

931 932 933 934 935
2011-12-10  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in (HAVE_ALSA, HAVE_GSETTINGS): Save and restore LIBS
	instead of LDFLAGS (Bug#10230).

936 937
2011-12-03  Paul Eggert  <eggert@cs.ucla.edu>

938 939
	* INSTALL.BZR: Mention configure -C, --disable-maintainer-mode.

940
	Propagate configure flags to sub-configures.
941
	* Makefile.in (cache_file, MAINTAINER_MODE_FLAG, CONFIGUREFLAGS):
942 943 944 945 946
	New macros.
	(config.status, bootstrap): Use them to propagate configure flags
	to sub-configures.
	* configure.in (cache_file): AC_SUBST this, for Makefile.in.

Paul Eggert's avatar
Paul Eggert committed
947 948 949 950
2011-12-03  Paul Eggert  <eggert@cs.ucla.edu>

	* .bzrignore: Add config.cache.

951 952 953 954
2011-11-27  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in: Check for gtk_window_set_has_resize_grip.

Juanma Barranquero's avatar
Juanma Barranquero committed
955 956 957 958
2011-11-24  Juanma Barranquero  <lekktu@gmail.com>

	* configure.in (HAVE_XPM): Fix typo.

959 960
2011-11-22  Glenn Morris  <rgm@gnu.org>

961 962 963
	* configure.in (EMACSDATA, EMACSDOC): If set, print, since they can
	have confusing effects on the build.  (Bug#6401)

964 965
	* Makefile.in (install-arch-dep): Tweak previous change.

966 967 968 969 970 971 972 973 974
2011-11-22  Yavor Doganov  <yavor@gnu.org>

	Do not install arch-dependent files in the app bundle if
	--disable-ns-self-contained is requested.  (Bug#1335)
	* configure.in (exec_prefix, libexecdir): Define relative to
	`ns_appbindir' only if configured for a self-contained app.
	* Makefile.in (install-arch-dep): Test for the existence of
	libexec in the Emacs.app bundle before executing commands.

975 976 977 978
2011-11-20  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.in: Remove reference to src/m/ibms390.h.

979 980 981 982
2011-11-13  Glenn Morris  <rgm@gnu.org>

	* INSTALL: Tiny updates for disk space used during installation.

983 984 985 986 987
2011-11-05  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in (FRC): New dummy target.
	(TAGS): Depend on FRC.

988 989 990 991 992
2011-11-04  Glenn Morris  <rgm@gnu.org>

	* configure.in: Increase minimum GnuTLS version to 2.6.6. (Bug#9929)
	Do not include GnuTLS version info in final summary message.

993 994
2011-10-31  Eli Zaretskii  <eliz@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
995 996 997 998
	* config.bat: Use config.in and Makefile.in from src/ and lib/, if
	they exist there, else from autogen/.

	* make-dist (msdos): Add depfiles.bat and inttypes.h.
999

1000 1001 1002 1003
2011-10-25  Nali Toja  <nalitoja@gmail.com>  (tiny change)

	* configure.in (HAVE_GNU_MAKE): Respect MAKE env-var.  (Bug#9868)

1004 1005 1006 1007 1008 1009 1010
2011-10-24  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852)
	if the library is found.  Otherwise, later configure-time tests,
	such as the test for pthread_sigmask, generate the wrong results
	on some platforms.  Problem reported for FreeBSD by Nali Toja.

1011 1012 1013 1014 1015 1016 1017
2011-10-20  Paul Eggert  <eggert@cs.ucla.edu>

	Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794)
	* configure.in (AC_STRUCT_TM, AC_STRUCT_TIMEZONE, HAVE_TM_GMTOFF):
	Remove; no longer needed, now that we defer to strftime for time
	zone names.

1018 1019 1020 1021
2011-10-18  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in (GLIB_REQUIRED, GTK_REQUIRED): Set to 2.10 (Bug#9786).

1022 1023 1024 1025
2011-10-18  Chong Yidong  <cyd@gnu.org>

	* make-dist: Remove Cocoa/Emacs.xcodeproj from distribution.

1026 1027 1028 1029
2011-10-13  Glenn Morris  <rgm@gnu.org>

	* configure.in: Also look for tputs in libcurses.  (Bug#9736)

1030 1031 1032
2011-10-12  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.in: Remove check for -lintl (Bug#9713).
1033
	The check could break 'configure' on GNU/Linux with a (broken) libintl.
1034 1035 1036 1037 1038
	The check was helpful but not essential in Solaris 2.6 (1997),
	and is no longer needed in Solaris 8 (2000).  Solaris 2.6 is
	obsolete -- Sun dropped support for it in 2006 -- and without
	access to that Silurian platform we can't maintain the code anyway.

1039 1040
2011-10-07  Paul Eggert  <eggert@cs.ucla.edu>

1041 1042 1043 1044 1045 1046
	Merge from gnulib, fixing some 'configure' typos (Bug#9696).
	* lib/signal.in.h, lib/sigprocmask.c, m4/gl-comp.m4:
	* m4/gnulib-common.m4: Merge from gnulib.
	Without this, 'configure' would say "func_gl_gnulib_m4code_pathmax:
	command not found" on powerpc-apple-darwin9.8.0.

1047 1048 1049
	* configure.in (GC_LISP_OBJECT_ALIGNMENT): Remove.
	This is now done by src/alloc.c.

1050 1051 1052 1053 1054
2011-10-02  Richard Stallman  <rms@gnu.org>

	* configure.in: Rename xlinux_first_failure to xgnu_linux_first_failure
	and xlinux_second_failure to xgnu_linux_second_failure.

Eli Zaretskii's avatar
Eli Zaretskii committed
1055 1056
2011-09-29  Eli Zaretskii  <eliz@gnu.org>

1057 1058
	* .bzrignore: Add ./GNUmakefile.unix, lib/SYS, lib/alloca.in-h,
	lib/signal.in-h.
Eli Zaretskii's avatar
Eli Zaretskii committed
1059

1060
	* config.bat: Rename GNUmakefile, so it is not run on MS-DOS.
Eli Zaretskii's avatar
Eli Zaretskii committed
1061 1062
	Rename signal.in.h and alloca.in.h.

1063 1064 1065 1066 1067
2011-09-28  Eli Zaretskii  <eliz@gnu.org>

	* INSTALL: Mention that m17n libraries and libotf are needed for
	Arabic shaping.

1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084
2011-09-26  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, improving some licensing wording.
	This clarifies and fixes some licensing issues raised by Glenn Morris
	<http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00397.html>.
	It also merges the latest version of texinfo.tex and has some
	MSVC-related changes that don't affect Emacs.
	* Makefile.in (GNULIB_TOOL_FLAGS): Avoid msvc-inval, msvc-nothrow,
	pathmax, and raise, since these are needed only to address
	MSVC-related issues that Emacs doesn't have.
	* doc/misc/texinfo.tex, lib/dup2.c, lib/gnulib.mk, lib/signal.in.h:
	* lib/sigprocmask.c, lib/stat.c, lib/stdio.in.h, lib/sys_stat.in.h:
	* lib/unistd.in.h, m4/dup2.m4, m4/getloadavg.m4, m4/gl-comp.m4:
	* m4/include_next.m4, m4/signal_h.m4, m4/signalblocking.m4:
	* m4/stdint.m4, m4/stdio_h.m4, m4/sys_stat_h.m4, m4/time_h.m4:
	* m4/unistd_h.m4: Merge from gnulib.

1085 1086 1087 1088
2011-09-26  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.in: Initialize HAVE_LIBXML2.

1089 1090 1091 1092
2011-09-26  Glenn Morris  <rgm@gnu.org>

	* make-dist: Add lib/makefile.w32-in.

1093 1094 1095 1096
2011-09-24  Glenn Morris  <rgm@gnu.org>

	* configure.in (CRT_DIR): Fix netbsd/openbsd handling.

1097 1098 1099 1100 1101
2011-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* .dir-locals.el: Change the debbugs regexp to allow having the
	bug number as the first thing on a line.

1102 1103 1104 1105 1106
2011-09-15  Glenn Morris  <rgm@gnu.org>

	* configure.in: Make configure work with recent GNUsteps.
	(_NATIVE_OBJC_EXCEPTIONS): New AC_DEFINE.
	(GNU_OBJC_CFLAGS): Add -fobjc-exceptions when needed.
1107
	(C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers.
1108

1109 1110 1111 1112 1113 1114 1115 1116 1117
2011-09-11  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib, porting to Tru64.
	* lib/lstat.c, lib/stat.c, m4/include_next.m4, m4/nocrash.m4:
	* m4/signal_h.m4, m4/time_h.m4, m4/unistd_h.m4:
	Merge from gnulib.  This fixes a compilation error on Tru64 UNIX
	aka OSF/1 5.1 DTK cc.  There is also some mingw stuff here that
	doesn't affect Emacs.

1118 1119 1120 1121
2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.in (isnan): Remove now-unnecessary check.

Paul Eggert's avatar
Paul Eggert committed
1122
2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
1123

Paul Eggert's avatar
Paul Eggert committed
1124
	Merge from gnulib, using build-aux to remove clutter (Bug#9169).
Paul Eggert's avatar
Paul Eggert committed
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138
	This is to fix the following problems:
	 . On FreeBSD 6.4, HP-UX 11.31, and Solaris 9, and when Emacs is
	   configured not to use gtk or any other thread-using library,
	   signals aren't blocked correctly.
	 . On IRIX 6.5 it fixes an unwanted clash between Emacs's
	   and IRIX's signal handling.
	 . On Cygwin 1.7.5 it works around an incompatibility with
	   the system pthread_sigmask.
	 . On MacOS X 10.5 (32-bit), files whose inode numbers
	   exceed 2**31 cannot be read or manipulated.
	 . pthread_sigmask: Actually use results of gl_THREADLIB.
	 . strtoimax, strtoumax: Avoid link error on OSF/1 with DTK cc.
	 . find 'ar' program that fits with --host argument.
	 . Allow the user to override the choice of AR, ARFLAGS, RANLIB.
1139 1140 1141 1142
	* autogen/README: Update destination list.
	* autogen/copy_autogen, autogen/update_autogen, .bzrignore:
	The autogenerated files compile, config.guess,
	config.sub, depcomp, install-sh, and missing are now in build-aux.
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169
	* m4/largefile.m4: New file, so that Emacs does not mess up when
	accessing files with large inode numbers in MacOS X 10.5 and later.
	* m4/nocrash.m4: New file, to avoid triggering background debugger
	and/or create core dumps during 'configure'.
	* build-aux/move-if-change: Renamed from move-if-change.
	* build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
	* build-aux/snippet/c++defs.h: Renamed from c++defs.h.
	* build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
	* build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
	* Makefile.in (epaths-force, sync-from-gnulib):
	move-if-change is now in build-aux.
	(GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
	of gnulib's pthread_sigmask module, but Emacs doesn't need it.
	(mkdir): install-sh is now in build-aux.
	* config.bat: c++defs.h is now in build-aux/snippets.
	* configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the
	usual parameter).
	* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
	* lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
	to build-aux/snippet.
	* lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4:
	* m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
	Merge from gnuilib.  This fixes porting bugs on Cygwin, Irix, and
	Solaris, enables MacOS extensions, and enables nocrash during
	'configure'.
	* make-dist: Adjust to new build-aux and build-aux/snippit dirs.

1170
2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1171 1172 1173

	* configure.in (snprintf): New check.

1174 1175
2011-08-30  Paul Eggert  <eggert@cs.ucla.edu>

1176
	* configure.in (opsys): Change pattern to *-*-linux*
1177
	to recognize powerpc-gnu-linux-uclibc (Bug#9403).
1178 1179 1180
	Remove unreachable pattern hppa*-*-linux-gnu*.
	Also, remove ia64*-hp-hpux1[1-9]*, as it also sets machine=hp800,
	and that can't possibly work now that src/m/hp800.h no longer exists.
1181

1182 1183 1184 1185
2011-08-26  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in: Add -MP to DEPFLAGS (Bug#9372).

1186 1187 1188 1189 1190 1191
2011-08-13  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in: Add header check: sys/socket.h (Bug#8477),
	ifaddrs.h, net/if_dl.h.  Check for getifaddrs and freeifaddrs.
	Check for sa_len in struct ifreq.ifr_addr (Bug#8477).

1192 1193 1194 1195 1196
2011-08-04  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in (HAVE_PTHREAD): Add check for -lpthread (Bug#9216).
	(HAVE_GTK_AND_PTHREAD): Remove.

1197 1198 1199 1200 1201
2011-07-28  Alp Aker  <alp.tekin.aker@gmail.com>

	* configure.in (HAVE_RSVG): Allow use of -lrsvg-2 for any NextStep
	build, not just GNUstep (Bug#9177).

Paul Eggert's avatar
Paul Eggert committed
1202
2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1203 1204 1205 1206 1207 1208 1209 1210

	Assume freestanding C89 headers, string.h, stdlib.h.
	Again, this simplifies the code, and all current platforms have these.
	* configure.in (AC_CHECK_HEADERS): Don't check for limits.h.
	(AC_HEADER_STDC): Remove.
	(AC_CHECK_FUNCS): No need to check for strchr, strrchr.
	(strchr, strrchr): Remove fallback macros.

Paul Eggert's avatar
Paul Eggert committed
1211 1212 1213 1214 1215 1216
	Assume support for memcmp, memcpy, memmove, memset.
	This simplifies the code a bit.  All current platforms have these,
	as they are required for C89.  If this turns into a problem we
	can add the gnulib modules for these (a 1-line change to Makefile.in).
	* configure.in: Don't check for memcmp, memcpy, memmove, memset.

Paul Eggert's avatar
Paul Eggert committed
1217 1218 1219 1220 1221 1222
2011-07-27  Paul Eggert  <eggert@cs.ucla.edu>

	* GNUmakefile: New file.
	This is for convenience, so that one can run GNU make in an
	unconfigured source tree, and get a default build.

1223 1224 1225 1226
2011-07-13  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in (GSETTINGS): Check for gio-2.0 >= 2.26.

1227 1228 1229 1230 1231
2011-07-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* configure.in (LD_SWITCH_SYSTEM_TEMACS): Add -fno-pie on Darwin
	so as to suppress address randomization (Bug#8395).

1232 1233
2011-07-09  Paul Eggert  <eggert@cs.ucla.edu>

1234 1235 1236
	* lib/stdint.in.h: Merge from gnulib (Bug#9025).
	This fixes a build problem on older Mac OS X hosts.

1237 1238 1239 1240 1241 1242 1243 1244
	* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB
	test, which runs afoul of Automake installations where, for example,
	/usr/share/aclocal contains a copy of gl_THREADLIB.
	Problem reported by Sven Joachim in
	<http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00529.html>.
	This is just a quick temporary fix, specific to Emacs; I'll work
	with the other gnulib maintainers to get a more-permanent fix.

1245
	Add gnulib's strtoimax module, needed on Solaris 8.
1246 1247 1248 1249 1250
	* Makefile.in (GNULIB_MODULES): Add strtoimax.
	* lib/strtoll.c, m4/strtoimax.m4, m4/strtoll.m4: New files,
	automatically imported from gnulib.
	* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.

Paul Eggert's avatar
Paul Eggert committed
1251
2011-07-08  Paul Eggert  <eggert@cs.ucla.edu>
1252

Paul Eggert's avatar
Paul Eggert committed
1253
	Add gnulib support for pthread_sigmask (Bug#9010).
1254
	* Makefile.in (GNULIB_MODULES): Add pthread_sigmask.
1255 1256 1257
	* configure.in (AC_TYPE_UID_T): New dummy macro.
	Configure gnulib after adjusting LIBS,
	so that gnulib can assume the libraries in LIBS.
1258
	* lib/signal.in.h, m4/pthread_sigmask.m4, m4/signal_h.m4:
1259
	* lib/pthread_sigprocmask.c, lib/sigprocmask.c, m4/signalblocking.m4:
1260
	* lib/pthread_sigmask.c:
1261 1262 1263 1264 1265
	New files, automatically imported from gnulib.
	* lib/gnulib.mk, m4/gl-comp.m4: Automatically-imported update
	due to the above changes.
	* .bzrignore: Add lib/signal.h.

1266 1267
	* lib/getopt.c, lib/unistd.in.h, m4/getopt.m4: Merge from gnulib.

1268 1269 1270 1271
2011-07-07  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.in (maintainer-mode): Reflect default in help string.

1272 1273 1274 1275
2011-07-07  Dan Nicolaescu  <dann@ics.uci.edu>

	* configure.in: Remove reference to iris4d.h.

1276 1277 1278 1279
2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in (HAVE_GCONF): Allow both HAVE_GCONF and HAVE_GSETTINGS.

1280 1281 1282 1283
2011-07-01  Glenn Morris  <rgm@gnu.org>

	* configure.in (SETTINGS_CFLAGS, SETTINGS_LIBS) [HAVE_GCONF]: Fix typo.

1284 1285 1286 1287 1288
2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* configure.in (HAVE_GSETTINGS): Fix syntax for GSETTINGS tests,
	which made ./configure infloop.

1289 1290 1291 1292
2011-06-30  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in (gsettings): New option and check for GSettings.

1293 1294 1295 1296
2011-06-29  Glenn Morris  <rgm@gnu.org>

	* configure.in: Try to test for the required crt*.o files.

1297 1298 1299 1300
2011-06-27  Bill Wohler  <wohler@newt.com>

	* .bzrignore: Add lisp/mh-e/mh-autoloads.el and lisp/mh-e/mh-cus-load.el.

1301 1302 1303 1304 1305 1306 1307
2011-06-25  Paul Eggert  <eggert@cs.ucla.edu>

	Use gnulib's dup2 module instead of rolling our own.
	* Makefile.in (GNULIB_MODULES): Add dup2.
	* configure.in: Do not check for dup2; gnulib does that now.
	* lib/dup2.c, m4/dup2.m4: New files, from gnulib.

1308 1309 1310 1311
2011-06-23  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/getopt.c, lib/stat.c, m4/gl-comp.m4: Merge from gnulib.

1312
2011-06-22  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
1313 1314 1315 1316 1317

	Use gnulib's alloca-opt module.
	* .bzrignore: Add lib/alloca.h.
	* Makefile.in (GNULIB_MODULES): Add alloca-opt.
	* configure.in (AC_FUNC_ALLOCA): Remove almost all the alloca stuff,
1318 1319
	as gnulib now does that for us.  Put alloca check in config.h.
	Include <alloca.h> before any other include file, for AIX 3.
Paul Eggert's avatar
Paul Eggert committed
1320 1321 1322
	* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
	* lib/alloca.in.h, m4/alloca.m4: New files, from gnulib.

1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337
2011-06-21  Leo Liu  <sdl.web@gmail.com>

	* m4/sha256.m4:
	* m4/sha512.m4: