ChangeLog 319 KB
Newer Older
1 2
2012-05-17  Glenn Morris  <rgm@gnu.org>

3 4 5
	* 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,
6 7
	don't bother installing binaries then immediately deleting them.

8 9 10 11 12 13 14
	* 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).

15 16 17 18 19 20 21 22 23 24 25 26
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.

27 28 29 30 31 32 33
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)

34 35
2012-05-15  Glenn Morris  <rgm@gnu.org>

36
	* Makefile.in (install-arch-dep): Replace use of MV_DIRS.
37

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

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

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

45 46
	* configure.in (ns_appbindir): Remove trailing "/".

47 48 49 50 51
	* 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.

52 53 54
2012-05-11  Glenn Morris  <rgm@gnu.org>

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

58 59 60 61
2012-05-10  Glenn Morris  <rgm@gnu.org>

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

62 63 64 65
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
66 67 68 69
2012-05-08  Glenn Morris  <rgm@gnu.org>

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

70 71 72 73
2012-05-05  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.in: Fix quoting bugs.

74 75 76 77
2012-05-04  Glenn Morris  <rgm@gnu.org>

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

78 79
2012-05-02  Glenn Morris  <rgm@gnu.org>

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

83 84 85 86
	* Makefile.in (INFO_FILES): Remove variable.
	(INFO_NONMISC): New variable.
	(install-arch-indep, uninstall): Don't use $INFO_FILES.

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

90 91 92
	* Makefile.in (install-arch-indep, uninstall):
	Ensure that INSTALL-type commands are run from top-level.

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

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

97 98 99 100 101
2012-05-02  Glenn Morris  <rgm@gnu.org>

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

102 103
2012-05-01  Glenn Morris  <rgm@gnu.org>

104 105 106
	* Makefile.in (MAN_PAGES): Remove.
	(install-arch-indep, uninstall): Don't use $MAN_PAGES.

107 108 109
	* configure.in: Try libtinfo for tputs.
	(LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found.  (Bug#9741)

110 111
	* configure.in: Combine adjacent $opsys case blocks.

112 113
	* configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2.

114 115 116
	* configure.in: Invert the TERMINFO logic,
	since "yes" is far more common than "no".

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

119 120 121
	* configure.in (LD_SWITCH_X_SITE_RPATH):
	Rename from LD_SWITCH_X_SITE_AUX_RPATH.

122 123
	* configure.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used.

Glenn Morris's avatar
Glenn Morris committed
124 125 126 127
2012-04-26  Glenn Morris  <rgm@gnu.org>

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

128 129 130 131 132 133
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
	these library functions

134 135 136 137 138 139 140 141 142 143 144
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.

145 146 147 148 149 150 151 152 153
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
154 155 156 157
2012-04-21  Andreas Schwab  <schwab@linux-m68k.org>

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

Chong Yidong's avatar
Chong Yidong committed
158
2012-04-20  Ludovic Courtès  <ludo@gnu.org>
159 160 161

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

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

Paul Eggert's avatar
Paul Eggert committed
164
	configure: new option --enable-gcc-warnings (Bug#11207)
165 166 167 168 169 170 171 172 173 174 175
	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.
176
	* INSTALL (DETAILED BUILDING AND INSTALLATION): Likewise.
177 178 179
	* lib/Makefile.am (AM_CFLAGS): New macro.
	* m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib.

180 181 182 183 184
2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>

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

185 186
2012-04-16  Glenn Morris  <rgm@gnu.org>

187 188
	* configure.in (NS_HAVE_NSINTEGER): Remove unnecessary variable.

189 190
	* configure.in: Remove X libs workaround for old autoconf.

191 192 193 194
2012-04-12  Ken Brown  <kbrown@cornell.edu>

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

195 196 197 198
2012-04-11  Glenn Morris  <rgm@gnu.org>

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

199 200 201 202
2012-04-10  Glenn Morris  <rgm@gnu.org>

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

203 204
2012-04-09  Teodor Zlatanov  <tzz@lifelogs.com>

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

207 208
2012-04-09  Glenn Morris  <rgm@gnu.org>

209 210 211 212
	* Makefile.in (leim): Check cd return value.  Pass fewer variables.
	(install-leim): Check cd return value.  Pass $MFLAGS.
	(install-strip): Pass $MFLAGS.

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

216 217 218 219 220 221 222 223
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
224 225 226 227
2012-04-07  Glenn Morris  <rgm@gnu.org>

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

228 229 230 231
2012-04-07  Eli Zaretskii  <eliz@gnu.org>

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

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

241 242
2012-02-05  Christoph Scholtes  <cschol2112@googlemail.com>

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

245 246 247
	* lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platform
	specific makefiles to support getopt_.h generation with MSVC.

248 249 250 251 252
2012-02-04  Glenn Morris  <rgm@gnu.org>

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

253 254 255 256 257
2012-02-02  Glenn Morris  <rgm@gnu.org>

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

258 259 260 261 262 263 264 265 266 267 268 269 270 271
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.

272 273
2012-01-31  Glenn Morris  <rgm@gnu.org>

274 275 276
	* configure.in: Throw an explicit error if Motif toolkit was
	requested but requirements could not be found.

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

279 280 281 282 283 284
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".

285 286 287 288
2012-01-16  Juanma Barranquero  <lekktu@gmail.com>

	* .bzrignore: Ignore etc/__pycache__.

289 290 291 292 293 294 295 296
2011-12-17  Paul Eggert  <eggert@cs.ucla.edu>

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

297 298 299 300
2011-12-10  Juanma Barranquero  <lekktu@gmail.com>

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

301 302 303 304 305
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).

306 307
2011-12-03  Paul Eggert  <eggert@cs.ucla.edu>

308 309
	* INSTALL.BZR: Mention configure -C, --disable-maintainer-mode.

310
	Propagate configure flags to sub-configures.
311
	* Makefile.in (cache_file, MAINTAINER_MODE_FLAG, CONFIGUREFLAGS):
312 313 314 315 316
	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
317 318 319 320
2011-12-03  Paul Eggert  <eggert@cs.ucla.edu>

	* .bzrignore: Add config.cache.

321 322 323 324
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
325 326 327 328
2011-11-24  Juanma Barranquero  <lekktu@gmail.com>

	* configure.in (HAVE_XPM): Fix typo.

329 330
2011-11-22  Glenn Morris  <rgm@gnu.org>

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

334 335
	* Makefile.in (install-arch-dep): Tweak previous change.

336 337 338 339 340 341 342 343 344
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.

345 346 347 348
2011-11-20  Andreas Schwab  <schwab@linux-m68k.org>

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

349 350 351 352
2011-11-13  Glenn Morris  <rgm@gnu.org>

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

353 354 355 356 357
2011-11-05  Eli Zaretskii  <eliz@gnu.org>

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

358 359 360 361 362
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.

363 364
2011-10-31  Eli Zaretskii  <eliz@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
365 366 367 368
	* 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.
369

370 371 372 373
2011-10-25  Nali Toja  <nalitoja@gmail.com>  (tiny change)

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

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

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

388 389 390 391
2011-10-18  Jan Djärv  <jan.h.d@swipnet.se>

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

392 393 394 395
2011-10-18  Chong Yidong  <cyd@gnu.org>

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

396 397 398 399
2011-10-13  Glenn Morris  <rgm@gnu.org>

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

400 401 402
2011-10-12  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.in: Remove check for -lintl (Bug#9713).
403
	The check could break 'configure' on GNU/Linux with a (broken) libintl.
404 405 406 407 408
	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.

409 410
2011-10-07  Paul Eggert  <eggert@cs.ucla.edu>

411 412 413 414 415 416
	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.

417 418 419
	* configure.in (GC_LISP_OBJECT_ALIGNMENT): Remove.
	This is now done by src/alloc.c.

420 421 422 423 424
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
425 426
2011-09-29  Eli Zaretskii  <eliz@gnu.org>

427 428
	* .bzrignore: Add ./GNUmakefile.unix, lib/SYS, lib/alloca.in-h,
	lib/signal.in-h.
Eli Zaretskii's avatar
Eli Zaretskii committed
429

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

433 434 435 436 437
2011-09-28  Eli Zaretskii  <eliz@gnu.org>

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

438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454
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.

455 456 457 458
2011-09-26  Andreas Schwab  <schwab@linux-m68k.org>

	* configure.in: Initialize HAVE_LIBXML2.

459 460 461 462
2011-09-26  Glenn Morris  <rgm@gnu.org>

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

463 464 465 466
2011-09-24  Glenn Morris  <rgm@gnu.org>

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

467 468 469 470 471
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.

472 473 474 475 476
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.
477
	(C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers.
478

479 480 481 482 483 484 485 486 487
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.

488 489 490 491
2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>

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

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

Paul Eggert's avatar
Paul Eggert committed
494
	Merge from gnulib, using build-aux to remove clutter (Bug#9169).
Paul Eggert's avatar
Paul Eggert committed
495 496 497 498 499 500 501 502 503 504 505 506 507 508
	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.
509 510 511 512
	* 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.
513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539
	* 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.

540
2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
541 542 543

	* configure.in (snprintf): New check.

544 545
2011-08-30  Paul Eggert  <eggert@cs.ucla.edu>

546
	* configure.in (opsys): Change pattern to *-*-linux*
547
	to recognize powerpc-gnu-linux-uclibc (Bug#9403).
548 549 550
	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.
551

552 553 554 555
2011-08-26  Jan Djärv  <jan.h.d@swipnet.se>

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

556 557 558 559 560 561
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).

562 563 564 565 566
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.

567 568 569 570 571
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
572
2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
573 574 575 576 577 578 579 580

	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
581 582 583 584 585 586
	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
587 588 589 590 591 592
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.

593 594 595 596
2011-07-13  Jan Djärv  <jan.h.d@swipnet.se>

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

597 598 599 600 601
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).

602 603
2011-07-09  Paul Eggert  <eggert@cs.ucla.edu>

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

607 608 609 610 611 612 613 614
	* 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.

615
	Add gnulib's strtoimax module, needed on Solaris 8.
616 617 618 619 620
	* 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
621
2011-07-08  Paul Eggert  <eggert@cs.ucla.edu>
622

Paul Eggert's avatar
Paul Eggert committed
623
	Add gnulib support for pthread_sigmask (Bug#9010).
624
	* Makefile.in (GNULIB_MODULES): Add pthread_sigmask.
625 626 627
	* configure.in (AC_TYPE_UID_T): New dummy macro.
	Configure gnulib after adjusting LIBS,
	so that gnulib can assume the libraries in LIBS.
628
	* lib/signal.in.h, m4/pthread_sigmask.m4, m4/signal_h.m4:
629
	* lib/pthread_sigprocmask.c, lib/sigprocmask.c, m4/signalblocking.m4:
630
	* lib/pthread_sigmask.c:
631 632 633 634 635
	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.

636 637
	* lib/getopt.c, lib/unistd.in.h, m4/getopt.m4: Merge from gnulib.

638 639 640 641
2011-07-07  Andreas Schwab  <schwab@linux-m68k.org>

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

642 643 644 645
2011-07-07  Dan Nicolaescu  <dann@ics.uci.edu>

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

646 647 648 649
2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>

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

650 651 652 653
2011-07-01  Glenn Morris  <rgm@gnu.org>

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

654 655 656 657 658
2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>

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

659 660 661 662
2011-06-30  Jan Djärv  <jan.h.d@swipnet.se>

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

663 664 665 666
2011-06-29  Glenn Morris  <rgm@gnu.org>

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

667 668 669 670
2011-06-27  Bill Wohler  <wohler@newt.com>

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

671 672 673 674 675 676 677
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.

678 679 680 681
2011-06-23  Paul Eggert  <eggert@cs.ucla.edu>

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

682
2011-06-22  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
683 684 685 686 687

	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,
688 689
	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
690 691 692
	* lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
	* lib/alloca.in.h, m4/alloca.m4: New files, from gnulib.

693 694 695 696 697 698 699 700 701 702 703 704 705 706 707
2011-06-21  Leo Liu  <sdl.web@gmail.com>

	* m4/sha256.m4:
	* m4/sha512.m4:
	* m4/gl-comp.m4:
	* lib/u64.h:
	* lib/sha256.c:
	* lib/sha256.h:
	* lib/sha512.c:
	* lib/sha512.h:
	* lib/makefile.w32-in (GNULIBOBJS):
	* lib/gnulib.mk:
	* Makefile.in (GNULIB_MODULES): Add crypto/sha256 and
	crypto/sha512 modules from gnulib.

708 709 710 711
2011-06-19  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/unistd.in.h, m4/getloadavg.m4: Merge from gnulib.

Glenn Morris's avatar
Glenn Morris committed
712 713 714 715 716
2011-06-17  Glenn Morris  <rgm@gnu.org>

	* configure.in: Restore the behavior of checking crt-dir only
	when the user specified it (not all platforms use it).

717 718 719 720
2011-06-16  Paul Eggert  <eggert@cs.ucla.edu>

	* m4/lstat.m4: Merge from gnulib (Bug#8878).

Juanma Barranquero's avatar
Juanma Barranquero committed
721
2011-06-16  Miles Bader  <miles@gnu.org>
722 723 724 725

	* configure.in: Try to determine CRT_DIR automatically when
	using gcc.

726 727
2011-06-15  Paul Eggert  <eggert@cs.ucla.edu>

728 729 730 731 732 733
	* lib/ftoastr.c, lib/stdio.in.h, lib/verify.h:
	* lib/gnulib.mk, m4/c-strtod.m4, m4/filemode.m4, m4/getloadavg.m4:
	* m4/getopt.m4, m4/gl-comp.m4, m4/lstat.m4, m4/md5.m4, m4/mktime.m4:
	* m4/readlink.m4, m4/sha1.m4, m4/stat.m4, m4/strftime.m4:
	* m4/strtoull.m4, m4/strtoumax.m4, m4/symlink.m4, m4/time_r.m4:
	Merge from gnulib.
734

735 736 737 738
2011-06-14  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in: Add emacsgtkfixed.o to GTK_OBJ if HAVE_GTK3.

739 740 741 742
2011-06-08  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/gnulib.mk, m4/gnulib-common.m4: Merge from gnulib.

Paul Eggert's avatar
Paul Eggert committed
743 744 745 746 747
2011-06-07  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.in: Add --with-wide-int.
	* INSTALL: Mention this.

Paul Eggert's avatar
Paul Eggert committed
748 749 750 751 752
2011-06-06  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib.
	* lib/careadlinkat.c, lib/careadlinkat.h, m4/gnulib-common.m4: Merge.

753 754 755 756
2011-06-02  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/allocator.h, lib/careadlinkat.c: Merge from gnulib.

Paul Eggert's avatar
Paul Eggert committed
757
2011-05-30  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
758 759

	Use 'inline', not 'INLINE'.
Paul Eggert's avatar
Paul Eggert committed
760
	* configure.in (INLINE): Remove.
Paul Eggert's avatar
Paul Eggert committed
761

762 763 764 765 766 767 768
2011-05-29  Paul Eggert  <eggert@cs.ucla.edu>

	Adjust to recent gnulib change for @GUARD_PREFIX@.
	* lib/makefile.w32-in (getopt_h): Substitute @GUARD_PREFIX@, too.
	All uses of _GL_ for guard prefixes in lib/*.h replaced with
	_@GUARD_PREFIX@_.

769 770
2011-05-27  Paul Eggert  <eggert@cs.ucla.edu>

771
	* lib/getopt.c, lib/intprops.h: Merge from gnulib.
772

773 774
2011-05-24  Glenn Morris  <rgm@gnu.org>

775 776
	* Makefile.in (check): Just give a message if no test/ directory.

777 778
	* configure.in: Avoid using variables inside AC_CONFIG_FILES.

779 780 781 782 783 784
	* configure.in (OPT_MAKEFILES_IN): Remove.
	(SUBDIR_MAKEFILES): New variable, passed to AC_CONFIG_FILES.
	(SUBDIR_MAKEFILES_IN): New output variable.
	* Makefile.in (OPT_MAKEFILES_IN): Remove.
	(SUBDIR_MAKEFILES_IN): Let configure set it.

Leo Liu's avatar
Leo Liu committed
785 786 787 788 789 790 791 792 793 794
2011-05-24  Leo Liu  <sdl.web@gmail.com>

	* m4/sha1.m4:
	* m4/gl-comp.m4:
	* lib/sha1.h:
	* lib/sha1.c:
	* lib/makefile.w32-in (GNULIBOBJS):
	* lib/gnulib.mk:
	* Makefile.in (GNULIB_MODULES): Add crypto/sha1 module.

795 796
2011-05-24  Glenn Morris  <rgm@gnu.org>

797 798 799
	* configure.in: Remove test for already configured source directory.
	AM_INIT_AUTOMAKE has already done a more stringent test.  (Bug#953)

800 801
	* Makefile.in (TAGS, tags, check): Pass MFLAGS to sub-makes.

802 803
2011-05-24  Glenn Morris  <rgm@gnu.org>

804 805 806 807 808 809 810
	* make-dist: Don't distribute test/.  (Bug#8107)
	* configure.in (OPT_MAKEFILES_IN): New output variable.
	(AC_CONFIG_FILES): Conditionally include test/automated/Makefile.
	* Makefile.in (OPT_MAKEFILES_IN): New, set by configure.
	(SUBDIR_MAKEFILES_IN): Use $OPT_MAKEFILES_IN.
	(check): Give an explicit error if test/ is not present.

811 812 813 814
	* Makefile.in (SUBDIR_MAKEFILES_IN): New variable.
	(SUBDIR_MAKEFILES): Derive from $SUBDIR_MAKEFILES_IN.
	(Makefile): Use $SUBDIR_MAKEFILES_IN.

815 816 817 818
2011-05-23  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/verify.h: Merge from gnulib.

Paul Eggert's avatar
Paul Eggert committed
819 820 821 822 823
2011-05-22  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/intprops.h, lib/stdint.in.h, m4/mktime.m4, m4/readlink.m4:
	Merge from gnulib.

824 825 826 827
2011-05-21  Andreas Schwab  <schwab@linux-m68k.org>

	* Makefile.in (AUTOMAKE_INPUTS): Add $(srcdir)/lib/gnulib.mk.

828 829
2011-05-20  Eli Zaretskii  <eliz@gnu.org>

830 831
	* .bzrignore: Add lib/stdio.in-h, lib/stdbool.h, and lib/stdint.h.

832 833
	* config.bat: Concatenate lisp.mk onto the end of src/Makefile.

834 835 836 837
2011-05-20  Glenn Morris  <rgm@gnu.org>

	* configure.in (lisp_frag): New output file.

838 839 840 841 842
2011-05-19  Glenn Morris  <rgm@gnu.org>

	* configure.in (NS_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
	(WINDOW_SUPPORT): Remove output variables that are no longer used.

843 844
2011-05-17  Paul Eggert  <eggert@cs.ucla.edu>

Eli Zaretskii's avatar
Eli Zaretskii committed
845 846 847 848 849 850
	* lib/gnulib.mk:
	* lib/intprops.h:
	* lib/unistd.in.h:
	* m4/inttypes.m4:
	* m4/stdint.m4:
	* m4/unistd_h.m4: Sync from gnulib.
851

852 853 854 855 856
2011-05-14  Glenn Morris  <rgm@gnu.org>

	* configure.in: Treat failure to find an X toolkit the same way we treat
	failure to find X and image support.

857 858 859 860 861
2011-05-12  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (src, install-arch-indep, bootstrap-clean)
	(check-declare): Shell portability fixes.  (Bug#8642)

862 863 864 865
2011-05-09  Teodor Zlatanov  <tzz@lifelogs.com>

	* configure.in: Require GnuTLS 2.6.x or higher.

866
2011-05-06  Paul Eggert  <eggert@cs.ucla.edu>
867

868 869 870 871
	Use C99's va_copy to avoid undefined behavior on x86-64 GNU/Linux.
	* Makefile.in (GNULIB_MODULES): Add stdarg, for va_copy.
	* lib/stdarg.in.h, m4/stdarg.m4: New files, from gnulib.

872 873 874 875
	* Makefile.in (GNULIB_TOOL_FLAG): Add --conditional-dependencies.
	This new gnulib-tool option saves 'configure' the trouble of
	checking for strtoull when strtoumax exists.

876 877
	* configure.in (BITS_PER_LONG_LONG): New macro.

878 879 880 881 882
2011-05-05  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (bootstrap-clean): Save config.log.  (Bug#765)
	(top_distclean): Delete config.log~.

883 884 885 886 887
2011-04-27  Ben Key  <bkey76@gmail.com>

	* configure.in: Fixed a bug that caused configure with
	--enable-checking=stringoverrun to have no effect.

Paul Eggert's avatar
Paul Eggert committed
888
2011-04-26  Paul Eggert  <eggert@cs.ucla.edu>
889 890 891 892 893 894

	* configure.in: Suppress unnecessary checks for size_t.
	(AC_TYPE_SIZE_T): Define an empty macro, to suppress obsolescent test.
	(size_t): Do not check for this, and do not typedef.  This code
	is never exercised now.

895 896 897 898
	* Makefile.in (GNULIB_MODULES): Add strtoumax.
	This is needed for the new integer-reading code in lread.c.
	It automatically pulls in the following gnulib files, which
	are used on old-fashioned platforms that don't have strtoumax:
899 900 901
	lib/inttypes.in.h, lib/strtoimax.c, lib/strtol.c, lib/strtoul.c,
	lib/strtoull.c, lib/strtoumax.c, lib/verify.h, m4/inttypes.m4,
	m4/strtoull.m4, m4/strtoumax.m4.
902
	* .bzrignore: Add lib/inttypes.h.
903

904 905 906 907
2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>

	* configure.in: Check for GnuTLS certificate verify callbacks.

908 909 910 911 912
2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* Makefile.in (config.status): Don't erase in case of error.
	In case it disappeared, rebuild it with `configure'.

913 914 915 916
2011-04-20  Ken Brown  <kbrown@cornell.edu>

	* configure.in (use_mmap_for_buffers): Set to yes on Cygwin.

Glenn Morris's avatar
Glenn Morris committed
917 918 919 920
2011-04-12  Glenn Morris  <rgm@gnu.org>

	* configure.in: Require ImageMagick >= 6.2.8.  (Bug#7955)

Paul Eggert's avatar
Paul Eggert committed
921
2011-04-09  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
922 923 924

	* lib/allocator.c: New file, automatically generated by gnulib.

925 926 927 928
2011-04-07  Glenn Morris  <rgm@gnu.org>

	* autogen/update_autogen: Ignore comment diffs in ldefs-boot.el.

929 930 931 932 933
2011-04-06  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in ($(BLD)/careadlinkat.$(O), GNULIBOBJS):
	Revert last change.

934 935 936 937 938 939 940 941
2011-04-06  Juanma Barranquero  <lekktu@gmail.com>

	* lib/makefile.w32-in (GNULIBOBJS): Add careadlinkat.$(O).
	($(BLD)/careadlinkat.$(O)): New target.
	($(BLD)/dtoastr.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O))
	($(BLD)/strftime.$(O), $(BLD)/time_r.$(O), $(BLD)/md5.$(O)):
	Update dependencies.

Paul Eggert's avatar
Paul Eggert committed
942
2011-04-06  Paul Eggert  <eggert@cs.ucla.edu>
943

944 945
	Fix more problems found by GCC 4.6.0's static checks.

946 947
	* configure.in (ATTRIBUTE_FORMAT, ATTRIBUTE_FORMAT_PRINTF): New macros.

Paul Eggert's avatar
Paul Eggert committed
948
	Replace 2 copies of readlink code with 1 gnulib version (Bug#8401).
949 950 951 952
	* Makefile.in (GNULIB_MODULES): Add careadlinkat.
	* lib/allocator.h, lib/careadlinkat.c, lib/careadlinkat.h:
	* m4/ssize_t.m4: New files, automatically generated from gnulib.

953 954 955 956 957 958 959 960 961 962
2011-04-06  Glenn Morris  <rgm@gnu.org>

	* autogen/update_autogen: Handle loaddefs-like files as well.
	(usage): Add -l, -C.
	(clean, ldefs_flag, ldefs_in, ldefs_out): New variables.
	With -l, check status of lisp/ as well.
	With -C, clean before building.
	(autoreconf): Only pass -f in the `clean' case.
	(commit): New function.

963 964
2011-03-28  Glenn Morris  <rgm@gnu.org>

965 966
	* autogen/update_autogen: Pass -f to autoreconf.

967 968 969
	* autogen.sh (get_version): Discard "not found" lines.
	(check_version): Respect $AUTOCONF etc environment variables.

970 971 972 973 974
2011-03-27  Glenn Morris  <rgm@gnu.org>

	* configure.in (AC_TYPE_SIGNAL): Remove obsolete macro.
	(AH_BOTTOM): Do not define SIGTYPE.

975 976 977 978 979
2011-03-26  Glenn Morris  <rgm@gnu.org>

	* configure.in: Replace obsolete macros AC_TRY_COMPILE, AC_TRY_LINK,
	AC_TRY_RUN with AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE.

980 981 982 983
2011-03-25  Andreas Schwab  <schwab@linux-m68k.org>

	* autogen/update_autogen: Remove useless function keyword.

984 985 986 987 988
2011-03-25  Eli Zaretskii  <eliz@gnu.org>

	* config.bat: Generate src/config.h and lib/Makefile from
	autogen/config.in and autogen/Makefile.in.

989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002
2011-03-25  Glenn Morris  <rgm@gnu.org>

	* compile, config.guess, config.sub, depcomp, install-sh, missing:
	Remove; autoreconf can supply them.
	* Makefile.in (sync-from-gnulib): Don't sync config.sub,
	config.guess, install-sh.  Pass -i to autoreconf.
	* autogen/update_autogen (genfiles): Add compile, config.guess,
	config.sub, depcomp, install-sh, missing.  Pass -i to autoreconf.
	Discard non-error output from autoreconf in -q case.
	* autogen/compile, autogen/config.guess, autogen/config.sub:
	* autogen/depcomp, autogen/install-sh, autogen/missing: New.
	* autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp,
	install-sh, missing.

1003 1004
2011-03-23  Glenn Morris  <rgm@gnu.org>

1005
	* autogen/update_autogen: Fix typo.
1006
	(msg): Remove function; use `exec' instead.
1007

1008 1009 1010 1011
	* Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs.
	(sync-from-gnulib): Don't sync mkinstalldirs.
	* make-dist: Don't distribute mkinstalldirs.

1012
2011-03-23  Paul Eggert  <eggert@cs.ucla.edu>
1013

1014
	Fix more problems found by GCC 4.5.2's static checks.
1015 1016 1017 1018
	* Makefile.in (GNULIB_MODULES): Add socklen.
	* configure.in: Do not check for sys/socket.h, since socklen does that.
	* m4/socklen.m4: New automatically-generated file, from gnulib.

Paul Eggert's avatar
Paul Eggert committed
1019 1020 1021 1022
	fakemail: Remove dependency on ignore-value.
	* Makefile.in (GNULIB_MODULES): Add stdio.
	* lib/stdio.in.h, m4/stdio_h.m4: New files, automatically
	imported from gnulib.
Paul Eggert's avatar
Paul Eggert committed
1023
	* .bzrignore: Add lib/stdio.h.
1024

Glenn Morris's avatar
Glenn Morris committed
1025 1026 1027 1028 1029 1030
2011-03-22  Glenn Morris  <rgm@gnu.org>

	* autogen/copy_autogen: Work from ./ or ../.
	Fix time-stamps.
	* autogen.sh: Doc fix.

1031 1032 1033 1034 1035 1036 1037 1038 1039
2011-03-20  Glenn Morris  <rgm@gnu.org>

	* autogen/: New directory, to be excluded from releases.
	* autogen/copy_autogen, autogen/update_autogen: New scripts.
	* autogen/README: New file.
	* autogen/aclocal.m4, autogen/config.in, autogen/configure:
	* autogen/Makefile.in: Add auto-updated generated files.
	* autogen.sh: No longer a no-op, now it tests for autotools
	and runs them as necessary.
Juanma Barranquero's avatar
Juanma Barranquero committed
1040
	* configure.in: Default maintainer-mode to on.
1041 1042
	* aclocal.m4, configure, lib/Makefile.in: Remove files.

1043 1044 1045 1046 1047 1048 1049 1050
2011-03-13  Paul Eggert  <eggert@cs.ucla.edu>

	Update for gnulib.
	* Makefile.in (GNULIB_MODULES): Add intprops, as Emacs now
	includes <intprops.h> directly.
	* lib/sys_stat.in.h: New version from Gnulib, which fixes a bug
	when building Emacs on Solaris 9 and running it on Solaris 10.

1051 1052 1053 1054
2011-03-08  Jan Djärv  <jan.h.d@swipnet.se>

	* configure.in: Require 3.0 for --with-gtk3.  Add HAVE_GTK3.

1055 1056 1057 1058
2011-03-07  Chong Yidong  <cyd@stupidchicken.com>

	* Version 23.3 released.

1059 1060 1061 1062
2011-03-06  Glenn Morris  <rgm@gnu.org>

	* configure.in (FREETYPE_LIBS): Actually set it to something.

1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075
2011-03-02  Paul Eggert  <eggert@cs.ucla.edu>

	Work around some portability problems with symlinks.

	* Makefile.in (GNULIB_MODULES): Add lstat, readlink, symlink.
	* configure.in (lstat, HAVE_LSTAT): Remove special hack.
	* lib/dosname.h, lib/lstat.c, lib/readlink.c, lib/stat.c:
	* lib/symlink.c, m4/lstat.m4, m4/readlink.m4, m4/stat.m4:
	* m4/symlink.m4:
	New files, automatically generated from gnulib.
	* aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk:
	* m4/gl-comp.m4, src/config.in, config.sub: Regenerate.

1076 1077
2011-02-26  Eli Zaretskii  <eliz@gnu.org>

1078 1079
	* .bzrignore: Ignore new lib/*.in-h files.

1080 1081 1082
	* config.bat: Rename stdint.in.h and sys_stat.in.h.  Call
	depfiles.bat even if lib/deps already exist.

Paul Eggert's avatar
Paul Eggert committed
1083 1084 1085
2011-02-25  Paul Eggert  <eggert@cs.ucla.edu>

	* configure, lib/Makefile.in, lib/getopt_int.h, lib/gnulib.mk:
1086 1087
	* lib/stdlib.in.h, m4/stdlib_h.m4: Regenerate to incorporate
	recent changes to configure.in and to gnulib.
Paul Eggert's avatar
Paul Eggert committed
1088

1089 1090 1091 1092 1093
2011-02-24  Glenn Morris  <rgm@gnu.org>

	* configure.in: Replace obsolete AC_OUTPUT() with AC_CONFIG_FILES(),
	AC_CONFIG_COMMANDS(), and AC_OUTPUT sans arguments.

Paul Eggert's avatar
Paul Eggert committed
1094 1095 1096 1097 1098 1099 1100 1101
2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>

	Assume S_ISLNK etc. work, since gnulib supports this.
	* Makefile.in (GNULIB_MODULES): Add sys_stat.
	* configure.in: Check for lstat and set HAVE_LSTAT=0 if not.
	Pretend to be using the gnulib lstat module for benefit of sys/stat.h.
	* configure, lib/Makefile.in, lib/gnulib.mk: Regenerate.

Paul Eggert's avatar
Paul Eggert committed
1102 1103 1104 1105
2011-02-21  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/min-max.h: New file, for "min" and "max".

1106 1107
2011-02-21  Christoph Scholtes  <cschol2112@gmail.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1108
	* lib/makefile.w32-in ($(BLD)/md5.$(O)): Added dependency on
1109 1110
	$(EMACS_ROOT)/nt/inc/stdint.h.

1111 1112 1113 1114 1115 1116
2011-02-21  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from
	src/makefile.w32-in and adapt.  Depend on stamp_BLD.
	(GNULIBOBJS): Add $(BLD)/filemode.$(O).

1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131
2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>

	Import filemode module from gnulib.
	* .bzrignore: Add lib/sys/.
	* Makefile.in (GNULIB_MODULES): Add filemode.
	* lib/Makefile.am (MOSTLYCLEANDIRS): New macro.
	* lib/filemode.c: Renamed from src/filemode.c and regenerated
	from gnulib.  This adds support for some more file types, e.g.,
	Cray DMF migrated files.
	* lisp/emacs-lisp/find-gc.el (find-gc-source-files): Remove filemode.c.
	* lib/filemode.h, lib/sys_stat.in.h, m4/filemode.m4, m4/st_dm_mode.m4:
	* m4/sys_stat_h.m4: New files, generated from gnulib.
	* aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
	Regenerate.

1132 1133 1134 1135 1136
2011-02-20  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in ($(BLD)/md5.$(O)): Don't depend on
	$(EMACS_ROOT)/nt/inc/sys/stat.h.

1137 1138 1139 1140 1141 1142 1143 1144 1145 1146
2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>

	* configure.in (C_WARNINGS_SWITCH): Do not prepend -Wno-pointer-sign.
	This undoes the 2006-01-02 change.  The -Wno-pointer-sign option
	is no longer needed, due to the recent SSDATA and related changes.
	Perhaps -Wno-pointer-sign should also be removed from
	nextstep/Cocoa/Emacs.xcodeproj/project.pbxproj but I have no easy
	way to test this so I left it alone.
	* configure: Regenerate.

Juanma Barranquero's avatar
Juanma Barranquero committed
1147
2011-02-20  Christoph Scholtes  <cschol2112@gmail.com>
1148 1149 1150 1151

	* lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from
	src/makefile.w32-in.

1152
2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>
1153

1154
	Import crypto/md5 and stdint modules from gnulib.
1155
	* aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
1156 1157 1158 1159 1160 1161
	Regenerate.
	* lib/md5.c, lib/md5.h: Rename from src/md5.h and lib/md5.h.
	Import the new versions from gnulib; they assume a C99-style
	<stdint.h>, supplied by the stdint module.
	* lib/stdint.in.h, m4/longlong.m4, m4/stdint.m4, m4/md5.m4: New files,
	imported from gnulib.
1162 1163 1164
	* Makefile.in (MAKEFILE_MODULES): Add crypto/md5.
	* admin/notes/copyright: Remove src/md5.c and src/md5.h as
	special cases.
1165

1166 1167
2011-02-19  Eli Zaretskii  <eliz@gnu.org>

1168
	* .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.
1169
	Add lib/deps/.
1170

1171
	* config.bat: Configure in `lib'.
1172
	Generate *.Po files in lib/deps.
1173

1174 1175 1176 1177 1178
2011-02-18  Paul Eggert  <eggert@cs.ucla.edu>

	Import IRIX 6.5 getloadavg fixes from gnulib.
	* configure, lib/getloadavg.c, m4/getloadavg.m4: Regenerate.

1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199
2011-02-16  Paul Eggert  <eggert@cs.ucla.edu>

	Import getloadavg module from gnulib.
	* .bzrignore: Add lib/stdlib.h.
	* Makefile.in (GNULIB_MODULES): Add getloadavg.
	* admin/notes/copyright: Remove src/getloadavg.c as a special case.
	* configure.in (LIBS_SYSTEM): Omit -lkstat on sol2*; gnulib does this.
	(AC_CONFIG_LIBOBJ_DIR, AC_FUNC_GETLOADAVG, GETLOADAVG_FILES):
	Remove; gnulib does this now.
	* lib/getloadavg.c: Rename from src/getloadavg.c, and sync
	from gnulib.  This adds support for several other systems, such
	as Tru64 4.0D, QNX, AIX perfstat, etc.  It also fixes a potential
	buffer overrun on Linux hosts under very high load, and on hosts
	that maintain a channel to the load average file it makes sure
	the file descriptor is close-on-exec (on hosts that support this)
	and is not stdin, stdout, or stderr.
	* lib/stdlib.in.h, m4/getloadavg.m4, m4/stdlib_h.m4: New files,
	from gnulib.
	* aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
	* src/config.in: Regenerate.

Paul Eggert's avatar
Paul Eggert committed
1200 1201 1202 1203
2011-02-15  Paul Eggert  <eggert@cs.ucla.edu>

	Merge from gnulib.

1204 1205
	* install-sh: Update to scriptversion 2011-01-19.21.

Paul Eggert's avatar
Paul Eggert committed
1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217
	2011-02-13  Bruno Haible  <bruno@clisp.org>

	Consistent macro naming for macros that use GCC __attribute__.
	* lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Renamed from
	ATTRIBUTE_DEPRECATED.

	2011-02-12  Bruno Haible  <bruno@clisp.org>

	setlocale: Prefer gnulib's override over libintl's override.
	* lib/gettext.h (setlocale): Redefine to rpl_setlocale if
	GNULIB_defined_setlocale is set.

1218 1219 1220 1221
2011-02-13  Glenn Morris  <rgm@gnu.org>

	* make-dist: Exclude generated file src/globals.h.

1222 1223 1224 1225 1226 1227 1228
2011-02-10  Paul Eggert  <eggert@cs.ucla.edu>

	* arg-nonnull.h, c++defs.h, warn-on-use.h: Fix licenses.
	Sync from gnulib, which has been patched to fix the problem
	with the license notices.  Problem reported by Glenn Morris in
	<http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00403.html>.

1229 1230 1231 1232
2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* .bzrignore: Ignore globals.h and related stamp.

1233 1234 1235 1236 1237 1238 1239 1240 1241
2011-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/Makefile.in, lib/gnulib.mk: Regenerate.
	This merges the following fix from gnulib:

	2011-02-08  Bruno Haible  <bruno@clisp.org>

	Split large sed scripts, for HP-UX sed.

Tom Tromey's avatar
Tom Tromey committed
1242 1243 1244 1245 1246
2011-02-08  Tom Tromey  <tromey@redhat.com>

	* configure: Rebuild.
	* configure.in (NS_OBJC_OBJ): New subst.

1247 1248
2011-02-06  Paul Eggert  <eggert@cs.ucla.edu>

1249 1250 1251 1252 1253
	gnulib: allow multiple gnulib generated replacements to coexist
	This defines a few preprocessor symbols that should not affect Emacs.
	* lib/getopt.in.h, lib/time.in.h, lib/unistd.in.h: Regenerate
	via "make sync-from-gnulib".

Paul Eggert's avatar
Paul Eggert committed
1254 1255 1256 1257
	gnulib: undo previous change
	The upstream _HEADERS change was backed out of gnulib (see the
	same thread).  Stay in sync with gnulib.

1258
	gnulib: adjust to upstream _HEADERS change
1259 1260 1261 1262 1263 1264 1265
	* lib/Makefile.am (EXTRA_HEADERS, nodist_pkginclude_HEADERS):
	New empty macros, to accommodate recent changes to gnulib.  See
	<http://lists.gnu.org/archive/html/bug-gnulib/2011-02/msg00068.html>.
	* c++defs.h, lib/Makefile.in, lib/ftoastr.h, lib/getopt.in.h:
	* lib/gnulib.mk, lib/ignore-value.h, lib/stdbool.in.h, lib/stddef.in.h:
	* lib/time.in.h, lib/unistd.in.h:
	Regenerate.
1266

1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277
2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>

	sync from gnulib to remove HAVE_STDBOOL_H
	* m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Renamed from
	AC_HEADER_STDBOOL.  All uses changed.  Do not define
	HAVE_STDBOOL_H, as gnulib does not need this.  This change is
	imported from the latest Autoconf git.  It was motivated by Emacs,
	which uses gnulib but does not need HAVE_STDBOOL_H.
	* configure, src/config.in: Regenerate.
	* config.guess, config.sub: Sync to 2011-02-02 versions (whitespace)

1278 1279 1280 1281
2011-02-03  Paul Eggert  <eggert@cs.ucla.edu>

	allow C code to suppress warnings about ignored return values
	* Makefile.in (GNULIB_MODULES): Add ignore-value.
1282 1283
	* configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
	* lib/ignore-value.h: New file.
1284

1285
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1286 1287 1288 1289

	* configure.in: Test existence of xaw3d library, not just the
	header (Bug#7642).

1290 1291 1292 1293 1294 1295 1296 1297 1298
2011-01-31  Eli Zaretskii  <eliz@gnu.org>

	* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and
	$(BLD)/time_r.$(O).
	($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and
	$(EMACS_ROOT)/src/m/intel386.h.
	($(BLD)/strftime.$(O)):
	($(BLD)/time_r.$(O)): Define prerequisites.

1299 1300 1301 1302 1303 1304 1305 1306
2011-01-31  Paul Eggert  <eggert@cs.ucla.edu>

	src/emacs.c now gets version number from configure.in
	* configure.in (version): Set this from $PACKAGE_VERSION,
	which is set from AC_INIT, rather than scouting through src/emacs.c.
	* configure: Regenerate.
	* make-dist (version): Get it from configure.in, not src/emacs.c.

Paul Eggert's avatar
Paul Eggert committed
1307 1308 1309 1310 1311 1312
2011-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	strftime: import from gnulib
	* Makefile.in (GNULIB_MODULES): Add strftime.
	* configure.in (AC_FUNC_STRFTIME, my_strftime): Remove; no longer
	needed.
1313
	* aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
Paul Eggert's avatar
Paul Eggert committed
1314
	Regenerate.
1315 1316
	* lib/strftime.c, lib/strftime.h, lib/stdbool.in.h: New files,
	imported from gnulib.
Paul Eggert's avatar
Paul Eggert committed
1317 1318 1319 1320 1321 1322
	* m4/strftime.m4, m4/stdbool.m4, m4/tm_gmtoff.m4: Likewise.
	This incorporates many changes from gnulib, including simpler
	handling of multibyte formats, porting to mingw32 and other
	platforms, and support for higher-resolution time stamps.
	Emacs does not yet use the higher-resolution interface.

1323 1324 1325 1326 1327 1328
2011-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	gnulib: import mktime and move-if-change fixes from gnulib

	* configure: Regenerate from the following.

1329 1330 1331 1332 1333 1334 1335 1336
	2011-01-30  Paul Eggert  <eggert@cs.ucla.edu>

	mktime: clarify long_int width checking
	* lib/mktime.c (long_int_is_wide_enough): Move this assertion to
	the top level, to make it clearer that the assumption about
	long_int width is being checked.  See
	<http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00554.html>.

1337 1338 1339
	2011-01-29  Paul Eggert  <eggert@cs.ucla.edu>

	TYPE_MAXIMUM: avoid theoretically undefined behavior
1340
	* lib/intprops.h (TYPE_MINIMUM, TYPE_MAXIMUM): Do not shift a
1341 1342 1343 1344
	negative number, which the C Standard says has undefined behavior.
	In practice this is not a problem, but might as well do it by the book.
	Reported by Rich Felker and Eric Blake; see
	<http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00493.html>.
1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372