]> code.delx.au - gnu-emacs/blob - ChangeLog.1
Fix splash screen display at startup
[gnu-emacs] / ChangeLog.1
1 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
2
3 Merge from gnulib
4 * lib/stddef.in.h: Update from gnulib, incorporating:
5 2015-04-02 stddef: port to pre-C11 GCC on x86
6
7 2015-04-03 Paul Eggert <eggert@cs.ucla.edu>
8
9 Port 'configure' to clang 3.5
10 * configure.ac: Add -Wno-unknown-attributes if clang;
11 otherwise clang 3.5.0 (Fedora 21 x86-64) complains
12 "/usr/include/glib-2.0/glib/gmem.h: ... warning: unknown attribute
13 '__alloc_size__' ignored". Use -Werror when checking for -nopie;
14 otherwise clang warns about -nopie instead of failing, and then
15 later it warns everytime the build uses -nopie.
16
17 2015-04-03 Ulrich Müller <ulm@gentoo.org>
18
19 * configure.ac (LD_SWITCH_SYSTEM_TEMACS): Add -nopie option if it
20 is supported, in order to avoid segfaults in temacs. (Bug#18784)
21
22 2015-03-27 Pete Williamson <petewil@chromium.org> (tiny change)
23
24 Add NaCl target
25 * configure.ac: Add a target for Chromium Native Client (NaCl).
26
27 2015-03-29 Eli Zaretskii <eliz@gnu.org>
28
29 * build-aux/dir_top (File): Fix the description of selecting a
30 menu item by its number. (Bug#20213)
31
32 2015-03-29 Paul Eggert <eggert@cs.ucla.edu>
33
34 Fix 'commit-msg' to cite 'CONTRIBUTE'
35 As suggested in:
36 http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00947.html
37 Also, have the two files match better.
38 * CONTRIBUTE: Match what's in build-aux/git-hooks/commit-msg.
39 * build-aux/git-hooks/commit-msg: Mention 'CONTRIBUTE'.
40
41 2015-03-23 Andreas Schwab <schwab@suse.de>
42
43 * configure.ac: Fix jpeg version check to work with gcc >= 5.
44
45 2015-03-21 Samer Masterson <samer@samertm.com>
46
47 * CONTRIBUTE (Test your changes.): New section.
48 (Document your changes.): Add doc tips.
49
50 2015-03-19 Paul Eggert <eggert@cs.ucla.edu>
51
52 Better port of pthread usage to FreeBSD
53 * configure.ac (ac_func_list): Omit pthread_sigmask, since
54 we check for that ourselves rather than relying on gnulib.
55 (HAVE_PTHREAD, LIB_PTHREAD): Port better to FreeBSD,
56 by also checking for pthread_create, pthread_self, pthread_sigmask.
57 Tighten the test for pthread_atfork while we're at it.
58 (Bug#20136)
59
60 Merge from gnulib
61 This incorporates:
62 2015-03-19 fdopendir: port better to MinGW
63 2015-03-18 fdopendir: fix typo in comment
64 2015-02-24 glob, etc.: port to MSVC v18 on MS-Windows 8.1
65 * lib/dirent.in.h, lib/fdopendir.c: Update from gnulib.
66 * lib/dirfd.c, m4/dirfd.m4: New files from gnulib.
67 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
68
69 2015-03-02 Robert Pluim <rpluim@gmail.com> (tiny change)
70
71 * configure.ac: Error out if with-file-notification=w32 is
72 specified on Cygwin. (Bug#19909)
73
74 2015-02-27 Paul Eggert <eggert@cs.ucla.edu>
75
76 Don't require GNU putenv
77 * configure.ac: Use system putenv even if it lacks GNU features, as
78 we don't need them. This works around a bug in FreeBSD 10.1 getenv.
79 (Bug#19874)
80
81 2015-02-25 Paul Eggert <eggert@cs.ucla.edu>
82
83 Merge from gnulib
84 * lib/getdtablesize.c, m4/dup2.m4, m4/fcntl.m4:
85 Update from gnulib, incorporating:
86 2015-02-23 dup2: doc and test for Android bug
87 2015-02-23 Replace dup2() on Android
88 2015-02-22 Android doesn't define RLIM_SAVED_*
89
90 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
91
92 Merge from gnulib
93 * lib/getdtablesize.c, lib/getopt.c, lib/signal.in.h, lib/tempname.c:
94 * lib/tempname.h, m4/dup2.m4, m4/fcntl.m4, m4/getdtablesize.m4:
95 Update from gnulib, incorporating:
96 2015-02-20 getdtablesize: port better for Android
97 2015-02-19 fcntl: Fix cross compiling
98 2015-02-18 dup2, fcntl: cross-compile better for Android
99 2015-02-18 getopt: don't crash on memory exhaustion
100 2015-02-17 tempname: allow compilation with C++ (trivial)
101 2015-02-17 dup2, fcntl: port to AIX
102 2015-02-16 getdtablesize, dup2, fcntl: port to Android
103 2015-02-11 getdtablesize, signal_h: Fix Android build
104 2015-02-11 maint: various whitespace cleanups in tempname
105
106 2015-02-13 Jan Djärv <jan.h.d@swipnet.se>
107
108 * configure.ac: Set locallisppath to empty for NS self contained,
109 unless --enable-loadllisppath was given (Bug#19850).
110
111 2015-02-09 Paul Eggert <eggert@cs.ucla.edu>
112
113 * configure.ac (HAVE_LIBXML2): Add missing comma.
114
115 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
116
117 Port to platforms lacking test -a and -o
118 * configure.ac (HAVE_LIBXML2):
119 Prefer '&&' and '||' to 'test -a' and 'test -o'.
120
121 2015-02-08 Ulrich Müller <ulm@gentoo.org>
122
123 * configure.ac (--with-gameuser): Default to 'games' group instead
124 of 'games' user.
125
126 2015-02-04 Paul Eggert <eggert@cs.ucla.edu>
127
128 * .gitattributes: Ignore blanks at EOL in texinfo.tex.
129
130 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
131
132 Merge from gnulib and try to repair bad merge
133 This attempts to repair problems introduced by the bad merge
134 5491fd1098d27b3ba3db054076b9ab60fb3558dc. The easiest way for me
135 to fix the badly-merged gnulib files was to run
136 'admin/merge-gnulib', so I did that, which also imported the
137 following changes:
138 * build-aux/update-copyright, m4/gnulib.m4:
139 Update from gnulib, incorporating:
140 2015-01-15 time: port to MinGW32 3.21
141 2015-01-15 update-copyright: apply to self
142 2015-01-11 update-copyright: recognize groff's \(co marker
143
144 2015-01-28 Eli Zaretskii <eliz@gnu.org>
145
146 * configure.ac (HAVE_W32): Abort with error message if
147 --without-toolkit-scroll-bars was specified. See
148 http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00525.html
149 for the details.
150
151 2015-01-27 Paul Eggert <eggert@cs.ucla.edu>
152
153 Port autogen.sh hook creation to private templates
154 * autogen.sh: Do not assume that the hook samples exist.
155 This ports to developers who override templatedir in their Git
156 configuration. The downside is that patch applications won't be
157 checked, but that's better than autogen.sh failing.
158 Problem reported by Sam Steingold in:
159 http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00898.html
160
161 2015-01-26 Paul Eggert <eggert@cs.ucla.edu>
162
163 * INSTALL.REPO: Mention minimum Git version.
164
165 2015-01-25 Paul Eggert <eggert@cs.ucla.edu>
166
167 Use gnustep-config if available
168 * configure.ac (--with-gnustep): Document this.
169 (NS_GNUSTEP_CONFIG): New variable, set if gnustep-config works.
170 If gnustep-config works, use 'gnustep-config --objc-flags' and
171 'gnustep-config --gui-libs' to compute GNUstep configuration
172 variables, instead of attempting to infer them individually.
173 (Bug#19507)
174
175 2015-01-21 Ulrich Müller <ulm@gentoo.org>
176
177 * configure.ac (gamegroup): New AC_SUBST.
178 (--with-gameuser): Allow to specify a group instead of a user.
179 In the default case, check at configure time if a 'games' user
180 exists.
181
182 2015-01-16 Paul Eggert <eggert@cs.ucla.edu>
183
184 Give up on -Wsuggest-attribute=const
185 The attribute doesn't help performance significantly, and the
186 warning seems to be more trouble than it's worth. See the thread at:
187 http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00361.html
188 * configure.ac (WERROR_CFLAGS): Don't use -Wsuggest-attribute=const.
189
190 2015-01-11 Paul Eggert <eggert@cs.ucla.edu>
191
192 Default to 'configure --enable-silent-rules'
193 This greatly shortens the 'make' output, making it more readable
194 and useful. For example, on my platform it shortens a
195 4125-character line "gcc -std=gnu99 -c -Demacs -I. -I. -I../lib
196 ... emacs.c" -- a line so long that it's hard to see what's going
197 on or where the diagnostics are -- to just "CC emacs.o".
198 * INSTALL: Document this.
199 * configure.ac: Add AM_SILENT_RULES([yes]).
200 (AM_DEFAULT_VERBOSITY): Remove now-unnecessary initialization.
201 (Bug#19501)
202
203 2015-01-06 Paul Eggert <eggert@cs.ucla.edu>
204
205 Merge from gnulib
206 * lib/stdio.in.h, m4/stdio_h.m4: Update from gnulib, incorporating:
207 2015-01-05 stdio: fix use of PRIdMAX on modern mingw
208
209 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
210
211 * INSTALL: Mention 'make WERROR_CFLAGS='.
212
213 Clarify 'make info'
214 * Makefile.in (info): Use GNU make conditional rather than
215 an '@' rule with a shell conditional, so that the builder can
216 see the submake.
217
218 Less 'make' chatter for VCSWITNESS
219 * Makefile.in (dirstate, VCSWITNESS): New macros.
220 (src): Use them to lessen 'make' chatter.
221
222 2015-01-01 Paul Eggert <eggert@cs.ucla.edu>
223
224 Merge from gnulib, incorporating:
225 2015-01-01 version-etc: new year
226
227 * .gitattributes: New file.
228
229 * autogen.sh: Port better to non-GNU 'cp'. Reported by Han Boetes.
230
231 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
232
233 Less 'make' chatter at top level
234 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
235 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
236 (am__v_at_1): New macros, copied from src/Makefile.in.
237 ($(srcdir)/src/config.in, ${srcdir}/info/dir):
238 Be less chatty when not verbose.
239 ($(srcdir)/src/stamp-h.in): Simplify with '$@'.
240
241 2014-12-28 Paul Eggert <eggert@cs.ucla.edu>
242
243 * build-aux/git-hooks/commit-msg: Allow tabs.
244 Treat them as if they were expanded to spaces, with tab stops
245 every 8 columns.
246
247 2014-12-27 Paul Eggert <eggert@cs.ucla.edu>
248
249 * .gitignore: Ignore /conftest*.
250
251 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * build-aux/git-hooks/commit-msg (at_sign): Bump up line-length limit
254 to 78.
255
256 2014-12-25 Paul Eggert <eggert@cs.ucla.edu>
257
258 Prefer stpcpy to strcat.
259 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
260 * lib/stpcpy.c, m4/stpcpy.m4: New files, from gnulib.
261
262 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
263
264 * CONTRIBUTE: Move user-level information to doc/emacs/trouble.texi.
265 Add Savannah url, cleanup announcing freeze.
266 (commit messages): New, gathered from comments on emacs-devel.
267 (Changelog notes): Add reference to GNU coding standards section 5.2;
268 doc 'present tense', bug fix format.
269 (branches): Freeze announcements are made on info-gnu-emacs mailing
270 list.
271 (git vs rename): New.
272
273 2014-12-23 Paul Eggert <eggert@cs.ucla.edu>
274
275 Merge from gnulib.
276 2014-12-20 utimens: remove unnecessary assert
277 2014-12-16 stdalign: port better to HP compilers
278 2014-12-16 stdalign: work around Apple GCC 4.0 bug
279 * lib/stdalign.in.h, lib/utimens.c, m4/stdalign.m4: Update from gnulib.
280
281 2014-12-14 Glenn Morris <rgm@gnu.org>
282
283 * make-dist: No more lib-src/grep-changelog.
284
285 * INSTALL.REPO: Revert 2014-12-06 change.
286
287 2014-12-13 Paul Eggert <eggert@cs.ucla.edu>
288
289 * lib/gnulib.mk: Regenerate.
290
291 2014-12-13 Paul Eggert <eggert@cs.ucla.edu>
292
293 * .gitignore: Add lib/std*.h, to ignore stdarg.h, stdbool.h, and
294 stddef.h. Remove subsumed entries.
295 Add !lib/std*.in.h, so as to not ignore the .in.h files.
296
297 2014-12-13 Paul Eggert <eggert@cs.ucla.edu>
298
299 Port commit-msg to mawk. Reported by Ted Zlatanov in:
300 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01093.html
301 * build-aux/git-hooks/commit-msg (space, non_space, non_print):
302 New vars. Use them as approximations to POSIX bracket expressions,
303 on implementations like mawk that do not support POSIX regexps.
304
305 Improve commit-msg messages and autosquash.
306 Reported by Michal Nazarewicz in Bug#19337.
307 * build-aux/git-hooks/commit-msg: Add "commit message" to
308 diagnostics. Distinguish better between tabs and other
309 unprintable chars in diagnostics. Don't complain if a prefix
310 "fixup! " or "squash! " makes a summary line too long.
311
312 2014-12-13 Paul Eggert <eggert@cs.ucla.edu>
313
314 Port commit-message checking to FreeBSD 9.
315 Reported by Jan Djärv in:
316 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00704.html
317 along with some other issues I noticed while testing with FreeBSD.
318 * build-aux/git-hooks/commit-msg: Prefer gawk if available.
319 Prefer en_US.UTF-8 to en_US.utf8, as it's more portable.
320 Work around bug in FreeBSD 9 awk, where /[[:cntrl:]]/ matches
321 ordinary text characters.
322 Be less tricky about quoting "'" in a shell script.
323
324 2014-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * .gitignore: Ignore autosave files.
327
328 2014-12-12 Paul Eggert <eggert@cs.ucla.edu>
329
330 Merge from gnulib.
331 2014-12-12 stddef: support C11's max_align_t
332 2014-12-11 unistd: fix iOS check conditional
333 2014-12-08 apply _GL_ATTRIBUTE_PURE to some inline functions
334 2014-12-02 support GNU format printf and scanf on mingw
335 * lib/stat-time.h, lib/stddef.in.h, lib/timespec.h:
336 * m4/extensions.m4, m4/stddef_h.m4, m4/stdio_h.m4: Update from gnulib.
337 * lib/gnulib.mk: Regenerate.
338
339 2014-12-06 Stephen Leake <stephen_leake@stephe-leake.org>
340
341 * CONTRIBUTE: Improve; add explicit web references, move some info
342 from admin/notes/* here.
343
344 * INSTALL.REPO: You can't "just run make" after a clean checkout.
345
346 2014-12-05 Stephen Leake <stephen_leake@stephe-leake.org>
347
348 * CONTRIBUTE: Move here from etc/, preparatory to further
349 changes/cleanup.
350
351 2014-12-05 Paul Eggert <eggert@cs.ucla.edu>
352
353 * .gitignore: Remove redundant pattern (subsumed by _*).
354 Avoid "**", as it requires Git 1.8.2 or later.
355
356 2014-12-05 Eli Zaretskii <eliz@gnu.org>
357
358 * .gitignore: Ignore test/biditest.txt.
359
360 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
361
362 * .gitignore: Ignore loaddefs directly under lisp, and in
363 sub-sub-directories.
364
365 2014-11-29 Paul Eggert <eggert@cs.ucla.edu>
366
367 Add more of the old .bzrignore to .gitignore.
368 Plus a few more .gitignore improvements.
369 * .gitignore: Add copyright notice, since it's big enough.
370 Put exceptions immediately after the patterns they're exceptions
371 to, to make them easier to follow.
372 Give four exceptions for the Makefile pattern.
373 Ignore /confdefs.h, test/indent/*.new, TAGS, GPATH, GSYMS, GRTAGS,
374 GTAGS, ID, *.exe, some nextstep-related files,
375 jisx2131-filter, *.orig, *.rej, etc/emacs.tmpdesktop, *.in-h
376 _* (except for build-aux/snippet/_Noreturn.h), /bin/, /BIN/,
377 /data/, etc/icons/, lib/cxxdefs.h, lib/SYS/, /libexec/, /lock/,
378 /README.W32, /share/, /site-lisp/, src/gdb.ini, /var/.
379 Ignore /configure.lineno, since POSIX requires
380 LINENO only with the User Portability Utilities option.
381 Ignore *cust-load.el and *loaddefs.el only under lisp.
382 Ignore core files of various flavors.
383 Do not ignore etc/refcards/gnus-logo.pdf.
384
385 2014-11-29 Eli Zaretskii <eliz@gnu.org>
386
387 * .gitignore: Add back src/_gdbinit, which is a temporary file
388 created by the MS-DOS build.
389
390 2014-11-29 Paul Eggert <eggert@cs.ucla.edu>
391
392 Add a.out to .gitignore.
393 Suggested by Lee Duhem in:
394 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01665.html
395 * .gitignore: Add a.out.
396 Move *.log next to *.tmp, since it's generic.
397 Put *.exe before non-generics.
398
399 2014-11-29 Eli Zaretskii <eliz@gnu.org>
400
401 * .gitignore: Resurrect Windows-specific ignorables lost in last
402 changes.
403
404 2014-11-29 Paul Eggert <eggert@cs.ucla.edu>
405
406 * .gitignore: Add /emacs-[1-9]*/, and sort better.
407
408 2014-11-29 Ivan Andrus <darthandrus@gmail.com>
409
410 * .gitignore: Add some nextstep/mac ignorables.
411
412 2014-11-29 Paul Eggert <eggert@cs.ucla.edu>
413
414 .gitignore cleanup.
415 * .gitignore: Merge contents of subsidiary files and organize the
416 result so as to avoid duplication. Remove no-longer needed entries.
417 * admin/charsets/.gitignore, admin/unidata/.gitignore:
418 * doc/lispintro/.gitignore, etc/.gitignore, leim/.gitignore:
419 * leim/ja-dic/.gitignore, lib-src/.gitignore, lisp/.gitignore:
420 * lisp/calc/.gitignore, lisp/calendar/.gitignore:
421 * lisp/cedet/.gitignore, lisp/emulation/.gitignore:
422 * lisp/erc/.gitignore, lisp/eshell/.gitignore, lisp/gnus/.gitignore:
423 * lisp/international/.gitignore, lisp/language/.gitignore:
424 * lisp/leim/.gitignore, lisp/leim/quail/.gitignore:
425 * lisp/mail/.gitignore, lisp/mh-e/.gitignore, lisp/net/.gitignore:
426 * lisp/nxml/.gitignore, lisp/obsolete/.gitignore:
427 * lisp/play/.gitignore, lisp/progmodes/.gitignore:
428 * lisp/term/.gitignore, lisp/textmodes/.gitignore:
429 * lisp/url/.gitignore, nt/.gitignore, src/.gitignore:
430 Remove; no longer needed.
431
432 2014-11-29 Glenn Morris <rgm@gnu.org>
433
434 * configure.ac: Simplify gnutls tests.
435
436 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * .gitignore: Add entries for emacsvers files.
439
440 2014-11-27 Paul Eggert <eggert@cs.ucla.edu>
441
442 Restore 'Bug#' -> 'debbugs:' rewrite in log-edit-mode.
443 * .dir-locals.el (log-edit-mode): Restore the (log-edit-rewrite-fixes
444 "[ \n](bug#\\([0-9]+\\))" . "debbugs:\\1"). See Glenn Morris in:
445 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01187.html
446
447 Simplify and fix doc-related .gitignore files.
448 This fixes some unwanted 'git status' output after 'make docs'.
449 * .gitignore: Add **/Makefile, **/makefile.
450 Remove Makefile, makefile.
451 Add doc/*/*.xxx rules for the usual kinds of documentation outputs
452 and temporaries. Add doc/misc/cc-mode.ss.
453 * doc/emacs/.gitignore, doc/lispintro/.gitignore, doc/misc/.gitignore:
454 * lwlib/.gitignore, oldXMenu/.gitignore:
455 Remove, as these .gitignore files are no longer needed.
456 * doc/lispintro/.gitignore: Replace with list of exceptional PDF files.
457
458 2014-11-26 Dani Moncayo <dmoncayo@gmail.com>
459
460 * configure.ac [MINGW]: Fix the way of getting the right host
461 platform.
462
463 2014-11-25 Glenn Morris <rgm@gnu.org>
464
465 * configure.ac: Fix yesterday's use of uninitialized $version.
466
467 2014-11-25 Oscar Fuentes <ofv@wanadoo.es>
468
469 * configure.ac [MINGW]: Set $canonical default value as per the
470 compiler's target.
471
472 2014-11-24 Glenn Morris <rgm@gnu.org>
473
474 * configure.ac [HAVE_W32]: Generate nt/*.rc files when HAVE_W32,
475 not just when using mingw32.
476
477 2014-11-22 Glenn Morris <rgm@gnu.org>
478
479 Further reduce number of versioned files storing Emacs version number.
480 * configure.ac (comma_version, comma_space_version) [mingw32]:
481 New output variables.
482 (nt/emacs.rc, nt/emacsclient.rc) [mingw32]: New output files.
483 * make-dist: Update nt/ for *.rc -> *.rc.in changes.
484
485 2014-11-19 Dani Moncayo <dmoncayo@gmail.com>
486
487 * build-aux/msys-to-w32: Simplify implementation and docstring;
488 Paths starting with '%emacs_dir%' are just considered relative.
489
490 2014-11-16 Christoph Scholtes <cschol2112@gmail.com>
491
492 * .gitignore: Ignore generated file lib/stdalign.h.
493
494 2014-11-16 Eli Zaretskii <eliz@gnu.org>
495
496 * .gitignore: Add more ignorables.
497
498 2014-11-14 Andreas Schwab <schwab@linux-m68k.org>
499
500 * Makefile.in (config.status): Don't depend on
501 ${srcdir}/lisp/version.el.
502
503 2014-11-14 Paul Eggert <eggert@cs.ucla.edu>
504
505 Merge from gnulib.
506 2014-11-14 extern-inline: update commentary about GCC bugs
507 2014-11-06 unistd: port to iOS
508 2014-11-04 update from texinfo
509 * doc/misc/texinfo.tex, lib/unistd.in.h, m4/extern-inline.m4:
510 Update from gnulib.
511
512 build: port to GCC 4.6.4 + glibc 2.5
513 On platforms this old, building with _FORTIFY_SOURCE equal to 2
514 results in duplicate definitions of standard library functions.
515 Reported by Nelson H. F. Beebe.
516 * configure.ac (_FORTIFY_SOURCE): Sort after GNULIB_PORTCHECK.
517 By default, do not enable this unless GNULIB_PORTCHECK is defined.
518 This better matches the original intent, which as I recall was to
519 enable these extra checks only with --enable-gcc-warnings.
520
521 2014-11-14 David Reitter <david.reitter@gmail.com>
522
523 * Makefile.in (install-arch-indep): Compress publicsuffix.txt file.
524
525 2014-11-13 Paul Eggert <eggert@cs.ucla.edu>
526
527 * .dir-locals.el: Remove reference to bzr commit --fixes debbugs.
528
529 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
530
531 * .gitignore: Copy over sufficient ignorable files from the old
532 .bzrignore that a simple build doesn't list lots of unregistered files.
533
534 2014-11-11 Eric S. Raymond <esr@thyrsus.com>
535
536 Git transition.
537 * Makefile.in (src): Set VCSWITNESS appropriately for git.
538
539 All bzr revision IDS, and all CVS revision IDs for which a commit
540 could be identified, were changed to time-date!committer version
541 stamps. All .cvsignore files in the history became .gitignore
542 files. Fixes-bug annotations from bzr were copied into the
543 corresponding commit comments.
544
545 (The first .cvsignore commit was 1999-09-30T14:07:54Z!fx@gnu.org.
546 The last CVS commit was 2009-12-27T08:11:12Z!cyd@stupidchicken.com.)
547
548 Committer/author email addresses are generally correct for the
549 transition day, not necessarily when the commit was originally made.
550
551 2014-11-10 Glenn Morris <rgm@gnu.org>
552
553 * configure.ac (doc/man/emacs.1): Generate it.
554 * Makefile.in (top_bootclean): Remove doc/man/emacs.1.
555 * make-dist: Do not distribute doc/man/emacs.1.
556
557 * configure.ac (etc/refcards/emacsver.tex): Generate it.
558 * Makefile.in (etc-emacsver): New PHONY rule.
559 (bootstrap-clean): Delete etc/refcards/emacsver.tex.
560
561 * configure.ac (doc/emacs/emacsver.texi): Generate it.
562 * make-dist (doc/emacs/emacsver.texi) [update]: No longer check it.
563
564 2014-11-08 Dani Moncayo <dmoncayo@gmail.com>
565
566 * build-aux/msys-to-w32: Simplify the initial over-engineered
567 interface, and the implementation.
568 * Makefile.in (epaths-force-w32): Update for the above. Also
569 simplify, assuming that the shell is bash (which is the case in MSYS).
570 (msys_w32prefix_subst, msys_sed_sh_escape): Remove (no longer used).
571
572 2014-11-05 Glenn Morris <rgm@gnu.org>
573
574 * Makefile.in (QUIET_SUBMAKE): Remove.
575 (install-info, uninstall): Use --no-print-directory. (Bug#18908)
576
577 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
578
579 * autogen.sh: Neutralize language specific to a repository type.
580
581 2014-10-23 Paul Eggert <eggert@cs.ucla.edu>
582
583 * Makefile.in (ACLOCAL_INPUTS): Omit unnecessary use of 'wildcard'.
584
585 Fix race in 'make info/dir', and speed it up.
586 * Makefile.in (AWK, srcdir_doc_info_dir_inputs, info_dir_inputs):
587 New macros.
588 (clean): Remove info-dir.*.
589 (info_dir_deps): Depend on make-info-dir too.
590 (${srcdir}/info/dir): Make sure info directory exists.
591 Don't call pwd; just redirect make-info-dir's stdout to temp file.
592 * build-aux/make-info-dir: Send output to stdout.
593 Take input file names from args.
594 Fix a "FIXME inefficient looping" by using awk's associative arrays.
595 Basically, this rewrites the script from scratch, and speeds up
596 'make info/dir' from 2.6s to 0.07s on my platform.
597
598 2014-10-20 Glenn Morris <rgm@gnu.org>
599
600 * Merge in all changes up to 24.4 release.
601
602 2014-10-19 Paul Eggert <eggert@cs.ucla.edu>
603
604 Merge from gnulib, incorporating:
605 2014-10-18 readlinkat: port to AIX 7.1
606 2014-10-07 fcntl: fix error reporting by dupfd
607 * lib/fcntl.c, lib/readlinkat.c, lib/unistd.in.h, m4/readlinkat.m4:
608 * m4/unistd_h.m4: Update from gnulib.
609 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
610
611 2014-10-17 Glenn Morris <rgm@gnu.org>
612
613 * configure.ac: Simplify OS X $canonical tests.
614
615 2014-10-15 Jan Djärv <jan.h.d@swipnet.se>
616
617 * configure.ac: Move the OSX 10.6 test.
618
619 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
620
621 * .bzrignore: Add uni-brackets.el.
622
623 2014-10-14 Jan Djärv <jan.h.d@swipnet.se>
624
625 * configure.ac: apple-darwin powerpc is unported.
626 Require OSX >= 10.6 even if --with-ns is not given.
627
628 2014-10-12 Ken Brown <kbrown@cornell.edu>
629
630 * configure.ac (LD_SWITCH_SYSTEM_TEMACS) [CYGWIN]: Set stack size
631 to 8 MB. (Bug#18438)
632
633 2014-10-12 Jan Djärv <jan.h.d@swipnet.se>
634
635 * configure.ac: Require OSX 10.6. Remove NSInteger test,
636 use nsfont for Gnustep, macfont for OSX.
637
638 2014-10-12 Paul Eggert <eggert@cs.ucla.edu>
639
640 Fix putenv race conditions that can crash Emacs (Bug#8705).
641 * configure.ac (LOCALTIME_CACHE): Remove.
642 We needn't worry about SunOS 4 any more; Sun dropped support in 2003.
643 All uses of LOCALTIME_CACHE removed. This simplifies the fix.
644 (tzalloc): Add check for this function.
645
646 2014-10-06 Jan Djärv <jan.h.d@swipnet.se>
647
648 * configure.ac: Add -Wno-string-plus-int for clang.
649
650 2014-10-04 Glenn Morris <rgm@gnu.org>
651
652 * configure.ac: Silence warning with some old Xrandr.h. (Bug#18465)
653
654 2014-10-03 Paul Eggert <eggert@cs.ucla.edu>
655
656 * configure.ac: Port to strict POSIX shells on non-MinGW (Bug#18612).
657
658 2014-09-29 Eli Zaretskii <eliz@gnu.org>
659
660 * README: Bump version to 25.0.50.
661
662 * configure.ac (AC_INIT): Bump version to 25.0.50.
663
664 2014-09-29 Dmitry Antipov <dmantipov@yandex.ru>
665
666 * configure.ac (HAVE_STATEMENT_EXPRESSIONS): Remove.
667 For USE_STACK_LISP_OBJECTS, we always assume __GNUC__.
668
669 2014-09-27 Ken Brown <kbrown@cornell.edu>
670
671 * configure.ac [CYGWIN]: Enable sound support.
672
673 2014-09-25 Paul Eggert <eggert@cs.ucla.edu>
674
675 * configure.ac (MAKEINFO): Allow 'makeinfo' to be called 'texi2any'.
676
677 2014-09-23 Paul Eggert <eggert@cs.ucla.edu>
678
679 Merge from gnulib, incorporating:
680 2014-09-11 fcntl-h: fix compilation with Intel C++ compiler
681 2014-09-04 pthread, pthread_sigmask, threadlib: port to Ubuntu 14.04
682
683 2014-09-22 Jan Djärv <jan.h.d@swipnet.se>
684
685 * configure.ac: Increase headerpad_extra to 1000, update the comment
686 about load commands (Bug#18505).
687
688 2014-09-15 Eli Zaretskii <eliz@gnu.org>
689
690 * configure.ac (HAVE_SOUND): Check for mmsystem.h header that
691 defines the sound stuff on MS-Windows. (Bug#18463)
692
693 2014-09-10 Paul Eggert <eggert@cs.ucla.edu>
694
695 Improve the experimental local and scoped allocation.
696 * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED)
697 (HAVE_STATEMENT_EXPRESSIONS): New configure-time checks.
698
699 2014-09-07 Paul Eggert <eggert@cs.ucla.edu>
700
701 Expand @AM_DEFAULT_VERBOSITY@ even if Automake is old (Bug#18415).
702 * configure.ac: Assume verbose output for older Automake.
703
704 2014-09-04 Paul Eggert <eggert@cs.ucla.edu>
705
706 * configure.ac (MAKEINFO): Clean up some configuration bitrot.
707 MAKEINFO is already set before we get here, so no need to call AC_PATH_PROG.
708 Bypass $am_missing_run. Simplify version-number checking.
709
710 2014-09-02 Paul Eggert <eggert@cs.ucla.edu>
711
712 Merge from gnulib, incorporating:
713 2014-09-02 gnulib-common.m4: port to GCC 4.2.1 and Sun Studio 12 C++
714 2014-09-01 manywarnings: add GCC 4.9 warnings
715 * m4/gnulib-common.m4, m4/manywarnings.m4: Update from gnulib.
716
717 2014-09-01 Paul Eggert <eggert@cs.ucla.edu>
718
719 --enable-silent-rules now suppresses more chatter.
720 * INSTALL: Document this.
721
722 Clean up extern decls a bit.
723 * configure.ac (WERROR_CFLAGS): Don't disable -Wnested-externs.
724 While we're at it, don't disable -Wlogical-op either.
725
726 2014-08-31 Paul Eggert <eggert@cs.ucla.edu>
727
728 * configure.ac (MAKE): Export it, for config.status.
729 Needed on AIX when 'configure' infers MAKE=gmake.
730 (__restrict_arr): Remove; no longer used.
731
732 2014-08-30 Paul Eggert <eggert@cs.ucla.edu>
733
734 Vector-sorting fixes (Bug#18361).
735 * configure.ac (qsort_r): Remove, as we no longer use qsort-like
736 functions.
737 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
738 * lib/vla.h, m4/vararrays.m4: New files, copied from gnulib.
739 * lib/stdlib.in.h, m4/stdlib_h.m4: Sync from gnulib, incorporating:
740 2014-08-29 qsort_r: new module, for GNU-style qsort_r
741 The previous two files' changes are boilerplate generated by
742 admin/merge-gnulib, and should not affect Emacs.
743
744 2014-08-29 Dmitry Antipov <dmantipov@yandex.ru>
745
746 * configure.ac (AC_CHECK_FUNCS): Check for qsort_r.
747
748 2014-08-28 Ken Brown <kbrown@cornell.edu>
749
750 * configure.ac (HYBRID_MALLOC): New macro; define to use gmalloc
751 before dumping and the system malloc after dumping. Define on
752 Cygwin. (Bug#18222)
753
754 2014-08-28 Glenn Morris <rgm@gnu.org>
755
756 * Makefile.in (appdatadir): New variable.
757 (install-etc, uninstall, clean): Handle etc/emacs.appdata.xml.
758
759 2014-08-27 Paul Eggert <eggert@cs.ucla.edu>
760
761 Improve robustness of new string-collation code (Bug#18051).
762 * configure.ac (newlocale): Check for this, not for uselocale.
763
764 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
765
766 Detect features needed to handle C stack overflows.
767 * configure.ac: Check for sigaltstack and related sigaction
768 support. Unconditionally check for sigsetjmp and siglongjmp.
769 (HAVE_STACK_OVERFLOW_HANDLING): Define if we can support it.
770
771 (HAVE_LINUX_SYSINFO): Avoid false positive on Solaris.
772
773 2014-08-25 Ken Brown <kbrown@cornell.edu>
774
775 * configure.ac (G_SLICE_ALWAYS_MALLOC): Remove obsolete macro.
776
777 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
778
779 * INSTALL.REPO: Remove reference to obsolete configure scripts
780 on non-Posix platforms (Bug#18323).
781
782 2014-08-24 Michael Albinus <michael.albinus@gmx.de>
783
784 * configure.ac: Check also for the uselocale function. (Bug#18051)
785
786 2014-08-23 Karol Ostrovsky <karol.ostrovsky@gmail.com> (tiny change)
787
788 * configure.ac: Accept "*-mingw*", not just "*-mingw32", as
789 canonical name of a MinGW build, because using MSYS2 'uname'
790 produces "MINGW64".
791
792 2014-08-21 Ken Brown <kbrown@cornell.edu>
793
794 * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the
795 Cygwin-w32 build. (Bug#18302)
796
797 2014-08-11 Paul Eggert <eggert@cs.ucla.edu>
798
799 Don't prevent random file systems from being unmounted (Bug#18232).
800 This fix relies on having the 'fchdir' function, and on having
801 "." be searchable (or at least readable, on platforms lacking O_SEARCH),
802 but that's good enough to handle the vast majority of cases and the
803 remaining folks can just live with the annoyance of file systems
804 that occasionally can't be unmounted.
805 * configure.ac (fchdir): New function to check for.
806 * lib/save-cwd.c: Copy from gnulib, except omit the part that
807 allocates memory, since that can cause problems in Emacs.
808 * lib/save-cwd.h: Copy from gnulib.
809
810 2014-08-10 Eli Zaretskii <eliz@gnu.org>
811
812 * config.bat: Fix some confusing wording.
813
814 2014-08-09 Eli Zaretskii <eliz@gnu.org>
815
816 * config.bat: Fix EOL format in lines modified by last commit.
817
818 2014-08-09 Reuben Thomas <rrt@sc3d.org>
819
820 * make-dist (files): Remove msdos/is_exec.c and sigaction.c.
821 * config.bat: Require DJGPP 2.02 or later.
822
823 2014-08-09 Paul Eggert <eggert@cs.ucla.edu>
824
825 Merge from gnulib, incorporating:
826 2014-08-07 getdtablesize: fall back on sysconf (_SC_OPEN_MAX)
827 2014-08-05 sys_select: fix FD_ZERO problem on Solaris 10
828 * lib/getdtablesize.c, lib/sys_select.in.h: Update from gnulib.
829
830 2014-08-07 Reuben Thomas <rrt@sc3d.org>
831
832 * README: ``MSDOG'' becomes ``MS-DOS''.
833
834 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
835
836 Merge from gnulib, incorporating:
837 2014-08-04 extern-inline: port to FreeBSD, DragonFly
838 * lib/gnulib.mk: Regenerate (comment change only).
839 * m4/extern-inline.m4: Update from gnulib.
840
841 2014-08-02 Paul Eggert <eggert@cs.ucla.edu>
842
843 * configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK,
844 since the code is using TFD_NONBLOCK now.
845
846 2014-07-31 Paul Eggert <eggert@cs.ucla.edu>
847
848 Simplify timerfd configuration and fix some minor glitches.
849 * configure.ac (HAVE_TIMERFD): Define only if TFD_CLOEXEC works,
850 since the code leaked file descriptors to children when !TFD_CLOEXEC.
851 (HAVE_TIMERFD_CLOEXEC): Remove; no longer used.
852 * m4/clock_time.m4 (gl_CLOCK_TIME): Don't check for clock_getres.
853 This reverts the previous change to this file, so it matches
854 gnulib again.
855
856 2014-07-28 Dmitry Antipov <dmantipov@yandex.ru>
857
858 * configure.ac (toplevel): Check whether GNU/Linux-specific
859 timerfd functions and macros are available.
860 * m4/clock_time.m4 (gl_CLOCK_TIME): Check for clock_getres as well.
861
862 2014-07-13 Paul Eggert <eggert@cs.ucla.edu>
863
864 Improve behavior of 'bzr up; cd src; make -k'.
865 * Makefile.in (ACLOCAL_INPUTS): Add all m4/*.m4 files.
866
867 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
868
869 Merge from gnulib, incorporating:
870 2014-06-27 mktime: merge #if/#ifdef usage from glibc
871 * lib/mktime.c: Update from gnulib.
872
873 * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971).
874
875 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
876
877 * configure.ac: Check whether sys/sysinfo.h provides
878 Linux 'sysinfo' function and 'struct sysinfo' type.
879
880 2014-06-28 Glenn Morris <rgm@gnu.org>
881
882 * configure.ac (lwlib_deps_frag, oldxmenu_deps_frag): New output files.
883 * make-dist (lwlib, oldXMenu): Distribute *.mk.
884
885 2014-06-27 Glenn Morris <rgm@gnu.org>
886
887 * Makefile.in (src): No more need to pass BOOTSTRAPEMACS.
888
889 * make-dist: Exclude test/automated/*.log.
890
891 2014-06-26 Glenn Morris <rgm@gnu.org>
892
893 * Makefile.in (mostlyclean, clean): Maybe clean test/automated.
894
895 2014-06-21 Paul Eggert <eggert@cs.ucla.edu>
896
897 * configure.ac: Warn about --enable-link-time-optimization's issues
898 in --help message (Bug#17806).
899
900 Port to GCC 4.9.0 with link time optimization (Bug#17806).
901 * configure.ac (CFLAGS): With link time optimization,
902 use -ffat-lto-objects if supported; otherwise Emacs won't
903 build with GCC 4.9.0.
904
905 2014-06-20 Paul Eggert <eggert@cs.ucla.edu>
906
907 Diagnose failures due to colons in directory names (Bug#17278).
908 * Makefile.in (epaths-force): Don't allow ':' in directories whose
909 names go into a colon-separated path.
910 * configure.ac: Fail if submake fails.
911
912 2014-06-17 Paul Eggert <eggert@cs.ucla.edu>
913
914 Omit redundant extern decls.
915 Most of this patch is from Dmitry Antipov, in:
916 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html
917 * configure.ac (WERROR_CFLAGS): Add -Wredundant-decls.
918
919 Merge from gnulib, incorporating:
920 2014-06-17 acl: port to gcc -Wredundant-decls
921 2014-06-01 gnulib-common.m4: Fix typo in _GL_UNUSED_LABEL.
922 * lib/acl.h, m4/gnulib-common.m4: Update from gnulib.
923
924 2014-06-15 Glenn Morris <rgm@gnu.org>
925
926 * Makefile.in: Use `make -C' rather than `cd && make' throughout.
927
928 * Makefile.in: Parallelize clean rules using GNU make features.
929 (submake_template): New definition.
930 (mostlyclean_dirs, clean_dirs, distclean_dirs, maintainer_clean_dirs):
931 New variables.
932 (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean)
933 (extraclean): Define using each subdirectory as a prequisite.
934 * lib/Makefile.am (bootstrap-clean): New.
935
936 2014-06-15 Paul Eggert <eggert@cs.ucla.edu>
937
938 Port part of the AIX fix to Solaris (Bug#17598).
939 * configure.ac (_REENTRANT): Define on Solaris if HAVE_PTHREAD.
940 This ports part of the recent AIX fixes to Solaris. It is needed
941 for the same reason that _THREAD_SAFE is needed on AIX, e.g., to
942 make sure that each thread has its own 'errno'.
943
944 2014-06-13 Glenn Morris <rgm@gnu.org>
945
946 * Makefile.in (CC, CFLAGS, LDFLAGS, CPPFLAGS, abs_top_srcdir):
947 Remove, no longer used.
948 (lib, lib-src, lisp, nt, src, blessmail, install-arch-dep)
949 (install-nt, install-strip, uninstall, uninstall-nt)
950 (mostlyclean, clean, distclean, bootstrap-clean)
951 (maintainer-clean, extraclean, TAGS, tags, check, $(DOCS)):
952 ($(INSTALL_DOC), $(UNINSTALL_DOC), info, bootstrap, check-declare):
953 GNU make automatically passes command-line arguments to sub-makes.
954
955 2014-06-11 Paul Eggert <eggert@cs.ucla.edu>
956
957 Use a shell function in configure.ac to cut down on code duplication.
958 * configure.ac (emacs_check_gnu_make): New shell function.
959 Use it to avoid duplication when checking for GNU Make.
960 It's OK for 'configure' to use shell functions these days,
961 as long as we follow the advice in the 'Shell Functions'
962 section of the Autoconf manual.
963
964 2014-06-11 Glenn Morris <rgm@gnu.org>
965
966 * configure.ac: Require at least version 3.81 of GNU make.
967
968 2014-06-10 Paul Eggert <eggert@cs.ucla.edu>
969
970 Rely on AC_CANONICAL_HOST to detect whether we're using mingw.
971 See the thread containing:
972 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00206.html
973 * configure.ac (AC_CANONICAL_HOST): Invoke this as early as we
974 can, which is just after AM_INIT_AUTOMAKE. Then check for mingw
975 just after that.
976
977 2014-06-10 Glenn Morris <rgm@gnu.org>
978
979 * Makefile.in (AUTOCONF, AUTOMAKE, AUTOHEADER, ACLOCAL):
980 New, set by configure. Use throughout where appropriate.
981
982 * Makefile.in (INFO_EXT): Remove and replace by ".info" throughout.
983 * configure.ac (INFO_EXT, INFO_OPTS): Remove output variables.
984
985 2014-06-08 Paul Eggert <eggert@cs.ucla.edu>
986
987 Port better to AIX (Bug#17598).
988 * configure.ac (with_xpm_set): New shell var.
989 (_THREAD_SAFE): Define on AIX if HAVE_PTHREAD.
990 (with_xpm): Default to 'no' on AIX.
991 (LIBXPM): Append -lXpm if -lXaw is also used, as the latter
992 requires the former on AIX.
993
994 2014-06-05 Paul Eggert <eggert@cs.ucla.edu>
995
996 Try harder to find GNU Make when configuring.
997 * configure.ac (AC_PROG_MAKE_SET): Define a dummy.
998 (MAKE): Set it to GNU Make, if one can be found.
999 Search PATH for 'make', 'gmake', 'gnumake'.
1000 This works better on platforms like AIX, where GNU Make
1001 might be in /opt/freeware/bin/make, and reside
1002 behind /usr/bin/make in the PATH.
1003
1004 2014-06-05 Dmitry Antipov <dmantipov@yandex.ru>
1005
1006 * configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
1007 * INSTALL: Mention SVG image support.
1008
1009 2014-06-05 Paul Eggert <eggert@cs.ucla.edu>
1010
1011 * configure.ac: --without-all now implies --without-xft, --disable-acl.
1012 * INSTALL: Remove apparently unmaintained documentation about what
1013 --without-all exactly means.
1014
1015 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1016
1017 * configure.ac (C_HEAP_SWITCH): Remove.
1018
1019 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
1020
1021 Fix port to 32-bit AIX with xlc (Bug#17598).
1022 This doesn't fix Bug#17598, but it does fix a regression since Emacs
1023 built with xlc until recently, and perhaps it'll help us fix Bug#17598.
1024 * configure.ac (GC_SETJMP_WORKS): Define for AIX, too.
1025 Merge from gnulib, incorporating:
1026 2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1
1027 * lib/ftoastr.c: Update from gnulib.
1028
1029 2014-06-01 Paul Eggert <eggert@cs.ucla.edu>
1030
1031 Merge from gnulib, incorporating:
1032 2014-06-02 acl: apply pure attribute to two functions
1033 2014-06-01 gnulib-common.m4: add _GL_UNUSED_LABEL
1034 2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1
1035 2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1
1036 * lib/acl-internal.h, lib/fcntl.in.h, lib/ftoastr.h:
1037 * m4/dup2.m4, m4/fcntl.m4, m4/gnulib-common.m4:
1038 Update from gnulib.
1039
1040 2014-06-01 Juanma Barranquero <lekktu@gmail.com>
1041
1042 * configure.ac (C_HEAP_SWITCH): Raise HEAPSIZE value for 32-bit
1043 builds on Windows.
1044
1045 2014-05-29 Paul Eggert <eggert@cs.ucla.edu>
1046
1047 * configure.ac (pthread_sigmask): Look in LIB_PTHREAD too (Bug#17561).
1048 Fixes configuration glitch found in <http://bugs.gnu.org/17561#59>.
1049
1050 2014-05-29 Eli Zaretskii <eliz@gnu.org>
1051
1052 * configure.ac (ADDSECTION, TEMACS_POST_LINK): Don't compute,
1053 unused.
1054
1055 2014-05-29 Paul Eggert <eggert@cs.ucla.edu>
1056
1057 Don't substitute sigprocmask for pthread_sigmask (Bug#17561).
1058 sigprocmask isn't portable in a multithreaded process.
1059 * configure.ac (gl_THREADLIB): Remove dummy.
1060 Merge from gnulib, incorporating:
1061 2014-05-28 pthread_sigmask, timer-time: use gl_THREADLIB only if needed
1062 * m4/pthread_sigmask.m4, m4/timer_time.m4: Update from gnulib.
1063
1064 2014-05-29 Glenn Morris <rgm@gnu.org>
1065
1066 * configure.ac: Explicitly drop some ancient Solaris versions.
1067
1068 2014-05-27 Fabrice Popineau <fabrice.popineau@gmail.com>
1069
1070 * configure.ac (C_HEAP_SWITCH): Define for different values of
1071 dumped heap size depending on 32/64bits arch on Windows.
1072 Don't check for pthreads.h on MinGW32/64, it gets in the way.
1073 Use mmap(2) for buffers and system malloc for MinGW32/64.
1074 (EMACS_HEAPSIZE): Remove.
1075
1076 2014-05-27 Paul Eggert <eggert@cs.ucla.edu>
1077
1078 Merge from gnulib, incorporating:
1079 2014-05-21 fchdir: port 'open' and 'close' redefinitions to AIX 7.1
1080 * lib/openat-proc.c: Update from gnulib.
1081
1082 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1083
1084 Fix port to 32-bit AIX (Bug#17540).
1085 * configure.ac (opsys): On Power Architecture, treat release 7 of
1086 AIX like releases 5 and 6.
1087
1088 2014-05-19 Paul Eggert <eggert@cs.ucla.edu>
1089
1090 Remove dependencies on getdelim and getline.
1091 * configure.ac (getdelim, getline): Remove.
1092
1093 2014-05-18 Glenn Morris <rgm@gnu.org>
1094
1095 * configure.ac: Do not bother testing for png in non-graphical builds.
1096
1097 2014-05-18 Paul Eggert <eggert@cs.ucla.edu>
1098
1099 Port ctags+etags build to Sun C 5.12.
1100 * .bzrignore: Remove lib-src/ctags.c.
1101
1102 Port recent libpng changes to hosts with missing png.h.
1103 * configure.ac (HAVE_PNG): Port to platforms where libpng-config
1104 succeeds but png.h is absent, by testing libpng-config's output
1105 rather than trusting it. I ran into this problem when building
1106 Emacs trunk on a Solaris 10 host.
1107
1108 2014-05-17 Paul Eggert <eggert@cs.ucla.edu>
1109
1110 Assume C99 or later (Bug#17487).
1111 * lib/stdarg.in.h, lib/stdbool.in.h, m4/stdarg.m4, m4/stdbool.m4:
1112 Remove.
1113 * configure.ac (_AC_PROG_CC_C89): Define a dummy, to keep 'configure'
1114 smaller.
1115 (gl_PROG_CC_C99): Use this to get C99 or later.
1116 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1117
1118 2014-05-16 Paul Eggert <eggert@cs.ucla.edu>
1119
1120 Don't require pkg-config when building from repository.
1121 * INSTALL: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'.
1122 * INSTALL.REPO: pkg-config is no longer required to build from
1123 the repository.
1124 * autogen.sh: Don't check for pkg-config.
1125 (progs): Remove pkg-config.
1126 (pkg_config_min, AUTORECONF_ENV, env_space, ACLOCAL_PATH):
1127 Remove. All uses removed.
1128 * m4/pkg.m4: New file, built by admin/merge-pkg-config.
1129 * configure.ac: Remove unnecessary m4_pattern_forbid of ^PKG_ and
1130 an AC_ARG_VAR of PKG_CONFIG_PATH. pkg.m4 does that for us.
1131 (EMACS_CHECK_MODULES): Remove workaround for old pkg-config bug,
1132 as we use pkg.m4 from a newer pkg-config.
1133
1134 2014-05-15 Jan Djärv <jan.h.d@swipnet.se>
1135
1136 * configure.ac (LIBPNG): Do not test for libpng if NS_IMPL_COCOA.
1137
1138 2014-05-13 Dmitry Antipov <dmantipov@yandex.ru>
1139
1140 * configure.ac (HAVE_XFIXES): Define if available.
1141 (XFIXES_CFLAGS, XFIXES_LIBS): New AC_SUBSTs.
1142 (--enable-link-time-optimization): Add clang support.
1143 * INSTALL: Mention it.
1144
1145 2014-05-12 Katsumi Yamaoka <yamaoka@jpl.org>
1146
1147 * configure.ac (EMACS_CHECK_MODULES): Fix typo in previous change.
1148
1149 2014-05-11 Paul Eggert <eggert@cs.ucla.edu>
1150
1151 Work around bug in pkg-config before 0.26 (Bug#17438).
1152 * configure.ac (EMACS_CHECK_MODULES): Check for failed exit status
1153 of pkg-config, on older pkg-config versions that don't do it
1154 properly.
1155
1156 2014-05-07 Glenn Morris <rgm@gnu.org>
1157
1158 * autogen.sh: Check for failing aclocal.
1159
1160 2014-05-05 Glenn Morris <rgm@gnu.org>
1161
1162 * autogen.sh: Check any pre-existing ACLOCAL_PATH.
1163
1164 2014-05-04 Paul Eggert <eggert@cs.ucla.edu>
1165
1166 Consult libpng-config more consistently (Bug#17339).
1167 This is mainly for simplicity, but it should also avoid
1168 some future problems like the ones we recently had with NetBSD.
1169 * configure.ac (LIBPNG): Configure after LIBZ. Use libpng-config
1170 for cflags, too. Append -lz if we're not already doing that with
1171 LIBZ. Do not bother appending -lm, since we always append that.
1172 Coalesce some duplicate code.
1173
1174 * autogen.sh: Use ‘"’ to quote a message that often contains ‘'’.
1175
1176 Require ImageMagick >= 6.3.5, due to PixelSetMagickColor (Bug#17339).
1177 * configure.ac (IMAGEMAGICK_MODULE): Bump prereq from 6.2.8 to 6.3.5.
1178 A more-complicated fix would be to remove uses of PixelSetMagickColor,
1179 introduced in ImageMagick 6.3.5 (Sept. 2007).
1180
1181 2014-05-04 Glenn Morris <rgm@gnu.org>
1182
1183 * configure.ac (LIBPNG): Consult libpng-config for the precise
1184 form of "-lpng" to use. (Bug#17339)
1185
1186 2014-05-03 Glenn Morris <rgm@gnu.org>
1187
1188 * autogen.sh: If all else fails, try using pkg-config to find pkg.m4.
1189
1190 2014-05-03 Paul Eggert <eggert@cs.ucla.edu>
1191
1192 Get --enable-gcc-warnings to work after touching configure.ac.
1193 Preserve ACLOCAL_PATH in later builds, so that by default it has
1194 the same value as it did in the first build after initial checkout.
1195 * Makefile.in (ACLOCAL_PATH): New macro.
1196 ($(srcdir)/aclocal.m4): Use it.
1197 * configure.ac (ACLOCAL_PATH): AC_SUBST it.
1198 * autogen.sh (env_space): New var.
1199 Tell user what variables, if any, to pass to 'configure'.
1200
1201 Get --enable-gcc-warnings working again.
1202 The recent changes to configure.ac removed the transliteration of
1203 -I to -isystem in CFLAGS, which is needed for --enable-gcc-warnings.
1204 Bring this back while keeping the spirit of the recent changes.
1205 * configure.ac (edit_cflags): Restore this shell var, and put it
1206 at the top level, where it'll be useful when emacs-24 is next merged.
1207 (EMACS_CHECK_MODULES): New macro. All uses of PKG_CHECK_MODULES
1208 changed to use it.
1209
1210 Make it easier on maintainers who use their own Automake.
1211 * autogen.sh (ACLOCAL_PATH, AUTORECONF_ENV): New vars.
1212 Set them to avoid problems when maintainers prepend their own
1213 Automake installations to their PATH. Report an error if pkg.m4
1214 can't be found.
1215
1216 2014-05-02 Glenn Morris <rgm@gnu.org>
1217
1218 * configure.ac (PKG_CONFIG_PATH): Declare with AC_ARG_VAR.
1219
1220 * configure.ac (--with-pkg-config-prog): Remove.
1221 Use the PKG_CONFIG environment variable instead if you need it.
1222
1223 * configure.ac: Use pkg-config's pkg.m4, rather than reinventing it.
1224 Add explicit AC_SUBST's where needed.
1225 * autogen.sh (progs): Add pkg-config.
1226 (pkg_config_min): New variable.
1227
1228 * configure.ac (AC_CONFIG_MACRO_DIR): Use it.
1229
1230 * autogen.sh (get_version): Handle no leading whitespace.
1231 (check_version, main): Handle program names with hyphens.
1232
1233 2014-04-30 Glenn Morris <rgm@gnu.org>
1234
1235 * configure.ac: Treat MirBSD as OpenBSD. (Bug#17339)
1236
1237 2014-04-21 Daniel Colascione <dancol@dancol.org>
1238
1239 * .bzrignore: Add a.out to bzr ignore list (a test generates this
1240 file).
1241
1242 2014-04-19 Paul Eggert <eggert@cs.ucla.edu>
1243
1244 Link to glib-using libraries when checking for glib (Bug#17289).
1245 * configure.ac (XGSELOBJ): Include GTK_LIBS, RSVG_LIBS, etc.
1246 when testing whether Glib is linked in. Similarly for CFLAGS.
1247
1248 2014-04-17 Paul Eggert <eggert@cs.ucla.edu>
1249
1250 * GNUmakefile: Speed up 'make bootstrap' in fresh checkout.
1251 (ORDINARY_GOALS): New macro, which excludes 'bootstrap'.
1252 (bootstrap, .PHONY): New rules.
1253 * INSTALL.REPO: Document current procedure better.
1254 Move copyright notice to just before license notice.
1255
1256 * Makefile.in (FRC, force-info): Remove.
1257 All uses removed. This hack is no longer needed here
1258 now that we can assume GNU Make's .PHONY feature works.
1259 (bootstrap): No need to make 'info', since 'all' now implies 'info'.
1260
1261 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1262
1263 * config.bat: Update for Emacs 24.4.
1264
1265 2014-04-16 Paul Eggert <eggert@cs.ucla.edu>
1266
1267 Port to IRIX 6.5 (Bug#9684).
1268 This port requires IRIX cc, as I did not have time to get
1269 undump working with the old GCC on the system I had access to,
1270 but that's better than nothing.
1271 * configure.ac (gl_GCC_VERSION_IFELSE): Remove unused macro
1272 that wouldn't have worked anyway, with IRIX cc.
1273 (emacs_cv_clang, emacs_cv_sanitize_address)
1274 (ns_osx_have_104, ns_osx_have_105):
1275 Don't assume '#error' makes the compiler fail,
1276 as this doesn't work with IRIX cc.
1277 (CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure'
1278 checks. This runs afoul of an IRIX configuration where GnuTLS is
1279 in an optional library that also contains getdelim, and causes
1280 a later 'configure' to incorrectly think getdelim is supported.
1281
1282 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1283
1284 * configure.ac (LN_S_FILEONLY, LN_S): Use "/bin/ln" on MinGW, to
1285 ensure the MSYS ln.exe is invoked.
1286
1287 2014-04-15 Paul Eggert <eggert@cs.ucla.edu>
1288
1289 Remove DATA_SEG_BITS.
1290 * configure.ac (DATA_SEG_BITS): Remove. All uses removed.
1291
1292 2014-04-14 Paul Eggert <eggert@cs.ucla.edu>
1293
1294 * autogen.sh: Use autoreconf's -f option (Bug#17258).
1295
1296 Clean up configure-time library handling a bit.
1297 This patch was inspired by emacs-24 bzr 116961, which fixed
1298 a bug due to sloppy library handling in 'configure'.
1299 * configure.ac (LIB_MATH, LIB_PTHREAD, LIBXMU):
1300 Use AC_SEARCH_LIBS instead of AC_CHECK_LIB as per Autoconf manual.
1301 (LIB_MATH, LIB_PTHREAD, HAVE_X11, IMAGEMAGICK_LIBS, GTK_LIBS)
1302 (DBUS_LIBS, LIBXMU, XFT_LIBS, LIBXSM, LIBXML2_LIBS, LIBS_MAIL)
1303 (with_kerberos):
1304 Don't let the library choice infect $LIBS.
1305 (dnet_ntoa, cma_open): Remove obsolete tests.
1306 (emacs_pthread_function): Probe for pthread_kill, not pthread_self,
1307 as that's a bit more selective on GNU/Linux.
1308 (LIBXEXT): Remove.
1309 (touchlock): Test for existence when $LIBS_MAIL is in use.
1310 (AC_CHECK_FUNCS): Use only $LIB_MATH in addition to $LIBS
1311 when testing for typical functions like accept4, lrand48.
1312 (random, rint): Remove obsolete HP-UX 9 A.09.05 test.
1313
1314 2014-04-11 Glenn Morris <rgm@gnu.org>
1315
1316 * make-dist: Do not distribute generated admin/grammars/Makefile.
1317 Do distribute lib-src/update-game-score.exe.manifest.
1318
1319 2014-04-11 Ken Brown <kbrown@cornell.edu>
1320
1321 * configure.ac (EMACS_MANIFEST): Revert last change (but leave
1322 UPDATE_MANIFEST empty).
1323
1324 2014-04-07 Ken Brown <kbrown@cornell.edu>
1325
1326 * configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these
1327 variables empty on Cygwin. (Bug#17176)
1328
1329 2014-04-03 Glenn Morris <rgm@gnu.org>
1330
1331 * make-dist: Further update AC_INIT regexp.
1332
1333 2014-04-02 Glenn Morris <rgm@gnu.org>
1334
1335 * configure.ac: Make the final "Does Emacs use Gsettings" message
1336 consistent with src/config.h.
1337
1338 2014-03-31 Jan Djärv <jan.h.d@swipnet.se>
1339
1340 * configure.ac: Fix errors from previous checkin (GSettings check).
1341
1342 2014-03-29 Jan Djärv <jan.h.d@swipnet.se>
1343
1344 * configure.ac: Add check that GSettings is in libgio (Bug#17118).
1345
1346 2014-03-28 Glenn Morris <rgm@gnu.org>
1347
1348 * configure.ac (AC_INIT): Add "GNU" in package, add bug address.
1349 (PACKAGE_BUGREPORT): Use it.
1350 (make-dist): Update AC_INIT regexp.
1351
1352 * configure.ac (ACL_SUMMARY): Rename from acl_summary, for consistency.
1353 (EMACS_CONFIG_FEATURES): New define.
1354
1355 2014-03-27 Paul Eggert <eggert@cs.ucla.edu>
1356
1357 * configure.ac: Suggest './configure MAKE=gmake' in diagnostic.
1358 This tends to work better than 'MAKE=gmake ./configure' if later
1359 builds run config.status etc.
1360
1361 2014-03-27 Glenn Morris <rgm@gnu.org>
1362
1363 * configure.ac: Require GNU make.
1364 (HAVE_GNU_MAKE): Remove.
1365
1366 2014-03-26 Paul Eggert <eggert@cs.ucla.edu>
1367
1368 Merge from gnulib, incorporating:
1369 2014-03-26 strftime: wrap macros in "do {...} while(0)"
1370 * lib/strftime.c: Update from gnulib.
1371
1372 2014-03-26 Glenn Morris <rgm@gnu.org>
1373
1374 * configure.ac (CLASH_DETECTION): Remove option. Every platform
1375 supports it, and the runtime option `create-lockfiles' replaces it.
1376
1377 2014-03-23 Daniel Colascione <dancol@dancol.org>
1378
1379 * configure.ac: (Bug#17069) Include GFILENOTIFY objects in glib check.
1380
1381 2014-03-22 Glenn Morris <rgm@gnu.org>
1382
1383 * make-dist: Do not distribute lib-src/testfile.
1384
1385 2014-03-21 Eli Zaretskii <eliz@gnu.org>
1386
1387 * configure.ac: Bump version to 24.4.50.
1388
1389 2014-03-21 Glenn Morris <rgm@gnu.org>
1390
1391 * Makefile.in (all): Depend on `info'. (Bug#16626)
1392
1393 2014-03-07 Paul Eggert <eggert@cs.ucla.edu>
1394
1395 Merge from gnulib, incorporating:
1396 2014-03-04 stdint: fix missing SIZE_MAX on Android
1397 2013-03-02 sys_types: avoid autoconf warning about gl_SYS_TYPES_H
1398 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1399 * lib/stdint.in.h, lib/sys_types.in.h, m4/sys_types_h.m4:
1400 Update from gnulib.
1401
1402 2014-03-05 Glenn Morris <rgm@gnu.org>
1403
1404 * configure.ac: Tweak the "unported" error message.
1405
1406 2014-03-05 Paul Eggert <eggert@cs.ucla.edu>
1407
1408 Fix configuration bug on Solaris 2.5.1 (Bug#16905).
1409 * configure.ac: Fix a bug in shell pattern matching that caused
1410 'configure' to treat Solaris 2.5.1 as if it were Solaris 10 or later.
1411
1412 2014-02-25 Paul Eggert <eggert@penguin.cs.ucla.edu>
1413
1414 Merge from gnulib (Bug#16825).
1415 2014-02-25 unistd: port readlink to Mac OS X 10.3.9
1416
1417 2014-02-24 Paul Eggert <eggert@cs.ucla.edu>
1418
1419 Merge from gnulib, incorporating:
1420 2014-02-21 timer: fix uClibc detection of threading
1421 2014-02-21 maintainer-makefiles: provide AC_PROG_SED for older autoconf
1422
1423 2014-02-18 Mirek Kaim <mirek.kaim@outlook.com> (tiny change)
1424
1425 * configure.ac [HAVE_W32]: Test for ImageMagick. (Bug#16754)
1426
1427 2014-02-14 Paul Eggert <eggert@cs.ucla.edu>
1428
1429 * Makefile.in (install-arch-indep): Allow ' ' in destdir (Bug#16717).
1430 This fixes a bug in the previous change. Also, use $(SHELL)
1431 rather than sh, as that's more likely to be portable.
1432
1433 2014-02-13 Paul Eggert <eggert@cs.ucla.edu>
1434
1435 * Makefile.in (install-arch-indep): Simplify (Bug#16717).
1436 This should make it more reliable, and hopefully more portable to
1437 non-GNU 'make' implementations such as HP-UX 'make'.
1438
1439 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1440
1441 * Makefile.in (install-nt): Also pass datadir.
1442
1443 2014-02-05 Paul Eggert <eggert@cs.ucla.edu>
1444
1445 Merge from gnulib, incorporating:
1446 2014-01-23 pthread: work around winpthread header pollution on mingw
1447 * lib/time.in.h: Update from gnulib.
1448
1449 2014-01-23 Paul Eggert <eggert@cs.ucla.edu>
1450
1451 Merge from gnulib, incorporating:
1452 2014-01-22 qacl: check for fchmod
1453 * m4/acl.m4: Update from gnulib.
1454
1455 2014-01-22 Paul Eggert <eggert@cs.ucla.edu>
1456
1457 Fix miscellaneous update-game-score bugs.
1458 * configure.ac (difftime): Remove.
1459
1460 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1461
1462 Merge from gnulib, incorporating:
1463 2014-01-20 stdalign: port to HP-UX compilers
1464 2014-01-16 strtoimax: port to platforms lacking 'long long'
1465 2014-01-16 update from texinfo
1466 * lib/stdalign.in.h, lib/strtoimax.c: Update from gnulib.
1467
1468 2014-01-12 Glenn Morris <rgm@gnu.org>
1469
1470 * README: Replace reference to etc/MAILINGLISTS.
1471
1472 2014-01-11 Fabrice Popineau <fabrice.popineau@gmail.com>
1473
1474 * configure.ac: Read $srcdir/nt/mingw-cfg.site when $MSYSTEM is
1475 "MINGW64" as well.
1476
1477 2014-01-11 Paul Eggert <eggert@cs.ucla.edu>
1478
1479 Merge from gnulib, incorporating:
1480 2014-01-07 update from texinfo
1481 2014-01-06 md5, sha1, sha256, sha512: support older autoconf
1482
1483 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1484
1485 * INSTALL, configure.ac, etc/CONTRIBUTE, nt/INSTALL: Remove
1486 unnecessarily specific references to Bazaar that could better
1487 simply be to the repository.
1488
1489 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1490
1491 * INSTALL.BZR: Rename to INSTALL.REPO. Remove refs to specific VCS.
1492 * INSTALL, autogen.sh: Update for above change.
1493
1494 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1495
1496 Port to GNU/Linux with recent grsecurity/PaX patches (Bug#16343).
1497 Problem and proposed patch reported by Ulrich Mueller;
1498 this patch uses a somewhat-different approach.
1499 * configure.ac (SETFATTR): New variable.
1500
1501 2014-01-03 Paul Eggert <eggert@cs.ucla.edu>
1502
1503 Merge from gnulib, incorporating:
1504 2014-01-02 manywarnings: remove -Wmudflap
1505 This ports better to GCC 4.9-to-be.
1506
1507 2013-12-31 Fabrice Popineau <fabrice.popineau@supelec.fr>
1508
1509 * configure.ac (canonical, C_SWITCH_SYSTEM): Support a 64-bit
1510 MinGW64 build on MS-Windows.
1511
1512 2013-12-29 Jan Djärv <jan.h.d@swipnet.se>
1513
1514 * configure.ac (xcsdkdir): Only set if using xcrun.
1515
1516 2013-12-29 Paul Eggert <eggert@cs.ucla.edu>
1517
1518 * configure.ac (LIBXML2_CFLAGS): Fix xcrun-related quoting problem.
1519 Reported by YAMAMOTO Mitsuharu in:
1520 http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00995.html
1521
1522 2013-12-28 Jan Djärv <jan.h.d@swipnet.se>
1523
1524 * configure.ac: Fix CC detection for xcrun case.
1525
1526 2013-12-28 Paul Eggert <eggert@cs.ucla.edu>
1527
1528 Fix problem with MAKE and xcrun configuration.
1529 * configure.ac: Don't set MAKE unless 'make' doesn't work.
1530 Set it only in the environment, not in the makefile.
1531 Reported by Glenn Morris in:
1532 http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00969.html
1533
1534 2013-12-27 Paul Eggert <eggert@cs.ucla.edu>
1535
1536 Port xcrun configuration to GNU/Linux.
1537 * configure.ac (xcsdkdir): Default to empty.
1538 (XCRUN): Don't require Darwin for xcrun. Move xcrun checking to
1539 just before AM_INIT_AUTOMAKE, to make the dependency between it
1540 and automake clearer.
1541 (CC): Don't use AC_PROG_CC twice; only the first use expands to the
1542 shell code that is wanted, which breaks 'configure' on non-Darwin
1543 platforms. Instead, fix CC by hand if it's not found.
1544
1545 2013-12-27 Jan Djärv <jan.h.d@swipnet.se>
1546
1547 * configure.ac: Detect xcrun on OSX and use it for make, gcc and
1548 libxml.
1549
1550 2013-12-26 Paul Eggert <eggert@cs.ucla.edu>
1551
1552 Fix core dumps with gcc -fsanitize=address and GNU/Linux.
1553 * configure.ac: Check whether addresses are sanitized.
1554 (CANNOT_DUMP): Warn if addresses are sanitized and not CANNOT_DUMP.
1555 (DOUG_LEA_MALLOC): Do not define if addresses are sanitized.
1556 (SYSTEM_MALLOC): Define if addresses are sanitized.
1557
1558 2013-12-24 Paul Eggert <eggert@cs.ucla.edu>
1559
1560 Automate the procedure for updating copyright year.
1561 * build-aux/update-copyright: New file.
1562 * make-dist: Distribute it.
1563 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1564
1565 2013-12-23 Andreas Schwab <schwab@linux-m68k.org>
1566
1567 * configure.ac: Replace obsolete macro AC_CONFIG_HEADER by
1568 AC_CONFIG_HEADERS.
1569
1570 2013-12-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1571
1572 * .gitignore: Ignore refcard temporaries and info/*.info files.
1573
1574 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1575
1576 Merge from gnulib, incorporating:
1577 2013-12-17 gettimeofday: port recent C++ fix to Emacs
1578 2013-12-17 gettimeofday: fix C++ crosscompilation
1579 2013-12-17 qacl: port to Windows better
1580 * lib/file-has-acl.c, lib/time.in.h, m4/gettimeofday.m4, m4/time_h.m4:
1581 Update from gnulib.
1582 * lib/gnulib.mk: Regenerate.
1583
1584 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1585
1586 * INSTALL: Clarify treatment of image libraries.
1587
1588 2013-12-14 Paul Eggert <eggert@cs.ucla.edu>
1589
1590 Use bool for boolean, focusing on headers.
1591 * configure.ac (PTY_OPEN, GC_MARK_SECONDARY_STACK):
1592 Use bool for boolean.
1593
1594 2013-12-14 Dani Moncayo <dmoncayo@gmail.com>
1595
1596 * configure.ac (srcdir) [MINGW32]: If it is an absolute path,
1597 force the format "/c/foo/bar" to simplify conversions to native
1598 windows format.
1599
1600 2013-12-13 Glenn Morris <rgm@gnu.org>
1601
1602 * INSTALL: No longer mention load-path and site-init/site-load.
1603
1604 2013-12-12 Glenn Morris <rgm@gnu.org>
1605
1606 * Makefile.in (install-info): Handle missing info/dir.
1607 (info_dir_deps): New variable.
1608 (${srcdir}/info/dir): Depend on .texi files rather than .info files.
1609 (check-info): Update topics.
1610 * build-aux/make-info-dir: Use .texi files rather than .info files.
1611 Update topics.
1612
1613 * Makefile.in (install-info): Remove some useless subshells.
1614
1615 Stop keeping info/dir in the repository.
1616 * build-aux/dir_top: Move here from admin/.
1617 * build-aux/make-info-dir: New script.
1618 * Makefile.in (bootstrap-clean): Delete info/.
1619 (info-dir, ${srcdir}/info/dir): New rules.
1620 (info): Also make info-dir.
1621 (check-info): Rename from check-info-dir.
1622 Instead of info/dir entries, check @dircategory in info/*.info.
1623 * make-dist: Use `info' rule rather than `info-real'.
1624 No more info/COPYING (not even the right license for info/ files).
1625 Distribute new build-aux files.
1626
1627 * info/: Remove from repository.
1628
1629 2013-12-11 Glenn Morris <rgm@gnu.org>
1630
1631 * info/dir: Add octave-mode.
1632
1633 2013-12-11 Paul Eggert <eggert@cs.ucla.edu>
1634
1635 Remove the option of using libcrypto.
1636 This scorches the earth and waits for spring;
1637 see Ted Zlatanov and Stefan Monnier in
1638 <http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00323.html>.
1639 * configure.ac (with_openssl_default, HAVE_LIB_CRYPTO): Remove.
1640 Do not say whether Emacs is configured to use a crypto library,
1641 since it's no longer an option.
1642 (gl_CRYPTO_CHECK): Define a dummy.
1643 * lib/gl_openssl.h, m4/gl-openssl.m4: Remove.
1644
1645 2013-12-10 Paul Eggert <eggert@cs.ucla.edu>
1646
1647 * configure.ac: Disable libcrypto by default.
1648
1649 Merge from gnulib, incorporating:
1650 2013-12-07 md5, sha1, sha256, sha512: fix link error with partial lib
1651 * m4/gl-openssl.m4: Update from gnulib.
1652
1653 2013-12-08 Eli Zaretskii <eliz@gnu.org>
1654
1655 * configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg
1656 statically.
1657
1658 2013-12-08 Paul Eggert <eggert@cs.ucla.edu>
1659
1660 * configure.ac: Simplify supression of GTK deprecation warning.
1661 Move -DGDK_DISABLE_DEPRECATION_WARNINGS out of the command line
1662 and into config.h, to shorten the command line when doing 'make'.
1663 Don't AC_SUBST GTK_CFLAGS, as this is not needed.
1664
1665 Use libcrypto's checksum implementations if available, for speed.
1666 On commonly used platform libcrypto uses architecture-specific
1667 assembly code, which is significantly faster than the C code we
1668 were using. See Pádraig Brady's note in
1669 <http://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00000.html>.
1670 Merge from gnulib, incorporating:
1671 2013-12-07 md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT
1672 2013-12-07 md5, sha1, sha256, sha512: add 'auto', and set-default method
1673 2013-12-04 include_next: minimize code duplication
1674 2013-12-03 md5, sha1, sha256, sha512: support mandating use of openssl
1675 2013-12-02 md5, sha1, sha256, sha512: use openssl routines if available
1676 * configure.ac (--without-all): Set with_openssl_default too.
1677 Use gl_SET_CRYPTO_CHECK_DEFAULT to default to 'auto'.
1678 (HAVE_LIB_CRYPTO): New var.
1679 Say whether Emacs is configured to use a crypto library.
1680 * lib/gl_openssl.h, m4/absolute-header.m4, m4/gl-openssl.m4:
1681 New files, copied from gnulib.
1682 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1683 * lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h:
1684 * lib/sha256.c, lib/sha256.h, lib/sha512.c, lib/sha512.h:
1685 * m4/include_next.m4, m4/md5.m4, m4/sha1.m4, m4/sha256.m4, m4/sha512.m4:
1686 Update from gnulib.
1687
1688 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1689
1690 * .dir-locals.el (log-edit-move): Add the "Author: " header.
1691
1692 2013-11-30 Dani Moncayo <dmoncayo@gmail.com>
1693
1694 * build-aux/msys-to-w32 (w32pathlist): Do not translate paths
1695 starting with %emacs_dir%.
1696
1697 2013-11-30 Glenn Morris <rgm@gnu.org>
1698
1699 Stop keeping (most) generated cedet grammar files in the repository.
1700 * configure.ac (SUBDIR_MAKEFILES, AC_CONFIG_FILES):
1701 Add admin/grammars Makefile.
1702 * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
1703 Also clean admin/grammars, if present.
1704
1705 2013-11-29 Dani Moncayo <dmoncayo@gmail.com>
1706
1707 * Makefile.in (epaths-force-w32): Fix 2013-11-20 typo.
1708
1709 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * configure.ac (HAVE_MENUS): Remove.
1712
1713 2013-11-28 Glenn Morris <rgm@gnu.org>
1714
1715 * configure.ac (PATH_SEP): Replace with pre-existing SEPCHAR.
1716
1717 2013-11-28 Eli Zaretskii <eliz@gnu.org>
1718
1719 * GNUmakefile (Makefile): Don't use $(CFG).
1720 (CFG): Don't compute.
1721
1722 * configure.ac (PATH_SEP): Set and AC_SUBST.
1723
1724 2013-11-27 Paul Eggert <eggert@cs.ucla.edu>
1725
1726 Merge from gnulib, incorporating:
1727 2013-11-13 getgroups: work around _DARWIN_C_SOURCE problem
1728 * lib/getgroups.c: Update from gnulib.
1729
1730 2013-11-27 Glenn Morris <rgm@gnu.org>
1731
1732 Move ja-dic, quail, leim-list.el from leim to lisp/leim.
1733 * Makefile.in (abs_builddir, leimdir): Remove.
1734 (buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory.
1735 (epaths-force-w32): No longer set BLD.
1736 (leim): Remove.
1737 (install-arch-indep): No longer run or install leim.
1738 (mostlyclean, clean): No longer run leim rule.
1739 (bootstrap-clean): Change leim target.
1740 (maintainer-clean): Add leim.
1741 (check-declare): Remove leim.
1742 * README: Update for leim changes.
1743 * configure.ac (leimdir): Remove.
1744 (standardlisppath): No more leimdir.
1745
1746 * make-dist: Update for files from leim/ now being in lisp/leim/.
1747
1748 2013-11-26 Glenn Morris <rgm@gnu.org>
1749
1750 Preload leim-list.el.
1751 * Makefile.in (abs_builddir): New, set by configure.
1752 (buildlisppath): Add leim/.
1753 (epaths-force-w32): Set BLD.
1754
1755 2013-11-21 Paul Eggert <eggert@cs.ucla.edu>
1756
1757 Fix some dependency problems that cause unnecessary recompiles.
1758 * configure.ac (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS):
1759 Remove.
1760 (LIBXMENU): Now is always either empty or a file name,
1761 so that it can be used as a dependency.
1762
1763 2013-11-20 Glenn Morris <rgm@gnu.org>
1764
1765 * make-dist: Distribute build-aux/msys-to-w32.
1766
1767 2013-11-20 Dani Moncayo <dmoncayo@gmail.com>
1768
1769 * build-aux/msys-to-w32: New file.
1770 * Makefile.in (msys_to_w32, msys_lisppath_to_w32): Remove.
1771 (msys_w32prefix_subst): Rename from msys_prefix_subst.
1772 Operate on w32prefixpattern.
1773 (epaths-force-w32): Use build-aux/msys-to-w32.
1774
1775 2013-11-17 Paul Eggert <eggert@cs.ucla.edu>
1776
1777 * configure.ac (DEBUGGER_SEES_C_MACROS): Remove.
1778 It apparently doesn't work for GCC 3, and I suppose it's more
1779 trouble than it's worth to worry about this.
1780
1781 2013-11-15 Paul Eggert <eggert@cs.ucla.edu>
1782
1783 * configure.ac (DEBUGGER_SEES_C_MACROS): New macro.
1784
1785 2013-11-14 Paul Eggert <eggert@cs.ucla.edu>
1786
1787 Simplify, port and tune bool vector implementation.
1788 * configure.ac (BITSIZEOF_SIZE_T, SIZEOF_SIZE_T): Remove.
1789
1790 2013-11-13 Paul Eggert <eggert@cs.ucla.edu>
1791
1792 * Makefile.in (ACLOCAL_INPUTS): Add configure.ac.
1793
1794 2013-11-12 Dani Moncayo <dmoncayo@gmail.com>
1795
1796 * configure.ac [MINGW32]: Source nt/mingw-cfg.site.
1797 * make-dist: Don't distribute nt/msysconfig.sh.
1798
1799 * Makefile.in (epaths-force-w32): Simplify w32srcdir computation.
1800
1801 2013-11-08 Paul Eggert <eggert@cs.ucla.edu>
1802
1803 Merge from gnulib, incorporating:
1804 2013-11-08 extern-inline: port better to OS X 10.9
1805 2013-11-08 fpending: fix regression on DragonFly BSD
1806 * lib/fpending.h, m4/extern-inline.m4, m4/fpending.m4:
1807 Update from gnulib.
1808
1809 2013-11-07 Paul Eggert <eggert@cs.ucla.edu>
1810
1811 Port to C11 aligned_alloc.
1812 * configure.ac (GMALLOC_OBJ): Initialize to empty if !system_malloc
1813 and doug_lea_malloc.
1814 (aligned_alloc): Test for existence if !GMALLOC_OBJ and not darwin.
1815 (posix_memalign): Test for existence only if !GMALLOC_OBJ and
1816 not darwin and !aligned_alloc.
1817
1818 2013-11-05 Glenn Morris <rgm@gnu.org>
1819
1820 * configure.ac (abs_srcdir) [MINGW32]: No point setting it here,
1821 config.status computes it.
1822 * Makefile.in (epaths-force-w32): Move srcdir tweak here.
1823
1824 * autogen/: Remove directory. Move update_autogen to admin/.
1825 * autogen.sh: Remove reference to copy_autogen.
1826 * GNUmakefile (configure):
1827 * Makefile.in (bootstrap): Do not try to run copy_autogen.
1828 * config.bat: Use msdos/autogen rather than autogen.
1829
1830 2013-11-05 Paul Eggert <eggert@cs.ucla.edu>
1831
1832 Simplify and port recent bool vector changes.
1833 * configure.ac (BITSIZEOF_SIZE_T, SIZEOF_SIZE_T):
1834 New symbols to configure.
1835
1836 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1837
1838 * configure.ac: Don't disallow builds in non-ASCII directories.
1839 (Bug#15260)
1840
1841 2013-11-04 Paul Eggert <eggert@cs.ucla.edu>
1842
1843 Port to stricter C99 platforms.
1844 Merge from gnulib, incorporating:
1845 2013-11-03 intprops: port to Oracle Studio c99
1846 * lib/intprops.h: Update from gnulib.
1847
1848 2013-11-02 Glenn Morris <rgm@gnu.org>
1849
1850 * Makefile.in (check): Depend on all.
1851
1852 2013-10-31 Glenn Morris <rgm@gnu.org>
1853
1854 * configure.ac: Use [!...] rather than [^...], for ksh. (Bug#15769)
1855
1856 2013-10-30 Glenn Morris <rgm@gnu.org>
1857
1858 * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
1859 Also clean admin/unidata, if present.
1860
1861 2013-10-27 Glenn Morris <rgm@gnu.org>
1862
1863 * configure.ac: It seems installing in non-ASCII is not, in fact, ok.
1864
1865 2013-10-25 Glenn Morris <rgm@gnu.org>
1866
1867 * configure.ac: It seems _installing_ in non-ASCII is ok, not building.
1868
1869 2013-10-24 Glenn Morris <rgm@gnu.org>
1870
1871 * configure.ac:
1872 * Makefile.in (install-arch-indep, install-etcdoc, install-info):
1873 Avoid non-portable "`\" nesting.
1874
1875 * configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir.
1876
1877 * Makefile.in (abs_top_srcdir): New, set by configure.
1878
1879 2013-10-23 Glenn Morris <rgm@gnu.org>
1880
1881 * configure.ac: Explicit error for non-ASCII directories. (Bug#15260)
1882
1883 Progress towards allowing installation in directories with whitespace.
1884 * Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
1885 (install-arch-indep, install-etcdoc, install-info, install-man)
1886 (install-etc, uninstall, install-nt, uninstall-nt):
1887 Quote entities that might contain whitespace.
1888 * build-aux/update-subdirs: Handle whitespace in argument.
1889 Check cd return value.
1890
1891 Make building in directories with whitespace possible. (Bug#15675)
1892 * configure.ac (srcdir): Don't make it absolute - abs_srcdir exists.
1893 (src/.gdbinit): Use ac_abs_top_srcdir.
1894 * Makefile.in (abs_srcdir): New, set by configure.
1895 (buildlisppath, epaths-force-w32): Use abs_srcdir.
1896 (install-arch-indep, install-etcdoc, install-info, install-man)
1897 (install-etc): Quote entities that might contain whitespace.
1898
1899 2013-10-23 Paul Eggert <eggert@cs.ucla.edu>
1900
1901 Merge from gnulib, incorporating:
1902 2013-10-14 acl: allow cross-compilation to Gentoo
1903 2013-10-18 extern-inline: make safe for -Wundef usage
1904 2013-09-30 fpending: use pure+const function attrs
1905 * lib/fpending.h, m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
1906
1907 2013-10-13 Glenn Morris <rgm@gnu.org>
1908
1909 * configure.ac [alpha]: Explicit error in non-ELF case. (Bug#15601)
1910
1911 2013-10-12 Paul Eggert <eggert@cs.ucla.edu>
1912
1913 Merge from gnulib, incorporating:
1914 2013-10-10 strtoumax: port to Solaris 8
1915 2013-10-09 strtoimax, strtoumax: port to HP-UX 11.11
1916 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1917 * lib/inttypes.in.h, lib/strtoimax.c, m4/inttypes.m4, m4/strtoimax.m4:
1918 * m4/strtoumax.m4:
1919 Update from gnulib.
1920
1921 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * configure.ac (LIBGNUTLS): Don't set LIBGNUTLS_* back to the empty
1924 string when gnutls2 is installed but gnutls3 is not.
1925
1926 2013-10-11 Teodor Zlatanov <tzz@lifelogs.com>
1927
1928 * configure.ac: Define HAVE_GNUTLS3 if GnuTLS v3 is found.
1929
1930 2013-10-10 Barry Fishman <barry_fishman@acm.org> (tiny change)
1931
1932 * configure.ac: Update for giflib 5. (Bug#15531)
1933
1934 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1935
1936 * configure.ac (HAVE_MENUS): Define unconditionally.
1937
1938 2013-10-07 Paul Eggert <eggert@cs.ucla.edu>
1939
1940 Improve support for popcount and counting trailing zeros (Bug#15550).
1941 Do this by using the Gnulib modules for this.
1942 This should generate faster code on non-GCC, non-MSC platforms,
1943 and make the code a bit more portable, at least in theory.
1944 * lib/count-one-bits.c, lib/count-one-bits.h:
1945 * lib/count-trailing-zeros.c, lib/count-trailing-zeros.h:
1946 * m4/count-one-bits.m4, m4/count-trailing-zeros.m4:
1947 New files, copied from gnulib.
1948 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1949
1950 2013-10-04 Paul Eggert <eggert@cs.ucla.edu>
1951
1952 Use hardware support for byteswapping on glibc x86 etc.
1953 * lib/byteswap.in.h, m4/byteswap.m4: New files, copied from Gnulib.
1954 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1955
1956 2013-10-03 Paul Eggert <eggert@cs.ucla.edu>
1957
1958 Merge from gnulib, incorporating:
1959 2013-10-02 verify: new macro 'assume'
1960 2013-09-26 dup2, dup3: work around another cygwin crasher
1961 2013-09-26 getdtablesize: work around cygwin issue
1962
1963 2013-09-25 Paul Eggert <eggert@cs.ucla.edu>
1964
1965 Merge from gnulib, incorporating:
1966 2013-09-24 manywarnings: enable nicer gcc warning messages
1967 2013-09-23 warnings: port --enable-gcc-warnings to Solaris Studio 12.3
1968 2013-09-21 timespec: use the new TIMESPEC_RESOLUTION elsewhere
1969 * configure.ac (WERROR_CFLAGS): Omit -fdiagnostics-show-option
1970 and -funit-at-a-time, since manywarnings does that for us now.
1971
1972 2013-09-23 Jan Djärv <jan.h.d@swipnet.se>
1973
1974 * configure.ac: With clang, check for and use -Wno-switch,
1975 -Wno-tautological-constant-out-of-range-compare and -Wno-pointer-sign.
1976
1977 2013-09-23 Daniel Colascione <dancol@dancol.org>
1978
1979 * configure.ac: Check for valgrind headers.
1980
1981 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1982
1983 * INSTALL: New homepage of libtiff.
1984
1985 2013-09-20 Paul Eggert <eggert@cs.ucla.edu>
1986
1987 Work around performance bug on OS X 10.8 and earlier.
1988 Perhaps Apple will fix this bug some day.
1989 See the thread starting with Daniel Colascione's email in:
1990 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00343.html
1991 * configure.ac (FORTIFY_SOUR): New verbatim section.
1992
1993 2013-09-19 Paul Eggert <eggert@cs.ucla.edu>
1994
1995 Merge from gnulib, incorporating:
1996 2013-09-19 stdio: OS X port of putc_unlocked + extern inline
1997 2013-09-19 signal: OS X port of sigaddset etc. + extern inline
1998 2013-09-19 extern-inline: do not always suppress extern inline on OS X
1999 2013-09-17 getgroups: statement without effect
2000 2013-08-28 headers: check that _GL_INLINE_HEADER_BEGIN is defined
2001
2002 2013-09-19 Eli Zaretskii <eliz@gnu.org>
2003
2004 * configure.ac <srcdir> [MINGW32]: Make sure the value of 'srcdir'
2005 is in the full /d/foo/bar form. See the discussion in
2006 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00210.html,
2007 and in particular
2008 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00252.html
2009 and its followups, for the details.
2010
2011 2013-09-17 Dmitry Antipov <dmantipov@yandex.ru>
2012
2013 * configure.ac: Do not check for g_type_init because we
2014 require glib >= 2.28 for GTK3, glib >= 2.10 for GTK2,
2015 glib >= 2.26 for GSettings and glib >= 2.7.0 for GConf, so
2016 suitable glib should provide g_type_init unconditionally.
2017
2018 2013-09-15 Jan Djärv <jan.h.d@swipnet.se>
2019
2020 * configure.ac: Add check for OSX 10.5, required for macfont.o.
2021
2022 2013-09-09 Glenn Morris <rgm@gnu.org>
2023
2024 * configure.ac (LDFLAGS_NOCOMBRELOC): New variable.
2025 (LDFLAGS): Move nocombreloc option from here...
2026 (LD_SWITCH_SYSTEM_TEMACS): ... to here.
2027
2028 2013-09-08 Glenn Morris <rgm@gnu.org>
2029
2030 * configure.ac (--without-compress-install):
2031 Rename from --without-compress-info. (Bug#9789)
2032 (GZIP_INFO): Remove.
2033 (GZIP_PROG): Allow --without-compress-install to disable it.
2034 * Makefile.in (GZIP_INFO): Remove all references.
2035
2036 * info/dir: Tweak emacs-gnutls entry.
2037
2038 2013-09-07 Paul Eggert <eggert@cs.ucla.edu>
2039
2040 Port --without-x --enable-gcc-warnings to Fedora 19.
2041 * configure.ac (WERROR_CFLAGS): Omit redundant use of
2042 -Wmissing-field-initializers, -Wswitch, -Wtype-limits,
2043 -Wunused-parameter. If there is no window system, also omit
2044 -Wsuggest-attribute=const and -Wsuggest-attribute=noreturn; this
2045 is needed for Fedora 19.
2046
2047 2013-09-05 Dmitry Antipov <dmantipov@yandex.ru>
2048
2049 Make --without-x compatible with --enable-gcc-warnings.
2050 * configure.ac: If both --without-x and --enable-gcc-warnings are
2051 specified, use -Wno-unused-variable, -Wno-unused-but-set-variable
2052 and -Wno-unused-but-set-parameter.
2053
2054 2013-09-04 Paul Eggert <eggert@cs.ucla.edu>
2055
2056 Makefile improvements.
2057 * Makefile.in (lib): Depend on am--refresh, to avoid a race.
2058 (src): Remove duplicate dependency on FRC.
2059 Invoke just one submake, not two. Avoid the need for 'pwd'.
2060
2061 2013-09-02 Jan Djärv <jan.h.d@swipnet.se>
2062
2063 * configure.ac: Add ns_check_file.
2064
2065 2013-08-31 Glenn Morris <rgm@gnu.org>
2066
2067 * configure.ac (--with-sound): Rename ossaudio to bsd-ossaudio,
2068 and voxware to oss.
2069
2070 2013-08-31 Ulrich Müller <ulm@gentoo.org>
2071
2072 * configure.ac: Allow for --with-sound=voxware that will enable
2073 sound but otherwise disable ALSA. This will use the OSS device,
2074 typically /dev/dsp, for sound output. (Bug#15067)
2075
2076 2013-08-31 Glenn Morris <rgm@gnu.org>
2077
2078 * make-dist: Update for nt/INSTALL* changes.
2079
2080 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2081
2082 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2083 for portability to hosts where /bin/sh has problems.
2084
2085 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * configure.ac (DOCMISC_W32): New var to replace DOCMISC_*_W32.
2088
2089 2013-08-27 Paul Eggert <eggert@cs.ucla.edu>
2090
2091 Simplify EMACS_TIME-related code.
2092 Merge from gnulib, incorporating:
2093 2013-08-27 timespec: new convenience constants and function
2094
2095 2013-08-27 Dmitry Antipov <dmantipov@yandex.ru>
2096
2097 * configure.ac (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32)
2098 (DOCMISC_PDF_W32, DOCMISC_PS_W32): No spaces!
2099
2100 2013-08-27 Glenn Morris <rgm@gnu.org>
2101
2102 * configure.ac (emacs_broken_SIGIO): No longer set on gnu-kfreebsd.
2103
2104 * configure.ac (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32)
2105 (DOCMISC_PDF_W32, DOCMISC_PS_W32): New output variables.
2106 * Makefile.in (check-info-dir): Ignore efaq-w32.
2107
2108 * Makefile.in (mostlyclean, clean, distclean, bootstrap-clean)
2109 (maintainer-clean, check-declare): Remove pointless subshells.
2110 Check cd return value.
2111
2112 2013-08-26 Paul Eggert <eggert@cs.ucla.edu>
2113
2114 Minor merge from gnulib (mostly just for texinfo.tex).
2115
2116 2013-08-22 Paul Eggert <eggert@cs.ucla.edu>
2117
2118 * configure.ac (EMACS_CONFIG_OPTIONS): Quote systematically (Bug#13274).
2119 This improves on the patch already installed, by quoting options
2120 that contain spaces and suchlike systematically, so that
2121 EMACS_CONFIG_OPTIONS is no longer ambiguous when options contain
2122 these characters.
2123
2124 2013-08-21 Paul Eggert <eggert@cs.ucla.edu>
2125
2126 Port close-on-exec pty creation to FreeBSD 9.1-RELEASE (Bug#15129).
2127 * configure.ac (PTY_OPEN): If posix_openpt with O_CLOEXEC fails
2128 and reports EINVAL, try it again without O_CLOEXEC. This should
2129 port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC.
2130 What were they thinking?
2131
2132 2013-08-20 Paul Eggert <eggert@cs.ucla.edu>
2133
2134 * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
2135 Fix shell-operator precedence problem in previous change.
2136
2137 2013-08-20 Glenn Morris <rgm@gnu.org>
2138
2139 * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
2140 Clean test/automated if present.
2141
2142 2013-08-19 Paul Eggert <eggert@cs.ucla.edu>
2143
2144 Merge from gnulib, incorporating:
2145 2013-08-15 warnings: minor optimization
2146 2013-08-15 warnings: check -Wfoo rather than -Wno-foo
2147
2148 2013-08-15 Ken Brown <kbrown@cornell.edu>
2149
2150 * configure.ac (G_SLICE_ALWAYS_MALLOC): Update comment.
2151
2152 2013-08-15 Glenn Morris <rgm@gnu.org>
2153
2154 * make-dist: Do not distribute etc/refcards TeX intermediate files.
2155 * Makefile.in (install-arch-indep):
2156 Do not install etc/refcards TeX intermediate files.
2157
2158 2013-08-14 Ulrich Müller <ulm@gentoo.org>
2159
2160 * configure.ac (EMACS_CONFIGURATION): Escape backslashes. (Bug#15091)
2161
2162 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2163
2164 * configure.ac (HAVE_ZLIB): Don't use -lz on MinGW.
2165
2166 2013-08-12 Paul Eggert <eggert@cs.ucla.edu>
2167
2168 Minor zlib configuration tweaks.
2169 * configure.ac (HAVE_ZLIB): Don't assume zlib is linked if PNG is.
2170
2171 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2172
2173 * configure.ac (LIBZ): Comment on w32 peculiarities regarding LIBZ.
2174
2175 2013-08-12 Paul Eggert <eggert@cs.ucla.edu>
2176
2177 Merge from gnulib, incorporating:
2178 2013-08-11 fpending: port to recent Cygwin change to stdio_ext.h
2179 2013-08-10 sys_time: port to OpenBSD
2180
2181 2013-08-12 Glenn Morris <rgm@gnu.org>
2182
2183 * configure.ac (etcdocdir): Rename from docdir, to avoid confusion
2184 with configure's standard --docdir argument. All uses updated.
2185 * Makefile.in (etcdocdir): Rename from docdir. All uses updated.
2186 (install-etcdoc): Rename from install-doc. All uses updated.
2187 (uninstall): Run uninstall-doc.
2188 (PSS): Add misc-ps.
2189 (INSTALL_DVI, INSTALL_HTML, INSTALL_PDF, INSTALL_PS)
2190 (INSTALL_DOC, UNINSTALL_DVI, UNINSTALL_HTML, UNINSTALL_PDF)
2191 (UNINSTALL_PS, UNINSTALL_DOC): New variables.
2192 ($(INSTALL_DOC), install-doc, install-dvi, install-html, install-pdf)
2193 (install-ps, $(UNINSTALL_DOC), uninstall-doc, uninstall-dvi)
2194 (uninstall-html, uninstall-pdf, uninstall-ps): New .PHONY rules.
2195
2196 2013-08-11 Paul Eggert <eggert@cs.ucla.edu>
2197
2198 Add --with-zlib to 'configure'.
2199 * configure.ac: Add --with-zlib option to 'configure', so that Emacs
2200 can be built without zlib. Don't assume that -lz is needed on
2201 non-PNG hosts. Mention zlib configuration status in 'configure' output.
2202
2203 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2204
2205 * configure.ac: Test for zlib.
2206
2207 2013-08-10 Eli Zaretskii <eliz@gnu.org>
2208
2209 * configure.ac: Define and substitute UPDATE_MANIFEST.
2210
2211 2013-08-04 Stephen Berman <stephen.berman@gmx.net>
2212
2213 * info/dir: Add todo-mode.
2214
2215 2013-08-04 Paul Eggert <eggert@cs.ucla.edu>
2216
2217 Fix some minor races in hosts lacking mkostemp (Bug#15015).
2218 Gnulib's emulation of mkostemp doesn't have races that Emacs's does.
2219 * configure.ac (mkostemp): Remove check for this function;
2220 gnulib does the check now.
2221 (mkstemp): Remove check for this no-longer-used function.
2222 * lib/mkostemp.c, lib/secure_getenv.c, lib/tempname.c, lib/tempname.h:
2223 * m4/mkostemp.m4, m4/secure_getenv.m4, m4/tempname.m4:
2224 New files, copied from Gnulib.
2225 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2226
2227 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
2228
2229 * INSTALL (DETAILED BUILDING AND INSTALLATION):
2230 Add --without-file-notification to --without-all.
2231
2232 2013-07-29 Xue Fuqiao <xfq.free@gmail.com>
2233
2234 * INSTALL: Fix description.
2235
2236 2013-07-27 Glenn Morris <rgm@gnu.org>
2237
2238 * configure.ac: Extend the --with-sound option to allow
2239 specification of OSS or ALSA (see bug#14812#64).
2240
2241 2013-07-25 Glenn Morris <rgm@gnu.org>
2242
2243 * info/dir: Add ido.
2244
2245 * make-dist: Add a --tests option, to include test/.
2246
2247 2013-07-24 Glenn Morris <rgm@gnu.org>
2248
2249 * configure.ac: Use self-descriptive tags for AC_CONFIG_COMMANDS.
2250
2251 2013-07-23 Glenn Morris <rgm@gnu.org>
2252
2253 * configure.ac (etc, lisp): No need to create specially.
2254 Configure already creates lisp, src/Makefile now creates etc.
2255
2256 2013-07-23 Paul Eggert <eggert@cs.ucla.edu>
2257
2258 Port to GNU/Linux systems with tinfo but not ncurses.
2259 * configure.ac (USE_NCURSES): New symbol.
2260
2261 2013-07-20 Paul Eggert <eggert@cs.ucla.edu>
2262
2263 Fix array bounds violation when pty allocation fails.
2264 * configure.ac (PTY_TTY_NAME_SPRINTF): Use PTY_NAME_SIZE,
2265 not sizeof pty_name, since pty_name is now a pointer to the array.
2266
2267 2013-07-13 Paul Eggert <eggert@cs.ucla.edu>
2268
2269 * configure.ac: Simplify --with-file-notification handling.
2270
2271 2013-07-12 Glenn Morris <rgm@gnu.org>
2272
2273 * configure.ac: If with-file-notification=yes, if gfile not found,
2274 go on to try inotify (not on MS Windows or Nextstep).
2275
2276 2013-07-12 Paul Eggert <eggert@cs.ucla.edu>
2277
2278 Fix races with threads and file descriptors.
2279 * configure.ac (PTY_TTY_NAME_SPRINTF): Use emacs_close, not close.
2280
2281 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2282
2283 * Makefile.in (removenullpaths): Remove adjacent null paths (Bug#14835).
2284
2285 2013-07-09 Peter Rosin <peda@lysator.liu.se> (tiny change>
2286
2287 * configure.ac (HAVE_W32): Avoid nested functions (the second
2288 argument of AC_LANG_PROGRAM is already expanded inside a
2289 function). (Bug#14830)
2290
2291 2013-07-09 Paul Eggert <eggert@cs.ucla.edu>
2292
2293 Port recent close-on-exec changes to Cygwin (Bug#14821).
2294 * lib/binary-io.c, lib/binary-io.h: New files.
2295 Merge from gnulib, incorporating:
2296 2013-07-09 accept4, dup3, pipe2: port to Cygwin
2297 * lib/pipe2.c: Update from gnulib, as part of this merge.
2298 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2299
2300 Handle errno and exit status a bit more carefully.
2301 * lib/ignore-value.h: Remove this gnulib-imported file.
2302 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2303
2304 2013-07-08 Magnus Henoch <magnus.henoch@gmail.com> (tiny change)
2305
2306 * configure.ac (HAVE_IMAGEMAGICK): Check on NS also (Bug#14798).
2307
2308 2013-07-08 Paul Eggert <eggert@cs.ucla.edu>
2309
2310 Try to fix FreeBSD 9.1 porting problem (Bug#14812).
2311 This incorporates the following merge from gnulib:
2312 2013-07-07 stdalign, verify: port to FreeBSD 9.1, to C11, and to C++11
2313
2314 2013-07-07 Paul Eggert <eggert@cs.ucla.edu>
2315
2316 Port to Ubuntu 10 (Bug#14803).
2317 * configure.ac (accept4): New function to check for.
2318
2319 Make file descriptors close-on-exec when possible (Bug#14803).
2320 * configure.ac (mkostemp): New function to check for.
2321 (PTY_OPEN): Pass O_CLOEXEC to posix_openpt.
2322 * lib/fcntl.c, lib/getdtablesize.c, lib/pipe2.c, m4/fcntl.m4:
2323 * m4/getdtablesize.m4, m4/pipe2.m4: New files, taken from gnulib.
2324 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2325
2326 2013-07-03 Christoph Egger <christoph@debian.org> (tiny change)
2327
2328 * configure.ac (emacs_broken_SIGIO): Set on gnu-kfreebsd to avoid hang.
2329 http://bugs.debian.org/712974
2330
2331 2013-07-02 Paul Eggert <eggert@cs.ucla.edu>
2332
2333 Remove some unused macros from 'configure'.
2334 * configure.ac (HAVE_SOUNDCARD_H, HAVE_LINUX_VERSION_H, HAVE_SPEED_T)
2335 (HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY)
2336 (HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION, HAVE_UTIMES)
2337 (HAVE_LIBHESIOD, HAVE_LIBRESOLV, HAVE_LIBCOM_ERR, HAVE_LIBCRYPTO)
2338 (HAVE_LIBK5CRYPTO, HAVE_LIBKRB5, HAVE_LIBDES425, HAVE_LIBDES)
2339 (HAVE_LIBKRB4, HAVE_LIBKRB, HAVE_DES_H, HAVE_KERBEROSIV_DES_H)
2340 (HAVE_DEV_PTMX, DEVICE_SEP, USG5):
2341 Remove these macros, as they are not used.
2342 (sys_siglist): Remove macro; src/sysdep.c now does this.
2343
2344 * configure.ac (GTK_COMPILES): Check API a bit more carefully.
2345 Also check that it links. Say whether it compiled and linked.
2346
2347 2013-07-01 Paul Eggert <eggert@cs.ucla.edu>
2348
2349 Merge from gnulib, incorporating:
2350 2013-06-23 ignore-value: port to gcc -pedantic
2351 2013-06-21 extern-inline: port to gcc -std=c89
2352
2353 2013-06-30 Paul Eggert <eggert@cs.ucla.edu>
2354
2355 Do not use GTK 3 if it exists but cannot be compiled.
2356 * configure.ac: Leave GTK_OBJ and term_header alone if GTK 3
2357 exists but cannot be compiled.
2358
2359 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
2360
2361 * Makefile.in (install-arch-indep): Do not create directories passed
2362 with --enable-locallisppath.
2363
2364 2013-06-24 Glenn Morris <rgm@gnu.org>
2365
2366 * configure.ac: Include X11/X.h when testing for Xft.h. (Bug#14684)
2367
2368 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
2369
2370 * .bzrignore: Add GNU idutils ID database file.
2371
2372 2013-06-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2373
2374 * configure.ac (HAVE_LIBXML2): Try built-in libxml2 on OS X 10.8
2375 as a fallback.
2376
2377 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2378
2379 * .bzrignore: Don't unignore cl-loaddefs.el.
2380
2381 2013-06-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2382
2383 * configure.ac (log2): Check for this function.
2384
2385 2013-06-19 Juanma Barranquero <lekktu@gmail.com>
2386
2387 * .bzrignore: Add GNU GLOBAL files.
2388
2389 2013-06-17 Paul Eggert <eggert@cs.ucla.edu>
2390
2391 Use functions, not macros, for XINT etc. (Bug#11935).
2392 * configure.ac (WARN_CFLAGS): Remove -Wbad-function-cast,
2393 as it generates bogus warnings about reasonable casts of calls.
2394
2395 2013-06-16 Paul Eggert <eggert@cs.ucla.edu>
2396
2397 * configure.ac: Report ACL usage at the end (Bug#14612).
2398
2399 2013-06-11 Paul Eggert <eggert@cs.ucla.edu>
2400
2401 --without-all should imply --with-file-notification=no. (Bug#14569)
2402 * configure.ac (with_file_notification): Default to $with_features.
2403
2404 2013-06-09 Paul Eggert <eggert@cs.ucla.edu>
2405
2406 Merge from gnulib, incorporating:
2407 2013-06-02 sig2str: port to C++
2408 2013-05-29 c-ctype, regex, verify: port to gcc -std=c90 -pedantic
2409
2410 2013-06-08 Jan Djärv <jan.h.d@swipnet.se>
2411
2412 * configure.ac (HAVE_GLIB): Only set XGSELOBJ if HAVE_NS = no.
2413 (with_file_notification): Don't set to gfile if with_ns = yes.
2414
2415 2013-06-07 Richard Copley <rcopley@gmail.com> (tiny change)
2416
2417 * Makefile.in (msys_to_w32): Modify to support d:\foo file names.
2418 (msys_lisppath_to_w32, msys_prefix_subst, msys_sed_sh_escape):
2419 New variables.
2420 (epaths-force-w32): Use them. (Bug#14513)
2421
2422 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
2423
2424 * configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24.
2425
2426 2013-06-03 Eli Zaretskii <eliz@gnu.org>
2427
2428 * configure.ac (HAVE_GFILENOTIFY): Do not change $LIBS.
2429 (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): Substitute.
2430
2431 2013-06-03 Jan Djärv <jan.h.d@swipnet.se>
2432
2433 * configure.ac (HAVE_GLIB): Add GLib check. Set XGSELOBJ if GLib is
2434 used. Remove xgselect.o from XOBJ.
2435
2436 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
2437
2438 * configure.ac (file-notification): New option, replaces inotify option.
2439 (HAVE_W32): Remove w32notify.o.
2440 (with_file_notification): Add checks for glib and w32. Adapt check
2441 for inotify.
2442 (Summary): Add entry for file notification.
2443
2444 * autogen/config.in: Add entries for HAVE_GFILENOTIFY,
2445 HAVE_W32NOTIFY and USE_FILE_NOTIFY.
2446
2447 2013-06-02 Juanma Barranquero <lekktu@gmail.com>
2448
2449 * .bzrignore: Ignore dirs libexec/, share/ and var/.
2450
2451 2013-05-29 Xue Fuqiao <xfq.free@gmail.com>
2452
2453 * INSTALL: Fix description.
2454
2455 2013-05-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2456
2457 * configure.ac (HAVE_XRANDR): Check availability of
2458 XRRGetScreenResources rather than that of XRRQueryExtension.
2459
2460 2013-05-18 Eli Zaretskii <eliz@gnu.org>
2461
2462 * make-dist (files): Add nt/msysconfig.sh, nt/mingw-cfg.site,
2463 nt/epaths.nt, and nt/INSTALL.MSYS.
2464
2465 2013-05-18 Paul Eggert <eggert@cs.ucla.edu>
2466
2467 Port --enable-gcc-warnings to clang.
2468 * configure.ac (nw): Remove obsolescent warnings.
2469 These aren't needed for clang, or for gcc for that matter.
2470 (emacs_cv_clang): New var, which tests for clang.
2471 Omit warnings that clang is too picky about.
2472 (GLIB_DISABLE_DEPRECATION_WARNINGS): Define this;
2473 needed for Ubuntu 13.04 + clang + --enable-gcc-warnings.
2474
2475 * make-dist (files): Add nt/Makefile.in, nt/gnulib.mk.
2476 Otherwise, 'configure; make' fails on non-Windows builds.
2477
2478 2013-05-16 Eli Zaretskii <eliz@gnu.org>
2479
2480 * lib/Makefile.am: If building for MS-Windows, include
2481 nt/gnulib.mk instead of lib/gnulib.mk.
2482
2483 * configure.ac: Adapt to MSYS build on MS-Windows.
2484
2485 * Makefile.in (NTDIR): New variable, for the MSYS build on
2486 MS-Windows.
2487 (SUBDIR): Add $(NTDIR).
2488 (.PHONY): Add epaths-force-w32.
2489 (msys_to_w32): New variable.
2490 (epaths-force-w32, install-nt, uninstall-nt): New targets.
2491 (lib-src src): Add $(NTLIB) to prerequisites.
2492 (lib lib-src lisp leim nt): Add 'nt'.
2493 (config.status): Use $(CFG).
2494 (.PHONY): Add install-$(NTDIR) and uninstall-$(NTDIR).
2495 (install, install-arch-dep): Add install-$(NTDIR).
2496 (uninstall): Depend on uninstall-$(NTDIR).
2497 (mostlyclean, clean, distclean, bootstrap-clean): Add 'nt'.
2498
2499 * GNUmakefile (CFG): New variable, uses mingw-cfg.site as
2500 CONFIG_SITE for the MSYS build on MS-Windows.
2501 (Makefile): Use $(CFG).
2502
2503 * .bzrignore: Ignore *.res, *.tmp, and *.map.
2504 Remove src/emacs.res.
2505
2506 2013-05-16 Paul Eggert <eggert@cs.ucla.edu>
2507
2508 Merge from gnulib, incorporating:
2509 2013-05-15 manywarnings: update for GCC 4.8.0
2510 2013-05-15 stdio: use __REDIRECT for fwrite, fwrite_unlocked
2511 2013-05-15 sig2str, stdio, warnings: port to clang
2512
2513 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * Makefile.in (install-doc): DOC file is not version specific any more.
2516 * .bzrignore: Don't ignore DOC-* any more.
2517
2518 2013-05-13 Paul Eggert <eggert@cs.ucla.edu>
2519
2520 * configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -nopie.
2521 Reported privately by Han Boetes <han@boetes.org>.
2522
2523 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
2524
2525 * lib/makefile.w32-in (ACL_H): New macro.
2526 ($(BLD)/acl-errno-valid.$(O)): Update dependencies.
2527
2528 2013-05-07 Paul Eggert <eggert@cs.ucla.edu>
2529
2530 Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295)
2531 * configure.ac: Remove -with-acl option, since Gnulib does that for
2532 us now.
2533 (LIBACL_LIBS): Remove; no longer needed.
2534 * lib/Makefile.am (CLEANFILES, SUFFIXES): New (empty) macros,
2535 for the benefit of the new ACL implementation.
2536 * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/acl-errno-valid.$(O).
2537 ($(BLD)/acl-errno-valid.$(O)): New rule.
2538 * lib/acl-errno-valid.c, lib/acl-internal.h, lib/acl.h:
2539 * lib/acl_entries.c, lib/errno.in.h, lib/file-has-acl.c:
2540 * lib/qcopy-acl.c, lib/qset-acl.c, m4/acl.m4, m4/errno_h.m4:
2541 New files, taken from gnulib.
2542 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2543
2544 2013-05-07 Jan Djärv <jan.h.d@swipnet.se>
2545
2546 * configure.ac (HAVE_XRANDR, HAVE_XINERAMA): Define if available.
2547 (XRANDR_LIBS, XINERAMA_LIBS): New AC_SUBSTs.
2548
2549 2013-05-06 Paul Eggert <eggert@cs.ucla.edu>
2550
2551 Merge from gnulib, incorporating:
2552 2013-04-30 utimens, utimensat: work around Solaris UTIME_OMIT bug
2553
2554 2013-05-01 Paul Eggert <eggert@cs.ucla.edu>
2555
2556 * make-dist: Keep necessary restrictions on file access.
2557
2558 2013-04-29 Paul Eggert <eggert@cs.ucla.edu>
2559
2560 Merge from gnulib, incorporating:
2561 2013-04-28 extern-inline: work around bug in Sun c99
2562
2563 2013-04-27 Paul Eggert <eggert@cs.ucla.edu>
2564
2565 Merge from gnulib, incorporating:
2566 2013-04-27 alignof, intprops, malloca: port better to IBM's C compiler
2567
2568 2013-04-26 Paul Eggert <eggert@cs.ucla.edu>
2569
2570 Port better to AIX (Bug#14258).
2571 * configure.ac (CFLAGS): Append -O if the user did not specify CFLAGS,
2572 we did not already infer an optimization option, and -O works.
2573 AIX xlc needs -O, otherwise garbage collection doesn't work.
2574
2575 2013-04-22 Paul Eggert <eggert@cs.ucla.edu>
2576
2577 * make-dist: Do not distribute admin/unidata/Makefile.
2578 It is generated by 'configure'.
2579
2580 * build-aux/update-subdirs: Don't leave subdirs.el~ behind.
2581 It messes up 'make distclean', and contains no useful information
2582 because it's a copy of subdirs.el.
2583
2584 2013-04-18 John Marino <gnugcc@marino.st> (tiny change)
2585
2586 * configure.ac: Add DragonFly BSD, mostly same as FreeBSD. (Bug#14068)
2587
2588 2013-04-18 Glenn Morris <rgm@gnu.org>
2589
2590 * configure.ac (AC_PROG_LN_S): Remove, too restrictive.
2591 (LN_S_FILEONLY): New output variable.
2592 * Makefile.in (LN_S): Remove.
2593 (LN_S_FILEONLY): New, set by configure.
2594 (install-arch-dep): Use LN_S_FILEONLY rather than LN_S.
2595
2596 2013-04-12 Ken Brown <kbrown@cornell.edu>
2597
2598 * configure.ac (canonical): Adapt to 64-bit Cygwin, for which
2599 `canonical' is `x86_64-unknown-cygwin'.
2600
2601 2013-04-09 Ken Brown <kbrown@cornell.edu>
2602
2603 * configure.ac (W32_RES_LINK): Remove unneeded linker directive
2604 `-Wl,-bpe-i386', which is confusing in the 64-bit case.
2605 (Bug#12993)
2606
2607 2013-04-07 Paul Eggert <eggert@cs.ucla.edu>
2608
2609 Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783).
2610 * configure.ac (LD_SWITCH_SYSTEM_TEMACS): Append -pg if profiling
2611 and if not on GNU/Linux or FreeBSD.
2612 * lib/Makefile.am (AM_CFLAGS): Add $(PROFILING_CFLAGS), so that
2613 lib/*.o is profiled too.
2614
2615 2013-03-30 Paul Eggert <eggert@cs.ucla.edu>
2616
2617 Merge from gnulib, incorporating:
2618 2013-03-29 stdalign: port to stricter ISO C11
2619 This helps to run 'configure' on MS-Windows; see Eli Zaretskii in
2620 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00999.html>.
2621
2622 2013-03-27 Paul Eggert <eggert@cs.ucla.edu>
2623
2624 * configure.ac (HAVE_XKBGETKEYBOARD): Remove.
2625 Subsumed by HAVE_XKB. All uses changed.
2626
2627 2013-03-25 Jan Djärv <jan.h.d@swipnet.se>
2628
2629 * configure.ac (HAVE_XKB): Define if Xkb is present.
2630
2631 2013-03-24 Paul Eggert <eggert@cs.ucla.edu>
2632
2633 Merge from gnulib, incorporating:
2634 2013-03-21 sys_select, sys_time: port 2013-01-30 fix to Cygwin
2635
2636 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2637
2638 Fix bug when building Emacs with a GNU Make submake (Bug#13962).
2639 * Makefile.in (QUIET_SUBMAKE): New macro.
2640 (install-info, uninstall): Use it.
2641
2642 Emacs crashes with ImageMagick 6.8.2-3 through 6.8.3-9 (Bug#13867).
2643 * configure.ac (IMAGEMAGICK_MODULE): Reject 6.8.2.
2644 We want to reject 6.8.2-3 through 6.8.3-9, but there seems to be
2645 no way to do this in pkg-config, so make do with a reasonable
2646 approximation.
2647
2648 Automate the build of ja-dic.el (Bug#13984).
2649 * .bzrignore: Add leim/ja-dic/.
2650
2651 2013-03-13 Paul Eggert <eggert@cs.ucla.edu>
2652
2653 File synchronization fixes (Bug#13944).
2654 * configure.ac (BSD_SYSTEM, BSD_SYSTEM_AHB): Remove; no longer needed.
2655 (fsync): Remove check; now done by gnulib.
2656 * lib/fdatasync.c, lib/fsync.c, m4/fdatasync.m4, m4/fsync.m4:
2657 New files, from gnulib.
2658 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2659
2660 Merge from gnulib, incorporating:
2661 2013-03-13 putenv: port to Solaris 10
2662 2013-03-12 mktime: fix configure typo
2663 2013-03-11 regex: port to mingw's recent addition of undeclared alarm
2664 2013-03-11 putenv: avoid compilation warning on mingw
2665 2013-03-11 unistd: don't prevent Tru64 Unix from using gnulib strtod.
2666
2667 2013-03-11 Glenn Morris <rgm@gnu.org>
2668
2669 * Merge in all changes up to version 24.3 release.
2670
2671 2013-03-06 Paul Eggert <eggert@cs.ucla.edu>
2672
2673 * configure.ac (TERM_HEADER): Remove duplicate definition (Bug#13872).
2674 It can mess up 'configure' runs.
2675
2676 2013-03-05 Glenn Morris <rgm@gnu.org>
2677
2678 * Makefile.in (install-man): Ignore gzip exit status.
2679
2680 2013-03-03 Glenn Morris <rgm@gnu.org>
2681
2682 * make-dist: Remove lzma (it's replaced by xz).
2683
2684 2013-03-01 Paul Eggert <eggert@cs.ucla.edu>
2685
2686 Merge from gnulib, incorporating:
2687 2013-02-21 putenv: port better to native Windows
2688 2013-02-18 extern-inline: avoid compilation error with HP-UX cc
2689 2013-02-14 putenv: fix heap corruption with mixed putenv/_putenv
2690
2691 2013-02-28 Ken Brown <kbrown@cornell.edu>
2692
2693 * configure.ac (HAVE_DATA_START): Fix test. (Bug#13818)
2694
2695 2013-02-25 Paul Eggert <eggert@cs.ucla.edu>
2696
2697 Simplify data_start configuration (Bug#13783).
2698 * configure.ac (CRT_DIR, LIB_STANDARD, START_FILES, DATA_START)
2699 (LD_FIRSTFLAG, ORDINARY_LINK, LIB_GCC): Remove.
2700 (AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's
2701 not always needed.
2702 (HAVE_DATA_START): New macro.
2703
2704 2013-02-21 Paul Eggert <eggert@cs.ucla.edu>
2705
2706 Parallelize documentation builds.
2707 This speeds up building of documentation on multiprocessor
2708 platforms, and is motivated by Texinfo 5.0, which is much slower.
2709 Add a toplevel rule 'make docs' to make all the documentation.
2710 * .bzrignore: Add .dvi, .html, .ps.
2711 * Makefile.in (DVIS, HTMLS, INFOS, PSS, DOCS): New macros.
2712 ($(DOCS), docs, vi, html, pdf, ps): New rules.
2713 (info-real): Depend on $(INFOS) rather than doing it sequentially.
2714 (dvi): Depend on $(DVIS) rather than doing it sequentially.
2715
2716 2013-02-15 Paul Eggert <eggert@cs.ucla.edu>
2717
2718 Fix AIX port (Bug#13650).
2719 * configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX.
2720
2721 2013-02-12 Eli Zaretskii <eliz@gnu.org>
2722
2723 * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O).
2724 ($(BLD)/memrchr.$(O)): New dependency.
2725
2726 2013-02-11 Paul Eggert <eggert@cs.ucla.edu>
2727
2728 Tune by using memchr and memrchr.
2729 * .bzrignore: Add string.h.
2730 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2731 * lib/memrchr.c, lib/string.in.h, m4/memrchr.m4, m4/string_h.m4:
2732 New files, from gnulib.
2733
2734 Merge from gnulib, incorporating:
2735 2013-02-11 unsetenv etc.: port to Solaris 11 + GNU Emacs
2736 2013-02-09 secure_getenv: fix C++ declaration typo
2737
2738 2013-02-11 Glenn Morris <rgm@gnu.org>
2739
2740 * configure.ac (emacs_config_options): Record some env vars.
2741
2742 2013-02-10 Glenn Morris <rgm@gnu.org>
2743
2744 * configure.ac (emacs_config_options): Strip out the (internal)
2745 arguments --no-create and --no-recursion.
2746
2747 2013-02-08 Paul Eggert <eggert@cs.ucla.edu>
2748
2749 Merge from gnulib, incorporating:
2750 2013-02-08 careadlinkat: stop exporting careadlinkatcwd
2751 The MS-Windows port can remove careadlinkatcwd at its convenience.
2752 2013-02-08 extensions: port better to HP-UX
2753 2013-02-06 extensions: port better to MINIX 3, HP-UX, autoheader 2.62
2754 2013-02-06 unistd: avoid namespace pollution on non-glibc systems
2755 2013-02-04 secure_getenv: new module [module not used by Emacs]
2756 2013-01-30 sys_time: port to Solaris 2.6
2757
2758 2013-02-01 Paul Eggert <eggert@cs.ucla.edu>
2759
2760 Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
2761 On my host, this speeds up directory-files-and-attributes by a
2762 factor of 3, when applied to Emacs's src directory.
2763 These functions are standardized by POSIX and are common these
2764 days; fall back on a (slower) gnulib implementation if the host
2765 is too old to supply them.
2766 * .bzrignore: Add lib/dirent.h.
2767 * lib/Makefile.am (libgnu_a_SOURCES): Add openat-die.c, save-cwd.c.
2768 * lib/careadlinkat.c, lib/careadlinkat.h: Merge from gnulib,
2769 incorporating: 2013-01-29 careadlinkat: do not provide careadlinkatcwd.
2770 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2771 * lib/dirent.in.h, lib/fdopendir.c, lib/fstatat.c, lib/openat-priv.h:
2772 * lib/openat-proc.c, lib/openat.h, m4/dirent_h.m4, m4/fdopendir.m4:
2773 * m4/fstatat.m4: New files, from gnulib.
2774 * lib/openat-die.c, lib/save-cwd.c, lib/save-cwd.h: New files.
2775 These last three are specific to Emacs and are not copied from gnulib.
2776 They are simpler than the gnulib versions and are tuned for Emacs.
2777
2778 2013-02-01 Glenn Morris <rgm@gnu.org>
2779
2780 * make-dist: Only README files exist in lisp/ now, not README*.
2781
2782 2013-01-23 Giorgos Keramidas <gkeramidas@gmail.com> (tiny change)
2783
2784 * .bzrignore: Add lib-src/blessmail.
2785
2786 2013-01-23 Paul Eggert <eggert@cs.ucla.edu>
2787
2788 Merge from gnulib, incorporating:
2789 2013-01-16 unistd: port to recent mingw
2790
2791 2013-01-19 Glenn Morris <rgm@gnu.org>
2792
2793 * Makefile.in (install-arch-indep): Put back a chmod that was
2794 removed 2012-05-19. (Bug#13430)
2795
2796 2013-01-16 Paul Eggert <eggert@cs.ucla.edu>
2797
2798 Merge from gnulib, incorporating:
2799 2013-01-16 largefile: port better to Mac OS X 10.5
2800 2013-01-15 stdint: fix build with Android's Bionic fox x86
2801
2802 2013-01-16 Paul Eggert <eggert@cs.ucla.edu>
2803
2804 * configure.ac: Document that --enable-gcc-warnings emits errors.
2805 (Bug#13448)
2806
2807 2013-01-13 Glenn Morris <rgm@gnu.org>
2808
2809 * make-dist: Add options for xz compression and no compression.
2810
2811 2013-01-12 Paul Eggert <eggert@cs.ucla.edu>
2812
2813 Enable conservative stack scanning for all architectures.
2814 Suggested by Stefan Monnier in
2815 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00183.html>.
2816 * configure.ac (GC_MARK_STACK): Remove.
2817
2818 2013-01-11 Paul Eggert <eggert@cs.ucla.edu>
2819
2820 * lib/getopt_.h: Remove trailing CRs that crept in.
2821
2822 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2823
2824 * lib/getopt_.h: Regenerate.
2825
2826 2013-01-10 Paul Eggert <eggert@cs.ucla.edu>
2827
2828 Merge from gnulib, incorporating:
2829 2013-01-09 stdlib: port to Solaris 2.6
2830
2831 2013-01-04 Glenn Morris <rgm@gnu.org>
2832
2833 * info/dir: Add htmlfontify.
2834
2835 2013-01-04 Paul Eggert <eggert@cs.ucla.edu>
2836
2837 Merge from gnulib, incorporating:
2838 2013-01-04 stdio: remove now-unnecessary stdio.c
2839 2013-01-04 fprintftime: depend on stdio, not ignore-value
2840 2013-01-04 fwrite: silence __wur only for older glibc versions
2841 2013-01-04 fwrite: silence __wur without using inline
2842 * lib/stdio.c: Remove.
2843 * lib/stdio.in.h, lib/strftime.c: Update from gnulib.
2844 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2845
2846 2013-01-02 Paul Eggert <eggert@cs.ucla.edu>
2847
2848 Merge from gnulib, incorporating copyright-date changes and:
2849 2012-12-31 dup2: work around cygwin bug
2850
2851 2012-12-30 Jan Djärv <jan.h.d@swipnet.se>
2852
2853 * configure.ac: Check for GtkHandlebox.
2854 Check for GtkTearoffMenuItem.
2855 New enable: --enable-gtk-deprecation-warnings, default off.
2856 (HAVE_GTK3): If above enable is off, add
2857 -DGDK_DISABLE_DEPRECATION_WARNINGS to GTK_CFLAGS.
2858
2859 2012-12-30 Andreas Schwab <schwab@linux-m68k.org>
2860
2861 * configure.ac (TEMACS_LDFLAGS2): Don't define.
2862 (LIBS_GNUSTEP): Set for GNUstep and substitute.
2863 (LD_SWITCH_SYSTEM_TEMACS): Don't set for GNUstep.
2864
2865 2012-12-27 Glenn Morris <rgm@gnu.org>
2866
2867 * configure.ac (emacs_config_options): New.
2868 Use $@ rather than undocumented $ac_configure_args.
2869 Replace any embedded double quotes. (Bug#13274)
2870
2871 2012-12-27 Andreas Schwab <schwab@linux-m68k.org>
2872
2873 * configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin.
2874 (Bug#13222)
2875
2876 2012-12-26 Paul Eggert <eggert@cs.ucla.edu>
2877
2878 Revert static checking of stack smashing.
2879 * configure.ac (WARN_CFLAGS): Omit -Wstack-protector when
2880 configured with --enable-gcc-warnings. -Wstack-protector causes
2881 diagnostics to be issued on Ubuntu 12.10 x86-64.
2882
2883 2012-12-24 Paul Eggert <eggert@cs.ucla.edu>
2884
2885 Merge from gnulib, incorporating:
2886 2012-12-21 AC_PROG_MKDIR_P: port workaround to pre-2.62 Autoconf
2887 2012-12-20 AC_PROG_MKDIR_P: don't workaround if not buggy
2888 2012-12-17 filemode, sys_stat: Handle MPX files a la AIX.
2889
2890 2012-12-21 Akinori MUSHA <knu@iDaemons.org> (tiny change)
2891
2892 * Makefile.in (install-arch-dep): Ignore chmod errors. (Bug#13233)
2893
2894 2012-12-16 Romain Francoise <romain@orebokech.com>
2895
2896 * configure.ac (acl): New option.
2897 (HAVE_POSIX_ACL): Test for POSIX ACL support. This is typically
2898 provided by libacl on GNU/Linux.
2899
2900 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2901
2902 Fix permissions bugs with setgid directories etc. (Bug#13125)
2903 * configure.ac (BSD4_2): Remove; no longer needed.
2904
2905 2012-12-13 Glenn Morris <rgm@gnu.org>
2906
2907 * info/dir: Add bovine, srecode, wisent.
2908
2909 2012-12-13 Andreas Schwab <schwab@suse.de>
2910
2911 * Makefile.in (install-info): Use `${MAKE} -s' for echo-info.
2912 (uninstall): Likewise. (Bug#13142)
2913
2914 2012-12-11 Paul Eggert <eggert@cs.ucla.edu>
2915
2916 Merge from gnulib for 'inline' (Bug#13040), incorporating:
2917 2012-12-11 extern-inline: avoid incompatibility with Darwin Libc
2918 * m4/extern-inline.m4: Update from gnulib.
2919
2920 2012-12-11 Juanma Barranquero <lekktu@gmail.com>
2921
2922 * lib/makefile.w32-in (SIG2STR_H): New macro.
2923 ($(BLD)/sig2str.$(O)): Update dependencies.
2924
2925 2012-12-10 Paul Eggert <eggert@cs.ucla.edu>
2926
2927 * configure.ac (HAVE_INOTIFY): Speed up configure-time test.
2928 There's no need to test for any of three inotify functions,
2929 since we use all three. Check for just the first one.
2930
2931 2012-12-10 Daniel Colascione <dancol@dancol.org>
2932
2933 * .bzrignore: Add src/emacs.res.
2934
2935 * configure.ac (W32_RES, W32_RES_LINK, WINDRES): Teach the cygw32
2936 build how to compile Windows resource files; use these variables
2937 to tell src/Makefile.in how and whether to compile resources.
2938
2939 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2940
2941 * configure.ac (inotify): New option.
2942 (HAVE_INOTIFY): Test for inotify.
2943
2944 2012-12-09 Andreas Schwab <schwab@linux-m68k.org>
2945
2946 * configure.ac: Fix source command in .gdbinit.
2947 Don't quote $MAKEINFO.
2948
2949 2012-12-09 Paul Eggert <eggert@cs.ucla.edu>
2950
2951 Allow spaces in some configuration vars (Bug#13078).
2952 * configure.ac (srcdir): Don't assume $PWD lacks spaces.
2953 (srcdir, MAKEINFO, PKG_CONFIG, PKG_CONFIG_MIN_VERSION):
2954 All uses quoted, to allow spaces in these vars.
2955
2956 2012-12-08 Paul Eggert <eggert@cs.ucla.edu>
2957
2958 Use putenv+unsetenv instead of modifying environ directly (Bug#13070).
2959 * lib/putenv.c, lib/unsetenv.c, m4/putenv.m4, m4/setenv.m4:
2960 New files, copied automatically from gnulib.
2961 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2962
2963 2012-12-08 Eli Zaretskii <eliz@gnu.org>
2964
2965 * lib/makefile.w32-in ($(BLD)/sig2str.$(O)): New dependency.
2966 Remove a stray character at the beginning of the file.
2967 (Bug#13026)
2968
2969 2012-12-08 Paul Eggert <eggert@cs.ucla.edu>
2970
2971 Simplify get_lim_data.
2972 * configure.ac (ULIMIT_BREAK_VALUE): Remove.
2973
2974 Assume POSIX 1003.1-1988 or later for signal.h (Bug#13026).
2975 * configure.ac (PTY_OPEN, PTY_TTY_NAME_SPRINTF):
2976 Use SIGCHLD rather than SIGCLD.
2977 * lib/sig2str.c, lib/sig2str.h, m4/sig2str.m4: New files, from gnulib.
2978 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2979 * lib/makefile.w32-in (GNULIBOBJS): Add $(BUILD)/sig2str.$(O).
2980
2981 2012-12-06 Glenn Morris <rgm@gnu.org>
2982
2983 * configure.ac: Handle info/ files with or without ".info" extension.
2984
2985 2012-11-30 Paul Eggert <eggert@cs.ucla.edu>
2986
2987 Merge from gnulib for 'inline' (Bug#13040), incorporating:
2988 2012-11-29 snippet/warn-on-use: no 'static inline'
2989 2012-11-29 ftruncate, fts, lstat, openat, raise: no 'static inline'
2990 2012-11-29 arctwo, md4, md5, sha1, sha256, sha512: no 'static inline'
2991 2012-11-29 fflush, stat: no 'static inline'
2992 2012-11-29 stdio: better 'inline'
2993 2012-11-29 sys_stat: no 'static inline'
2994 2012-11-29 unistd: better 'inline'
2995 2012-11-29 c-strtod, memcoll, readutmp: no 'static inline'
2996 2012-11-29 extern-inline: no 'static inline'
2997 2012-11-29 sys_socket: better 'inline'
2998 * lib/stdio.c, lib/unistd.c: New files, from gnulib.
2999 * build-aux/snippet/warn-on-use.h, lib/gnulib.mk, lib/lstat.c:
3000 * lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c, lib/stat.c:
3001 * lib/stdio.in.h, lib/sys_stat.in.h, lib/unistd.in.h, m4/c-strtod.m4:
3002 * m4/extern-inline.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/md5.m4:
3003 * m4/sha1.m4, m4/sha256.m4, m4/sha512.m4, m4/stat.m4, m4/stdio_h.m4:
3004 * m4/sys_socket_h.m4, m4/sys_stat_h.m4, m4/unistd_h.m4:
3005 Update from gnulib.
3006
3007 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3008
3009 * make-dist (nt): Adjust to changes in names of the *.manifest files.
3010
3011 2012-11-24 Ken Brown <kbrown@cornell.edu>
3012
3013 * configure.ac (HAVE_MOUSE): Remove.
3014
3015 2012-11-23 Paul Eggert <eggert@cs.ucla.edu>
3016
3017 Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958).
3018 * configure.ac: Do not check for dirent.h or closdir.
3019
3020 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3021
3022 Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
3023 * configure.ac: Do not check for getcwd or getwd.
3024
3025 2012-11-21 Glenn Morris <rgm@gnu.org>
3026
3027 * configure.ac (--enable-profiling): Doc fix.
3028
3029 2012-11-20 Paul Eggert <eggert@cs.ucla.edu>
3030
3031 Improve static checking of integer overflow and stack smashing.
3032 * configure.ac (WARN_CFLAGS): Add -Wstack-protector
3033 if using GCC 4.7.2 or later on a platform with
3034 at least 64-bit long int. This improves static checking on these
3035 platforms, when configured with --enable-gcc-warnings.
3036
3037 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3038
3039 Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
3040 * configure.ac: Do not check for fcntl.h.
3041 * lib/gnulib.mk: Regenerate.
3042
3043 2012-11-16 Paul Eggert <eggert@cs.ucla.edu>
3044
3045 Remove no-longer-used pty_max_bytes variable.
3046 * configure.ac (fpathconf): Remove unnecessary check.
3047
3048 2012-11-14 Paul Eggert <eggert@cs.ucla.edu>
3049
3050 Use faccessat, not access, when checking file permissions (Bug#12632).
3051 * .bzrignore: Add lib/fcntl.h.
3052 * configure.ac (euidaccess): Remove check; gnulib does this for us now.
3053 (gl_FCNTL_O_FLAGS): Define a dummy version.
3054 * lib/at-func.c, lib/euidaccess.c, lib/faccessat.c, lib/fcntl.in.h:
3055 * lib/getgroups.c, lib/group-member.c, lib/root-uid.h:
3056 * lib/xalloc-oversized.h, m4/euidaccess.m4, m4/faccessat.m4:
3057 * m4/fcntl_h.m4, m4/getgroups.m4, m4/group-member.m4:
3058 New files, from gnulib.
3059 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3060
3061 2012-11-05 Paul Eggert <eggert@cs.ucla.edu>
3062
3063 Assume at least POSIX.1-1988 for getpgrp, setpgid, setsid (Bug#12800).
3064 * configure.ac (setpgid, setsid): Assume their existence.
3065 (AC_FUNC_GETPGRP, SETPGRP_RELEASES_CTTY): Remove; obsolete.
3066
3067 Simplify by assuming __fpending.
3068 Now that Emacs is using the gnulib fpending module,
3069 there's no need for Emacs to have a separate implementation.
3070 * configure.ac (stdio_ext.h, __fpending): Remove now-duplicate checks.
3071 (PENDING_OUTPUT_COUNT, DISPNEW_NEEDS_STDIO_EXT): Remove.
3072
3073 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3074
3075 * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/fpending.$(O) and
3076 $(BLD)/close-stream.$(O).
3077 ($(BLD)/close-stream.$(O))
3078 ($(BLD)/fpending.$(O)): New dependencies.
3079
3080 2012-11-03 Paul Eggert <eggert@cs.ucla.edu>
3081
3082 Fix data-loss with --batch (Bug#9574).
3083 * lib/close-stream.c, lib/close-stream.h, lib/fpending.c
3084 * lib/fpending.h, m4/close-stream.m4, m4/fpending.m4:
3085 New files, from gnulib.
3086 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3087
3088 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3089
3090 * config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed.
3091
3092 2012-11-02 Glenn Morris <rgm@gnu.org>
3093
3094 * Makefile.in (EMACS_ICON): New variable.
3095 (install-etc): Use EMACS_ICON to allow choice of icon.
3096
3097 2012-10-26 Glenn Morris <rgm@gnu.org>
3098
3099 * Makefile.in (EMACS_NAME): New variable.
3100 (EMACS, install-etc, uninstall): Use $EMACS_NAME.
3101
3102 * Makefile.in (EMACS, EMACSFULL): Transformations should not be
3103 applied to $EXEEXT.
3104
3105 * Makefile.in (uninstall): Don't abort if some directories are missing.
3106 Apply transformation rules to manual pages, desktop and icon files.
3107 No more emacs22 icons to uninstall.
3108
3109 2012-10-24 Glenn Morris <rgm@gnu.org>
3110
3111 * Makefile.in (install-etc, install-man):
3112 Don't apply program transform to standard file suffixes.
3113
3114 2012-10-23 Paul Eggert <eggert@cs.ucla.edu>
3115
3116 * configure.ac (_FORTIFY_SOURCE): Do not multiply define (Bug#12714).
3117 This ports to Gentoo. Problem originally reported against coreutils,
3118 but Emacs has it too.
3119
3120 2012-10-23 Glenn Morris <rgm@gnu.org>
3121
3122 * Makefile.in (emacs_transform): Remove.
3123 (install-man): Revert 2012-10-21 change. (Bug#12713)
3124
3125 2012-10-21 Glenn Morris <rgm@gnu.org>
3126
3127 * Makefile.in (install-etc): Don't install emacs22 icons.
3128
3129 * Makefile.in (emacs_transform): New variable.
3130 (install-etc): Prefer a make variable to a shell variable.
3131
3132 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * Makefile.in ($(MAKEFILE_NAME)): Depend on src/lisp.mk as well.
3135
3136 2012-10-15 Glenn Morris <rgm@gnu.org>
3137
3138 * Makefile.in (install-man, install-etc):
3139 Apply $TRANSFORM. (Bug#12536#34)
3140 (clean): Delete etc/emacs.tmpdesktop.
3141
3142 2012-10-11 Kenichi Handa <handa@gnu.org>
3143
3144 * .bzrignore: Add several files under admin/charsets.
3145
3146 2012-10-08 Daniel Colascione <dancol@dancol.org>
3147
3148 * configure.ac: Add --with-w32 as a window system option.
3149 Limit it to Cygwin for now. Integrate w32 into the refactored window
3150 system configuration and set TERM_HEADER to w32term.h when w32 is
3151 configured.
3152
3153 (CYGWIN_OBJ): Add cygw32.o.
3154
3155 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3156
3157 * configure.ac: Check that OSX is 10.4 or newer.
3158
3159 2012-10-07 Paul Eggert <eggert@cs.ucla.edu>
3160
3161 Improve sys_siglist detection.
3162 * configure.ac (sys_siglist): Look for its decl in <signal.h>.
3163 Otherwise, it's not found in either Fedora 17 or Solaris 11.
3164
3165 2012-10-04 Paul Eggert <eggert@cs.ucla.edu>
3166
3167 Merge from gnulib, incorporating:
3168 2012-10-02 pselect: reject invalid file descriptors
3169 2012-10-02 ptsname: reject invalid file descriptors
3170 2012-10-02 manywarnings: cater to more gcc infelicities
3171 2012-09-30 sockets, sys_stat: restore AC_C_INLINE
3172 * lib/pselect.c, lib/stdlib.in.h, m4/manywarnings.m4, m4/pselect.m4:
3173 * m4/stdlib_h.m4, m4/sys_stat_h.m4: Update from gnulib.
3174 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3175
3176 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3177
3178 Merge from gnulib, incorporating:
3179 2012-09-28 extern-inline: provide a -Wundef safe config.h
3180
3181 2012-09-27 Paul Eggert <eggert@cs.ucla.edu>
3182
3183 Check more robustly for timer_settime.
3184 This should fix an OS X build problem reported by Ivan Andrus in
3185 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00671.html>.
3186 * configure.ac (gl_THREADLIB): Define to empty, since Emacs
3187 does threads its own way.
3188 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3189
3190 2012-09-23 Paul Eggert <eggert@cs.ucla.edu>
3191
3192 * Makefile.in (bootstrap): Set MAKEFILE_NAME when building Makefile,
3193 to avoid problems with recursion when using GNU make.
3194
3195 2012-09-22 Paul Eggert <eggert@cs.ucla.edu>
3196
3197 * Makefile.in (bootstrap): Simplify build procedure.
3198 Suggested by Wolfgang Jenker in
3199 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00456.html>.
3200
3201 Merge from gnulib, incorporating:
3202 2012-09-22 sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases
3203
3204 2012-09-18 Jan Djärv <jan.h.d@swipnet.se>
3205
3206 * configure.ac (HAVE_GTK): Mention if we use GTK2 or GTK3.
3207
3208 2012-09-17 Andreas Schwab <schwab@linux-m68k.org>
3209
3210 * Makefile.in (bootstrap): Revert last change. Run config.status
3211 after config.status --recheck, run configure from $(srcdir).
3212 (config.status): Run configure from $(srcdir).
3213
3214 2012-09-17 Paul Eggert <eggert@cs.ucla.edu>
3215
3216 * Makefile.in: Fix build error on FreeBSD.
3217 ($(MAKEFILE_NAME)): Pass MAKE='$(MAKE)' to config.status's env.
3218 Suggested by Wolfgang Jenker in
3219 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00430.html>.
3220 (MAKE_CONFIG_STATUS): Remove. Remaining use expanded.
3221 This undoes part of the 2012-09-10 patch.
3222 (bootstrap): Run ./configure, rather than trying to run config.status
3223 if it exists. That builds src/epaths.h more reliably.
3224 Run autogen/copy_autogen if autogen.sh fails,
3225 to create 'configure'. Reported by Andreas Schwab in
3226 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00438.html>.
3227 * autogen.sh: Exit with status 1 when failing due to missing tools,
3228 reverting the 2012-09-10 change to this file.
3229 * autogen/copy_autogen: Fail if one of the subsidiary actions fail.
3230 Use 'cp -f' for the build-aux files, since the destinations are
3231 typically read-only.
3232
3233 Remove no-longer-needed Solaris 2.4 vfork bug workaround.
3234 * configure.ac (ac_cv_func_vfork_works): Default to 'no' on
3235 Solaris 2.4, so that AC_FUNC_VFORK doesn't think vfork works.
3236
3237 2012-09-17 Glenn Morris <rgm@gnu.org>
3238
3239 * configure.ac (copyright): New output variable.
3240 (COPYRIGHT): New AC_DEFINE.
3241
3242 2012-09-16 Paul Eggert <eggert@cs.ucla.edu>
3243
3244 Remove configure's --without-sync-input option (Bug#12450).
3245 * configure.ac (SYNC_INPUT, BROKEN_SA_RESTART): Remove.
3246
3247 2012-09-16 Glenn Morris <rgm@gnu.org>
3248
3249 Increase compartmentalization of Nextstep builds rules,
3250 and store Emacs version number in fewer versioned files.
3251 * configure.ac (ns_appsrc): Use relative names.
3252 (ns_frag): Remove.
3253 (Info-gnustep.plist, Emacs.desktop, Info.plist, InfoPlist.strings)
3254 (nextstep/Makefile): Generate these nextstep files.
3255 (SUBDIR_MAKEFILES): Add nextstep.
3256 * Makefile.in (clean, distclean, bootstrap-clean): Add nextstep.
3257 * make-dist (nextstep/templates): Add directory.
3258 (nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj): Remove.
3259 (nextstep/Cocoa/Emacs.base/Contents)
3260 (nextstep, nextstep/GNUstep/Emacs.base/Resources): Update contents.
3261
3262 2012-09-15 Paul Eggert <eggert@cs.ucla.edu>
3263
3264 Port better to POSIX hosts lacking _setjmp (Bug#12446).
3265 * configure.ac (HAVE__SETJMP, HAVE_SIGSETJMP): New symbols.
3266 (_setjmp, _longjmp): Remove.
3267
3268 2012-09-14 Paul Eggert <eggert@cs.ucla.edu>
3269
3270 * configure.ac (--without-sync-input): Fix typo in usage message.
3271
3272 * configure.ac: Port to hosts lacking gtk.
3273 (PKG_CHECK_MODULES): Capture pkg-config diagnostics
3274 better, in particular, problems in invoking pkg-config itself.
3275 This is useful on hosts that don't have pkg-config.
3276 (GTK_MODULES): Do not exit 'configure' simply because gtk3
3277 and gtk2 are both missing. Problem found on Solaris 8.
3278
3279 2012-09-13 Jan Djärv <jan.h.d@swipnet.se>
3280
3281 * configure.ac: Reorder Xaw3d messages.
3282 Report Gtk+ 3 as GTK.
3283
3284 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3285
3286 Simplify SIGIO usage (Bug#12408).
3287 * configure.ac (NO_TERMIO, BROKEN_FIONREAD, BROKEN_SIGAIO)
3288 (BROKEN_SIGPOLL, BROKEN_SIGPTY): Remove.
3289 (USABLE_FIONREAD, USABLE_SIGIO): New symbols. All uses of
3290 'defined SIGIO' replaced with 'defined USABLE_SIGIO', with no need
3291 to #undef SIGIO now (which was error-prone). Likewise, all uses
3292 of 'defined FIONREAD' replaced with 'defined USABLE_FIONREAD'.
3293
3294 2012-09-12 Jan Djärv <jan.h.d@swipnet.se>
3295
3296 * configure.ac: No --with-x-toolkit given: Try gtk3 toolkit first
3297 and then gtk2 if not found.
3298 --with-x-toolkit=gtk|yes: As above, but fail if gtk2 or gt3 not found.
3299 --with-x-toolkit=gtk2: Only try gtk2, fail if not found.
3300 --with-x-toolkit=gtk3: Only try gtk3, fail if not found.
3301
3302 2012-09-11 Glenn Morris <rgm@gnu.org>
3303
3304 * Makefile.in (install-arch-dep, install-arch-indep, install-doc):
3305 Be more explicit about dependencies, for parallel `make install'.
3306
3307 2012-09-11 Paul Eggert <eggert@cs.ucla.edu>
3308
3309 Simplify, document, and port floating-point (Bug#12381).
3310 * configure.ac (logb, cbrt): Do not check for these functions,
3311 as they are not being used.
3312
3313 2012-09-10 Paul Eggert <eggert@cs.ucla.edu>
3314
3315 Improve robustness of 'make bootstrap' (Bug#12376).
3316 Run autogen.sh after bootstrap-clean, to avoid bzr pull issues.
3317 * INSTALL, README: Document autogen.sh.
3318 * Makefile.in (Makefile): Mark it as precious, since it's updated
3319 atomically.
3320 (MAKE_CONFIG_STATUS): New macro.
3321 (config.status, bootstrap): Use it. This causes 'make bootstrap'
3322 to run config.status with the --recheck option, which is more
3323 appropriate for a bootstrap.
3324 (bootstrap): Run autogen.sh right after cleaning. Don't worry
3325 about failures due to missing tools.
3326 * autogen.sh: Exit with status 101 when failing due to missing tools.
3327 * make-dist: Distribute autogen.sh.
3328
3329 2012-09-09 Paul Eggert <eggert@cs.ucla.edu>
3330
3331 Assume C89 or later for math functions (Bug#12381).
3332 * configure.ac (frexp, fmod): Remove checks for these functions,
3333 as we now assume them.
3334 (FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC, NO_MATHERR)
3335 (HAVE_EXCEPTION):
3336 Remove; no longer needed.
3337
3338 2012-09-07 Paul Eggert <eggert@cs.ucla.edu>
3339
3340 More signal-handler cleanup (Bug#12327).
3341 * configure.ac (FLOAT_CHECK_DOMAIN): Comment fix (Bug#12327).
3342
3343 2012-09-06 Paul Eggert <eggert@cs.ucla.edu>
3344
3345 Signal-handler cleanup (Bug#12327).
3346 * configure.ac (PTY_OPEN, PTY_TTY_NAME_SPRINTF):
3347 Adjust to syssignal.h changes.
3348 (SIGNAL_H_AB): Remove; no longer needed.
3349
3350 2012-09-04 Paul Eggert <eggert@cs.ucla.edu>
3351
3352 Simplify redefinition of 'abort' (Bug#12316).
3353 * configure.ac (NO_ABRT): Remove.
3354
3355 * configure.ac (_setjmp, _longjmp): Check by compiling
3356 instead of by guessing. The guesses were wrong for
3357 recent versions of Solaris, such as Solaris 11.
3358
3359 2012-09-03 Paul Eggert <eggert@cs.ucla.edu>
3360
3361 * configure.ac (WARN_CFLAGS): Omit -Wjump-misses-init.
3362 It generates false alarms in doc.c, regex.c, xdisp.c. See
3363 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00040.html>.
3364
3365 Merge from gnulib, incorporating:
3366 2012-08-29 stdbool: be more compatible with mixed C/C++ compiles
3367 2011-11-30 manywarnings: update the list of "all" warnings
3368
3369 2012-09-02 Jan Djärv <jan.h.d@swipnet.se>
3370
3371 * configure.ac (HAVE_GOBJECT): Check for gobject-2.0 (Bug#12332).
3372
3373 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3374
3375 * configure.ac (_FORTIFY_SOURCE): Define only when optimizing.
3376 This ports to glibc 2.15 or later, when configured with
3377 --enable-gcc-warnings. See Eric Blake in
3378 <http://lists.gnu.org/archive/html/bug-grep/2012-09/msg00000.html>.
3379
3380 2012-09-01 Daniel Colascione <dan.colascione@gmail.com>
3381
3382 * configure.ac: Introduce term_header variable, which holds the
3383 value which will become TERM_HEADER in code. We effect our choice
3384 of window system by setting term_header and WINDOW_SYSTEM_OBJ
3385 instead of using ad-hoc variables and flags for each window
3386 system.
3387
3388 2012-08-26 Paul Eggert <eggert@cs.ucla.edu>
3389
3390 * configure.ac (CFLAGS): Prefer -g3 to -g if -g3 works
3391 and if the user has not specified CFLAGS. -g3 simplifies
3392 debugging, since it makes macros visible to the debugger.
3393
3394 2012-08-25 Juanma Barranquero <lekktu@gmail.com>
3395
3396 * lib/makefile.w32-in ($(BLD)/execinfo.$(O)): Update dependencies.
3397
3398 2012-08-25 Eli Zaretskii <eliz@gnu.org>
3399
3400 * lib/makefile.w32-in ($(BLD)/execinfo.$(O), execinfo.h): New targets.
3401 (GNULIBOBJS): Add $(BLD)/execinfo.$(O).
3402
3403 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3404
3405 On assertion failure, print backtrace if available.
3406 Merge from gnulib, incorporating:
3407 2012-08-24 execinfo: port to FreeBSD
3408 2012-08-22 execinfo: new module
3409 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3410 * lib/execinfo.c, lib/execinfo.in.h, m4/execinfo.m4: New files.
3411
3412 2012-08-22 Glenn Morris <rgm@gnu.org>
3413
3414 * Makefile.in (install-arch-dep): If NO_BIN_LINK is non-null,
3415 do not create the bin/emacs link. (Bug#12011)
3416
3417 2012-08-21 Paul Eggert <eggert@cs.ucla.edu>
3418
3419 Merge from gnulib, incorporating:
3420 2012-08-20 extern-inline: support old GCC 'inline'
3421
3422 2012-08-20 Glenn Morris <rgm@gnu.org>
3423
3424 * configure.ac (AC_PROG_LN_S): Test for ln.
3425 * Makefile.in (LN_S): New, set by configure.
3426 (install-arch-dep): Use $LN_S.
3427
3428 2012-08-19 Paul Eggert <eggert@cs.ucla.edu>
3429
3430 Merge from gnulib, incorporating:
3431 2012-08-19 ignore-value, stat-time, timespec: omit AC_C_INLINE
3432 2012-08-19 mktime, sys_select: avoid 'static inline'
3433 2012-08-19 gnulib-tool: Fix indentation.
3434
3435 2012-08-18 Paul Eggert <eggert@cs.ucla.edu>
3436
3437 * lib/sigprocmask.c, m4/signalblocking.m4: Remove.
3438 These files have been unused since the 2012-06-22 patch that
3439 introduced high-resolution time stamps.
3440
3441 2012-08-17 Jan Beich <jbeich@tormail.org> (tiny change)
3442
3443 * configure.ac (PTY_OPEN): Try posix_openpt on gnu-linux,
3444 gnu-kfreebsd, freebsd, and netbsd. (Bug#12040)
3445
3446 2012-08-14 Paul Eggert <eggert@cs.ucla.edu>
3447
3448 Merge from gnulib, incorporating:
3449 2012-08-05 extern-inline: also ignore -Wmissing-declarations
3450
3451 2012-08-10 Juanma Barranquero <lekktu@gmail.com>
3452
3453 * lib/makefile.w32-in (STAT_TIME_H): New macro.
3454 (FTOASTR_C, $(BLD)/stat-time.$(O), $(BLD)/timespec.$(O))
3455 ($(BLD)/u64.$(O)): Update dependencies.
3456
3457 2012-08-10 Glenn Morris <rgm@gnu.org>
3458
3459 * configure.ac (DIRECTORY_SEP): Move here from src/lisp.h.
3460
3461 2012-08-08 Dmitry Antipov <dmantipov@yandex.ru>
3462
3463 * configure.ac (--disable-features): Rename to --without-all.
3464 (OPTION_DEFAULT_ON): Change to use with_features.
3465 * INSTALL: Fix description.
3466
3467 2012-08-07 Dmitry Antipov <dmantipov@yandex.ru>
3468
3469 * configure.ac: New option --disable-features.
3470 (OPTION_DEFAULT_ON): Change to use enable_features.
3471 * INSTALL: Explain --disable-features.
3472
3473 2012-08-07 Glenn Morris <rgm@gnu.org>
3474
3475 * configure.ac: Require automake 1.11 (fairly arbitrarily).
3476 * autogen.sh (automake_min): Get it from configure.ac.
3477
3478 2012-08-06 Glenn Morris <rgm@gnu.org>
3479
3480 * configure.ac (BROKEN_GETWD) [unixware]: New define.
3481
3482 * configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
3483 (PENDING_OUTPUT_COUNT): Absorb GNU_LIBRARY_PENDING_OUTPUT_COUNT.
3484 (DISPNEW_NEEDS_STDIO_EXT): New define.
3485
3486 2012-08-05 Michael Albinus <michael.albinus@gmx.de>
3487
3488 * INSTALL: Explain how to completely disable D-Bus. (Bug#12112)
3489
3490 2012-08-05 Ulrich Müller <ulm@gentoo.org>
3491
3492 * configure.ac: Disable paxctl if binaries don't have a
3493 PT_PAX_FLAGS program header. (Bug#11979)
3494
3495 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3496
3497 * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/stat-time.$(O),
3498 $(BLD)/timespec.$(O), and $(BLD)/u64.$(O).
3499 (SHA512_H): Don't mention u64.h twice.
3500 ($(BLD)/stat-time.$(O), ($(BLD)/timespec.$(O), ($(BLD)/u64.$(O)):
3501 New targets.
3502
3503 2012-08-03 Paul Eggert <eggert@cs.ucla.edu>
3504
3505 Merge from gnulib, incorporating:
3506 2012-08-02 stat-time, timespec, u64: support naive out-of-dir builds
3507
3508 2012-08-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3509
3510 * lib/Makefile.am (DEFAULT_INCLUDES): Add -I$(top_srcdir)/lib for
3511 out-of-tree build.
3512
3513 2012-08-02 Glenn Morris <rgm@gnu.org>
3514
3515 * make-dist: Remove src/s.
3516
3517 * lib/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
3518
3519 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3520
3521 Merge from gnulib (Bug#12116), incorporating:
3522 2012-08-01 extern-inline: new module
3523 2012-08-01 stat-time, timespec, u64, utimens: use extern-inline
3524 * lib/stat-time.c, lib/timespec.c, lib/u64.c, m4/extern-inline.m4:
3525 New files. The new .c files are for instantiating extern inline
3526 functions.
3527
3528 Port to Solaris 8.
3529 Without this change, 'configure' fails because the recently-added
3530 wait3 prototype in config.h messes up later 'configure' tests.
3531 Fix this problem by droping wait3 and WRETCODE, as they're
3532 no longer needed on hosts that are current porting targets.
3533 * configure.ac (wait3, WRETCODE): Remove, fixing a FIXME.
3534 All uses changed to waitpid and WEXITSTATUS.
3535
3536 Avoid needless autoheader after autogen.sh.
3537 * .bzrignore: Add src/stamp-h.in.
3538 * autogen.sh: Create src/stamp-h.in.
3539
3540 2012-08-01 Glenn Morris <rgm@gnu.org>
3541
3542 * configure.ac (DOS_NT, MSDOS): New system type templates.
3543
3544 2012-08-01 Ulrich Müller <ulm@gentoo.org>
3545
3546 * configure.ac (LIB_STANDARD, START_FILES) [FreeBSD]:
3547 Don't include crtbegin.o and crtend.o. (Bug#12047)
3548
3549 2012-08-01 Glenn Morris <rgm@gnu.org>
3550
3551 * configure.ac (FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
3552 (INTERNAL_TERMINAL): New.
3553
3554 * configure.ac (DEVICE_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP)
3555 (IS_ANY_SEP): Move here from src/lisp.h.
3556
3557 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
3558
3559 * lib/makefile.w32-in (CONFIG_H): Update dependencies.
3560 (CONF_POST_H): New macro.
3561
3562 2012-07-31 Glenn Morris <rgm@gnu.org>
3563
3564 * configure.ac (S_FILE): Remove output variable.
3565
3566 * configure.ac (opsysfile): Use AH_TEMPLATE. Doc fix.
3567
3568 * configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME):
3569 Move here from src.
3570
3571 * configure.ac (AMPERSAND_FULL_NAME, subprocesses):
3572 Move here from conf_post.h.
3573
3574 2012-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3575
3576 Improve OpenMotif detection on GNU/Linux systems.
3577 * configure.ac (MOTIF): Check for /usr/include/openmotif
3578 and /usr/(lib|lib64)/openmotif if --with-x-toolkit=motif.
3579
3580 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3581
3582 * Makefile.in (install-arch-indep): Avoid eval.
3583
3584 2012-07-31 Glenn Morris <rgm@gnu.org>
3585
3586 * configure.ac (opsysfile, S_FILE): Now they are always empty.
3587
3588 * configure.ac (opsysfile): Forgot to set it to empty on sol2-10
3589 when removing src/s/sol2-6.h yesterday.
3590
3591 * configure.ac (USG5_4): Reintroduce this.
3592 (opsysfile): Set to empty on irix6-5, sol2*, and unixware.
3593
3594 * configure.ac (wait3, WRETCODE): Move here from src/s/usg5-4-common.h.
3595
3596 * configure.ac (opsysfile): Set to empty on hpux*, darwin;
3597 and to s/usg5-4-common.h on irix6-5.
3598
3599 2012-07-30 Glenn Morris <rgm@gnu.org>
3600
3601 * configure.ac (AH_BOTTOM): Use an include file, so that the
3602 contents do not get processed by autoheader.
3603
3604 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3605
3606 Do not overwrite config.status while executing it (Bug#11214).
3607 * Makefile.in (MAKEFILE_NAME): New macro.
3608 ($(MAKEFILE_NAME)): Rename rule from Makefile.
3609 * configure.ac (epaths): Set MAKEFILE_NAME to a bogus value,
3610 so that GNU 'make' isn't tempted to make the Makefile and then
3611 regenerate config.status while config.status is running.
3612
3613 Update .PHONY listings in makefiles.
3614 * Makefile.in (.PHONY): Add all, ${SUBDIR}, blessmail, epath-force,
3615 FRC, install-arch-dep, install-arch-indep, install-doc,
3616 install-info, install-man, install-etc, install-strip, uninstall,
3617 bootstrap-clean, TAGS, tags, info-real, force-info, check-info-dir.
3618 (.RECURSIVE): Remove; hasn't been needed for years.
3619
3620 2012-07-30 Glenn Morris <rgm@gnu.org>
3621
3622 * configure.ac (SIGNAL_H_AHB): New hack macro.
3623 (opsysfile): Set to empty on netbsd, openbsd.
3624 (AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined.
3625
3626 * configure.ac (_longjmp, _setjmp, TIOCSIGSEND): Move here from src/s.
3627
3628 2012-07-30 Jan Djärv <jan.h.d@swipnet.se>
3629
3630 * Makefile.in (install-arch-indep): Remove sh -x.
3631
3632 2012-07-30 Glenn Morris <rgm@gnu.org>
3633
3634 * configure.ac (opsysfile): Tweak message for null case.
3635
3636 * configure.ac (opsysfile): Set to empty on aix4-2, freebsd,
3637 gnu-linux, gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware.
3638
3639 2012-07-29 Jan Djärv <jan.h.d@swipnet.se>
3640
3641 * Makefile.in (install-arch-indep): Handle space in locallisppath.
3642
3643 2012-07-28 Paul Eggert <eggert@cs.ucla.edu>
3644
3645 Use Gnulib environ module (Bug#9772).
3646 * m4/environ.m4: New file, from gnulib.
3647 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3648
3649 Use Gnulib stdalign module (Bug#9772, Bug#9960).
3650 This should improve portability of macros like alignof and DECL_ALIGN.
3651 * lib/stdalign.in.h, m4/stdalign.m4: New files, from gnulib.
3652 * .bzrignore: Add lib/stdalign.h.
3653 * config.bat: Do not set NO_DECL_ALIGN; no longer needed.
3654 Copy lib/stdalign.in.h to lib/stdalign.in-h as needed.
3655 * configure.ac (HAVE_ATTRIBUTE_ALIGNED): Remove the code that
3656 fiddles with this, as gnulib now does this for us.
3657
3658 2012-07-17 Dmitry Antipov <dmantipov@yandex.ru>
3659
3660 Fix toolkit configuration report.
3661 * configure.ac (USE_X_TOOLKIT): Report toolkit as GTK3 if
3662 --with-x-toolkit=gtk3 is used.
3663
3664 2012-07-17 Paul Eggert <eggert@cs.ucla.edu>
3665
3666 Fix regression with pthread_sigmask on FreeBSD (Bug#11884).
3667 * configure.ac: Configure gnulib at the end, not before running
3668 pkg-config. This restores the behavior before 2012-06-22, when
3669 higher-resolution time stamps were added, and fixes a bug whereby
3670 LIB_PTHREAD was not used and gnulib's part of 'configure'
3671 therefore incorrectly assumed that pthread_sigmask wasn't working.
3672 Fix the problem with -lrt and clock_gettime a different way.
3673 This should complete the fix for Bug#11884.
3674 (pre_PKG_CONFIG_CFLAGS, pre_PKG_CONFIG_LIBS): New shell vars.
3675
3676 2012-07-15 Paul Eggert <eggert@cs.ucla.edu>
3677
3678 Merge from gnulib, incorporating:
3679 2012-07-15 pthread_sigmask: fix bug on FreeBSD 9 (Bug#11884)
3680 2012-07-11 gettext: do not assume '#define ... defined ...' behavior
3681
3682 2012-07-14 Glenn Morris <rgm@gnu.org>
3683
3684 * configure.ac (GC_SETJMP_WORKS, GC_MARK_STACK): Move here from src/s.
3685 (AH_BOTTOM): Move GC_SETJMP_WORKS GCC fallback to main body.
3686
3687 2012-07-13 Glenn Morris <rgm@gnu.org>
3688
3689 * configure.ac (opsysfile): Set to empty on gnu, cygwin.
3690
3691 * configure.ac (BSD4_2, BSD_SYSTEM, USG, USG5, _AIX, CYGWIN)
3692 (DARWIN_OS, GNU_LINUX, HPUX, IRIX6_5, SOLARIS2):
3693 Move "system type" macros here from src/s.
3694 (BSD_SYSTEM_AHB): New hack macro.
3695 (AH_BOTTOM): Set BSD_SYSTEM, using BSD_SYSTEM_AHB.
3696
3697 * configure.ac (NSIG_MINIMUM, ULIMIT_BREAK_VALUE, SETUP_SLAVE_PTY)
3698 (GC_MARK_SECONDARY_STACK): Move here from src/s.
3699
3700 2012-07-12 Glenn Morris <rgm@gnu.org>
3701
3702 * configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA
3703 setting here from src/s/darwin.h.
3704
3705 * configure.ac (NO_MATHERR): Unconditionally define for Darwin;
3706 as src/s/darwin.h used to.
3707
3708 * configure.ac (NARROWPROTO, NO_ABORT, BROKEN_GET_CURRENT_DIR_NAME)
3709 (BROKEN_FIONREAD, BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO)
3710 (BROKEN_SIGPOLL, BROKEN_SIGPTY, FIRST_PTY_LETTER, NO_EDITRES)
3711 (G_SLICE_ALWAYS_MALLOC, PREFER_VSUSP, PTY_ITERATION, PTY_OPEN)
3712 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
3713 (SETPGRP_RELEASES_CTTY, TAB3, TABDLY, RUN_TIME_REMAP, UNIX98_PTYS)
3714 (XOS_NEEDS_TIME_H): Move here from src/s.
3715
3716 2012-07-11 Glenn Morris <rgm@gnu.org>
3717
3718 * configure.ac (INTERRUPT_INPUT): Move here from src/s.
3719 (HAVE_PTYS, HAVE_SOCKETS): Define unconditionally.
3720
3721 2012-07-11 Paul Eggert <eggert@cs.ucla.edu>
3722
3723 * configure.ac (tzset): Remove check that's redundant with gnulib.
3724
3725 2012-07-11 Glenn Morris <rgm@gnu.org>
3726
3727 * configure.ac (CLASH_DETECTION): Define unconditionally.
3728
3729 * configure.ac (opsysfile): Use bsd-common on gnu systems.
3730
3731 * configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT)
3732 (SIGNALS_VIA_CHARACTERS): Move here from src/s.
3733
3734 2012-07-11 Paul Eggert <eggert@cs.ucla.edu>
3735
3736 Assume mkdir, rename, rmdir, strerror.
3737 * configure.ac (mkdir, rename, rmdir, strerror): Remove check.
3738
3739 2012-07-11 Glenn Morris <rgm@gnu.org>
3740
3741 * configure.ac (DONT_REOPEN_PTY): Move here from src/s.
3742
3743 * configure.ac (DEFAULT_SOUND_DEVICE): New definition.
3744
3745 2012-07-10 Paul Eggert <eggert@cs.ucla.edu>
3746
3747 Remove "#define unix" that is no longer needed (Bug#11905).
3748 Merge from gnulib to make "#define unix" unnecessary, incorporating:
3749 2012-07-10 getloadavg: clean out old Emacs and Autoconf cruft
3750 2012-07-09 getopt: Simplify after Emacs changed.
3751
3752 2012-07-10 Glenn Morris <rgm@gnu.org>
3753
3754 * configure.ac (DATA_START, DATA_SEG_BITS, PENDING_OUTPUT_COUNT):
3755 Move here from src/s.
3756
3757 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
3758
3759 * configure.ac (PNG_DEPSTRUCT): Define this instead of
3760 PNG_DEPRECATED.
3761
3762 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3763
3764 Add GCC-style 'const' attribute to functions that can use it.
3765 * configure.ac (WARN_CFLAGS): Add -Wsuggest-attribute=const.
3766 (ATTRIBUTE_CONST): New macro, in config.h.
3767
3768 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
3769
3770 * lib/makefile.w32-in: Rework dependencies.
3771 (GNU_LIB, NT_INC, C_CTYPE_H, MS_W32_H, CONFIG_H, FILEMODE_H)
3772 (FTOASTR_H, FTOASTR_C, GETOPT_INT_H, MD5_H, SHA1_H, SHA256_H)
3773 (U64_H, SHA512_H): New macros.
3774 (SRC): Redefine to point to src/, not current directory.
3775 ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
3776 ($(BLD)/c-strncasecmp.$(O), $(BLD)/dtoastr.$(O))
3777 ($(BLD)/dtotimespec.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O))
3778 ($(BLD)/gettime.$(O), $(BLD)/strftime.$(O), $(BLD)/time_r.$(O))
3779 ($(BLD)/timespec-add.$(O), $(BLD)/timespec-sub.$(O), $(BLD)/md5.$(O))
3780 ($(BLD)/sha1.$(O), $(BLD)/sha256.$(O), $(BLD)/sha512.$(O))
3781 ($(BLD)/filemode.$(O)): Update dependencies.
3782
3783 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3784
3785 Merge from gnulib, incorporating:
3786 2012-07-09 timespec: mark functions with const attributes
3787
3788 Rename configure.in to configure.ac (Bug#11603).
3789 The name 'configure.in' has been obsolescent for quite some time,
3790 and the next release of Autoconf will generate warnings for it.
3791 See commit 'v2.69-4-g560f16b' of 2012-05-06, "general: deprecate
3792 'configure.in' as autoconf input" in the Autoconf git repository.
3793 * configure.ac: Rename from configure.in.
3794 * INSTALL, INSTALL.BZR, README, make-dist:
3795 * Makefile.in (AUTOCONF_INPUTS):
3796 * autogen.sh (autoconf_min):
3797 * autogen/update_autogen (sources):
3798 Adjust to reflect new name.
3799
3800 2012-07-08 Paul Eggert <eggert@cs.ucla.edu>
3801
3802 Restore deprecation warnings, except for older libpng.
3803 * configure.in (WARN_CFLAGS): Remove -Wno-deprecated-declarations.
3804 (HAVE_LIBPNG_PNG_H): Don't bother checking for this if we have png.h.
3805 (PNG_DEPRECATED): Define when compiling with older PNG versions.
3806
3807 2012-07-07 Andreas Schwab <schwab@linux-m68k.org>
3808
3809 * configure.in (WARN_CFLAGS): Add -Wno-deprecated-declarations.
3810
3811 2012-07-07 Paul Eggert <eggert@cs.ucla.edu>
3812
3813 Improve static checking when configured --with-ns.
3814 See Samuel Bronson's remarks in
3815 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00146.html>.
3816 * configure.in (WARN_CFLAGS): Omit -Wunreachable-code, as it's
3817 a no-op with recent GCC and harmful in earlier ones.
3818 Omit -Wsync-nand, as it's irrelevant to Emacs and provokes a
3819 warning when compiling with ObjC. Always omit
3820 -Wunsafe-loop-optimizations, as we don't mind when optimization is
3821 being done correctly.
3822
3823 2012-07-07 Glenn Morris <rgm@gnu.org>
3824
3825 * configure.in (BROKEN_SA_RESTART): Doc fix.
3826
3827 * configure.in: Rather than checking for things then undef'ing
3828 them on some platforms, simply don't check for them.
3829 (getwd): Don't check for it on unixware.
3830 (random, rint): Don't check for these on hpux.
3831 (res_init, libresolv): Don't check for these on darwin.
3832
3833 2012-07-07 Juanma Barranquero <lekktu@gmail.com>
3834
3835 * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O),
3836 $(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O).
3837 ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
3838 ($(BLD)/c-strncasecmp.$(O)): New dependencies.
3839
3840 2012-07-06 Paul Eggert <eggert@cs.ucla.edu>
3841
3842 * configure.in: Document --enable-gcc-warnings better.
3843
3844 Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
3845 This is safer than strcasecmp, which has unspecified behavior
3846 outside the POSIX locale and in practice sometimes does not work
3847 in multibyte locales. Similarly for c_strncasecmp and strncasecmp.
3848 * configure.in (strcasecmp, strncasecmp): Remove checks.
3849
3850 * lib/c-ctype.c, lib/c-ctype.h, lib/c-strcase.h, lib/c-strcasecmp.c:
3851 * lib/c-strncasecmp.c: New files, taken from gnulib.
3852 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3853
3854 Merge from gnulib, incorporating:
3855 2012-07-06 timespec-sub: avoid duplicate include
3856 Reported by Juanma Barranquero.
3857
3858 2012-07-06 Glenn Morris <rgm@gnu.org>
3859
3860 * make-dist [update]: Let autoreconf figure out what needs updating.
3861 Use `make info-real'. leim/leim-list.el should always exist.
3862 Check cd return value.
3863
3864 2012-07-06 Paul Eggert <eggert@cs.ucla.edu>
3865
3866 Merge from gnulib. This is for OpenBSD 5.1 amd64.
3867 * m4/sys_time_h.m4: New version from gnulib, incorporating:
3868 2012-07-05 sys_time: allow too-wide tv_sec
3869
3870 2012-07-04 Paul Eggert <eggert@cs.ucla.edu>
3871
3872 Merge from gnulib.
3873 * lib/alloca.in.h: New version from gnulib, incorporating:
3874 2012-07-03 alloca: add support for HP NonStop TNS/E native
3875
3876 2012-07-04 Dmitry Antipov <dmantipov@yandex.ru>
3877
3878 * configure.in: If --enable-gcc-warnings, disable
3879 -Wunsafe-loop-optimizations for -O1 optimization level.
3880
3881 2012-06-30 Glenn Morris <rgm@gnu.org>
3882
3883 * configure.in (standardlisppath): New output variable.
3884 (lisppath): Use standardlisppath.
3885 * Makefile.in (standardlisppath): New, set by configure.
3886 (epaths-force): Use standardlisppath and locallisppath rather than
3887 lisppath.
3888
3889 2012-06-28 Dmitry Antipov <dmantipov@yandex.ru>
3890
3891 * configure.in: Fix previous change. Remove --enable-asserts.
3892 (CPPFLAGS): Remove conditional -DXASSERTS=1.
3893 Add --enable-link-time-optimization.
3894 * INSTALL: Mention this.
3895
3896 2012-06-28 Dmitry Antipov <dmantipov@yandex.ru>
3897
3898 * configure.in: Add glyphs category to --enable-checking option.
3899 (GLYPH_DEBUG): Define if glyphs debugging is enabled.
3900
3901 2012-06-28 Dmitry Antipov <dmantipov@yandex.ru>
3902
3903 * configure.in (ENABLE_CHECKING): Update comment.
3904
3905 2012-06-28 Paul Eggert <eggert@cs.ucla.edu>
3906
3907 * configure.in: Don't check for sys/select.h, sys/time.h, utime.h.
3908 Emacs proper no longer uses these headers, and can rely on Gnulib
3909 for these checks.
3910
3911 Merge from gnulib.
3912 * m4/getopt.m4: Copy new version from gnulib, incorporating:
3913 getopt-posix: No longer guarantee that option processing is resettable.
3914
3915 2012-06-27 Glenn Morris <rgm@gnu.org>
3916
3917 * configure.in: Only check for paxctl on gnu-linux. (Bug#11398#26)
3918
3919 * INSTALL: Remove references to paths.el.
3920
3921 2012-06-26 Eli Zaretskii <eliz@gnu.org>
3922
3923 * lib/makefile.w32-in ($(GNULIBOBJS)): Depend on stamp_BLD.
3924 This replaces separate dependency for each object file, which required
3925 the same object file to be mentioned twice, causing failures in
3926 parallel builds.
3927
3928 2012-06-26 Paul Eggert <eggert@cs.ucla.edu>
3929
3930 Clean out last vestiges of the old HAVE_CONFIG_H stuff.
3931 * lib/makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
3932
3933 2012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
3934
3935 * configure.in (AC_CHECK_FUNCS): Detect library functions
3936 strcasecmp and strncasecmp.
3937
3938 2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
3939
3940 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
3941 We might as well use the spelling standardized by C11,
3942 as in the long run that should simplify maintenance.
3943 * configure.in (NO_RETURN): Remove. All uses replaced by _Noreturn.
3944
3945 2012-06-24 Eli Zaretskii <eliz@gnu.org>
3946
3947 * lib/makefile.w32-in ($(BLD)/dtotimespec.$(O))
3948 ($(BLD)/timespec-add.$(O))
3949 ($(BLD)/timespec-sub.$(O)): Don't depend on
3950 $(EMACS_ROOT)/nt/inc/sys/time.h.
3951
3952 * lib/stat-time.h:
3953 * lib/timespec.h:
3954 * lib/utimens.h: Revert last change.
3955
3956 2012-06-23 Paul Eggert <eggert@cs.ucla.edu>
3957
3958 Merge from gnulib.
3959 * m4/getopt.m4: Copy new version from gnulib, incorporating:
3960 getopt-gnu: Handle suboptimal getopt_long's abbreviation handling.
3961
3962 2012-06-23 Eli Zaretskii <eliz@gnu.org>
3963
3964 Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.
3965 * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/dtotimespec.$(O),
3966 $(BLD)/gettime.$(O), $(BLD)/timespec-add.$(O), and
3967 $(BLD)/timespec-sub.$(O).
3968 ($(BLD)/dtotimespec.$(O))
3969 ($(BLD)/gettime.$(O))
3970 ($(BLD)/timespec-add.$(O))
3971 ($(BLD)/timespec-sub.$(O)): New dependencies.
3972
3973 * lib/stat-time.h:
3974 * lib/timespec.h:
3975 * lib/utimens.h: Include sys/time.h.
3976
3977 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3978
3979 * configure.in: Don't use AC_CHECK_FUNCS_ONCE, which doesn't use
3980 the correct CFLAGS and LIBS.
3981
3982 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3983
3984 Support higher-resolution time stamps (Bug#9000).
3985 * configure.in (gl_ASSERT_NO_GNULIB_POSIXCHECK)
3986 (gl_ASSERT_NO_GNULIB_TESTS, gl_INIT): Move these up earlier, so
3987 that the new clock stuff doesn't clash with RSVG_LIBS.
3988 (AC_CHECK_HEADERS): Don't check for sys/select.h, sys/time.h, utime.h,
3989 as gnulib does that for us now.
3990 (emacs_cv_struct_utimbuf, HAVE_STRUCT_UTIMBUF, HAVE_TIMEVAL)
3991 (GETTIMEOFDAY_ONE_ARGUMENT): Remove; gnulib does these now.
3992 (AC_CHECK_FUNCS): Remove utimes; no longer needed.
3993 * lib/dtotimespec.c, lib/gettime.c, lib/gettimeofday.c, lib/pselect.c:
3994 * lib/stat-time.h, lib/sys_select.in.h, lib/sys_time.in.h:
3995 * lib/timespec-add.c, lib/timespec-sub.c, lib/timespec.h:
3996 * lib/utimens.c, lib/utimens.h, m4/clock_time.m4, m4/gettime.m4:
3997 * m4/gettimeofday.m4, m4/pselect.m4, m4/stat-time.m4:
3998 * m4/sys_select_h.m4, m4/sys_socket_h.m4, m4/sys_time_h.m4:
3999 * m4/timespec.m4, m4/utimbuf.m4, m4/utimens.m4, m4/utimes.m4:
4000 New files, copied automatically from gnulib.
4001 * lib/gnulib.mk, m4/gnulib-comp.m4: Merge from gnulib.
4002
4003 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4004
4005 Merge from gnulib.
4006 * lib/filemode.h, lib/signal.in.h, lib/stat.c, lib/stdint.in.h:
4007 * lib/stdlib.in.h, lib/unistd.in.h, m4/extensions.m4, m4/getloadavg.m4:
4008 * m4/getopt.m4, m4/gnulib-common.m4, m4/largefile.m4, m4/mktime.m4:
4009 * m4/multiarch.m4, m4/nocrash.m4, m4/stdio_h.m4, m4/time_r.m4:
4010 Copy new versions from gnulib, incorporating the following changes:
4011 2012-06-22 time_r: fix typo that always overrode localtime_r decl
4012 2012-06-22 Write "Mac OS X" instead of "MacOS X".
4013 2012-06-21 mktime: fix integer overflow in 'configure'-time test
4014 2012-06-21 nonblocking: Avoid compilation error on mingw64.
4015 2012-06-19 stat, fstat: Avoid warnings on mingw64.
4016 2012-06-19 getopt-gnu: Fix exit code overflow in autoconf test.
4017
4018 2012-06-13 Andreas Schwab <schwab@linux-m68k.org>
4019
4020 * configure.in: Rename --enable-use-lisp-union-type to
4021 --enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE
4022 instead of USE_LISP_UNION_TYPE.
4023
4024 2012-06-12 Glenn Morris <rgm@gnu.org>
4025
4026 * configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs.
4027 (opsysfile): Set specially for sol2-10.
4028
4029 * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS):
4030 New AC_DEFINEs, for hpux11.
4031 (opsysfile): Set specially for hpux11.
4032
4033 2012-06-12 Paul Eggert <eggert@cs.ucla.edu>
4034
4035 * configure.in: Coalesce some function checking.
4036 This makes 'configure' a bit smaller.
4037 Prefer AC_CHECK_FUNCS_ONCE for functions that we always check for.
4038
4039 2012-06-12 Glenn Morris <rgm@gnu.org>
4040
4041 * configure.in (opsysfile): Set specially for gnu-kfreebsd, openbsd.
4042
4043 * configure.in (NO_TERMIO, BROKEN_SIGIO): Move here from src/s.
4044
4045 * configure.in: Anticipate platforms with no src/s file.
4046
4047 2012-06-12 Chong Yidong <cyd@gnu.org>
4048
4049 * configure.in: Check for MagickMergeImageLayers (Bug#11678).
4050
4051 2012-06-11 Glenn Morris <rgm@gnu.org>
4052
4053 * configure.in (SYSTEM_TYPE): New AC_DEFINE.
4054
4055 2012-06-09 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * configure.in (dbus_type_is_valid): Check for library function.
4058
4059 2012-06-06 Glenn Morris <rgm@gnu.org>
4060
4061 * INSTALL, make-dist: Remove vcdiff.
4062
4063 2012-06-03 Glenn Morris <rgm@gnu.org>
4064
4065 * INSTALL, make-dist: Remove rcs-checkin.
4066
4067 2012-06-03 Ulrich Müller <ulm@gentoo.org>
4068
4069 * configure.in (PAXCTL): Check for paxctl. (Bug#11398)
4070
4071 2012-06-01 Paul Eggert <eggert@cs.ucla.edu>
4072
4073 Remove --disable-maintainer-mode option from 'configure'. (Bug#11555)
4074 It is confusingly named and rarely useful. See, for example,
4075 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00089.html>.
4076 * INSTALL.BZR: Don't mention --disable-maintainer-mode.
4077 * Makefile.in (MAINTAINER_MODE_FLAG): Remove; all uses removed.
4078 * configure.in: Remove --disable-maintainer-mode.
4079 (USE_MAINTAINER_MODE, MAINT): Remove.
4080
4081 2012-05-28 Paul Eggert <eggert@cs.ucla.edu>
4082
4083 Make 'configure' a bit smaller and faster.
4084 * configure.in (INSTALL_INFO): Set it with one call to
4085 AC_PATH_PROG, not three.
4086 (PKG_CONFIG): Hoist this out of PKG_CHECK_MODULES, since it's
4087 so likely that it'll be needed.
4088 (AC_CHECK_HEADERS_ONCE): Prefer to AC_CHECK_HEADERS where either works.
4089 (AC_PROG_MAKE_SET): Remove; Automake does this.
4090 (sysinfo): Do not check for this function, as it's never used.
4091 (tzset): Check for this function just once.
4092 * m4/manywarnings.m4: Sync from gnulib, incorporating the following:
4093 2012-05-27 manywarnings: remove duplicate -Wmultichar entry
4094
4095 2012-05-27 Eli Zaretskii <eliz@gnu.org>
4096
4097 * config.bat (lib): Create/update lib/stdalign.in-h and
4098 lib/sys_types.in-h.
4099
4100 * lib/makefile.w32-in ($(BLD)/md5.$(O))
4101 ($(BLD)/sha1.$(O))
4102 ($(BLD)/sha256.$(O))
4103 ($(BLD)/sha512.$(O)): Depend on $(EMACS_ROOT)/nt/inc/stdalign.h.
4104 Suggested by Christoph Scholtes <cschol2112@googlemail.com>.
4105
4106 * lib/getopt_.h: Regenerate.
4107
4108 2012-05-27 Paul Eggert <eggert@cs.ucla.edu>
4109
4110 Assume gnulib does largefile.
4111 Gnulib does the largefile configuration anyway, so when configure.in
4112 invokes AC_SYS_LARGEFILE, that bloats 'configure' unnecessarily.
4113 * configure.in (AC_SYS_LARGEFILE): Remove.
4114 * lib/gnulib.mk: Autoupdate.
4115
4116 2012-05-26 Paul Eggert <eggert@cs.ucla.edu>
4117
4118 Merge from gnulib. (Bug#11527)
4119
4120 The build procedure now creates <stdalign.h> and <sys/types.h> for
4121 older hosts that lack a working <stdalign.h> or whose
4122 <sys/types.h> does not define pid_t, size_t, ssize_t, mode_t.
4123 New symbols such as WINDOWS_64_BIT_OFF_T may require attention in the
4124 msdos and nt builds.
4125
4126 Here is a precis of gnulib changes that seem relevant; please see
4127 the gnulib ChangeLog for details.
4128
4129 2012-05-18 crypto: fix bug in large buffer handling
4130 2012-05-14 ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED
4131 2012-05-10 _Noreturn: port config.h to gcc -Wundef
4132 2012-05-08 warnings.m4: give a means to specify the program to compile
4133 2012-05-07 stdint: be more consistent with glibc, SunOS libc
4134 2012-04-21 Large File Support for native Windows platforms.
4135 2012-04-14 stat: Bypass buggy override in mingw64.
4136 2012-03-29 stdio: don't assume gets any more
4137 2012-03-24 Enable common subexpression optimization in GCC.
4138 2012-02-09 maint: replace FSF snail-mail addresses with URLs
4139 2012-01-30 sys_stat: Fix support for mingw64 and MSVC.
4140 2012-01-28 strtoimax: eliminate need for stdint.h, inttypes.h checks
4141 2012-01-21 stdint: Add support for Android.
4142 2012-01-15 Improve support for MSVC 9.
4143 2012-01-08 mktime: Avoid compilation error on Solaris 11.
4144 2012-01-05 Use ', not `, for quoting output.
4145 2012-01-05 strtoimax: Don't replace systems where intmax_t is int.
4146 2012-01-05 strtoimax: Work around AIX 5.1 bug.
4147 2012-01-05 inttypes: Modernize.
4148 2011-12-13 inttypes, stdint: add C++11 support
4149 2011-11-26 Fix conflict between two instantiations of module 'unistd'.
4150 2011-11-21 _Noreturn: Check that _MSC_VER is defined
4151 2011-11-10 ptsname_r: Avoid compilation error on OSF/1 5.1.
4152 2011-11-09 raise: fix mingw handling of SIGPIPE
4153 2011-10-27 Add stdalign module and use it in other modules.
4154
4155 * lib/stdalign.in.h, lib/sys_types.in.h, m4/off_t.m4, m4/stdalign.m4:
4156 * m4/sys_types_h.m4:
4157 New files.
4158 * build-aux/move-if-change, build-aux/snippet/_Noreturn.h:
4159 * build-aux/snippet/arg-nonnull.h, build-aux/snippet/c++defs.h:
4160 * build-aux/snippet/warn-on-use.h:
4161 * lib/alloca.in.h, lib/allocator.h, lib/careadlinkat.c:
4162 * lib/careadlinkat.h, lib/dosname.h, lib/dup2.c, lib/filemode.c:
4163 * lib/filemode.h, lib/ftoastr.c, lib/ftoastr.h, lib/getloadavg.c:
4164 * lib/getopt.c, lib/getopt.in.h, lib/getopt1.c, lib/getopt_int.h:
4165 * lib/gettext.h, lib/gnulib.mk, lib/ignore-value.h, lib/intprops.h:
4166 * lib/inttypes.in.h, lib/lstat.c, lib/md5.c, lib/md5.h, lib/mktime.c:
4167 * lib/pathmax.h, lib/pthread_sigmask.c, lib/readlink.c, lib/sha1.c:
4168 * lib/sha1.h, lib/sha256.c, lib/sha256.h, lib/sha512.c, lib/sha512.h:
4169 * lib/signal.in.h, lib/sigprocmask.c, lib/stat.c, lib/stdarg.in.h:
4170 * lib/stdbool.in.h, lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h:
4171 * lib/stdlib.in.h, lib/strftime.c, lib/strftime.h, lib/strtoimax.c:
4172 * lib/strtol.c, lib/strtoll.c, lib/strtoul.c, lib/strtoull.c:
4173 * lib/symlink.c, lib/sys_stat.in.h, lib/time.in.h, lib/time_r.c:
4174 * lib/u64.h, lib/unistd.in.h, lib/verify.h, m4/00gnulib.m4:
4175 * m4/alloca.m4, m4/c-strtod.m4, m4/dup2.m4, m4/extensions.m4:
4176 * m4/filemode.m4, m4/getloadavg.m4, m4/getopt.m4, m4/gl-comp.m4:
4177 * m4/gnulib-common.m4, m4/gnulib-tool.m4, m4/include_next.m4:
4178 * m4/inttypes.m4, m4/largefile.m4, m4/longlong.m4, m4/lstat.m4:
4179 * m4/md5.m4, m4/mktime.m4, m4/multiarch.m4, m4/nocrash.m4:
4180 * m4/pathmax.m4, m4/pthread_sigmask.m4, m4/readlink.m4, m4/sha1.m4:
4181 * m4/sha256.m4, m4/sha512.m4, m4/signal_h.m4, m4/signalblocking.m4:
4182 * m4/socklen.m4, m4/ssize_t.m4, m4/st_dm_mode.m4, m4/stat.m4:
4183 * m4/stdarg.m4, m4/stdbool.m4, m4/stddef_h.m4, m4/stdint.m4:
4184 * m4/stdio_h.m4, m4/stdlib_h.m4, m4/strftime.m4, m4/strtoimax.m4:
4185 * m4/strtoll.m4, m4/strtoull.m4, m4/strtoumax.m4, m4/symlink.m4:
4186 * m4/sys_stat_h.m4, m4/time_h.m4, m4/time_r.m4, m4/tm_gmtoff.m4:
4187 * m4/unistd_h.m4, m4/warnings.m4, m4/wchar_t.m4:
4188 Update from gnulib.
4189
4190 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4191
4192 Remove src/m/*.
4193 * configure.in: Remove all mention of src/m/*.
4194 (machine, machfile, M_FILE, config_machfile, and_machfile): Remove.
4195 All uses removed.
4196 (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
4197 (BITS_PER_LONG_LONG): Move to src/lisp.h.
4198 * lib/makefile.w32-in: Remove dependencies on
4199 $(EMACS_ROOT)/src/m/intel386.h.
4200 * make-dist: Don't make links to src/m.
4201
4202 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
4203
4204 * Makefile.in (ACLOCAL_INPUTS): Fix up gnulib-comp.m4 name. (Bug#11529)
4205 Without this further fix, aclocal was being invoked unnecessarily.
4206
4207 2012-05-22 Glenn Morris <rgm@gnu.org>
4208
4209 * Makefile.in (blessmail, install-arch-dep, uninstall):
4210 Check cd lib-src works.
4211 (install-arch-dep, uninstall): Remove unneeded subshells.
4212
4213 2012-05-21 Glenn Morris <rgm@gnu.org>
4214
4215 * update-subdirs: Move to build-aux/.
4216 * make-dist, Makefile.in (install-arch-indep): Update for this change.
4217
4218 * Makefile.in (leimdir): New, set by configure.
4219 (COPYDIR, COPYDESTS): Add leim directories.
4220 (install-leim): Remove.
4221 (install-arch-indep): Handle leim installation directly.
4222
4223 * vpath.sed: Remove unused file.
4224 * make-dist: No more vpath.sed.
4225
4226 2012-05-21 Paul Eggert <eggert@cs.ucla.edu>
4227
4228 Use full name for m4/gnulib-comp.m4. (Bug#11529)
4229 Previously the file was named m4/gl-comp.m4 due to DOS 8+3 restrictions,
4230 even though the file's name in gnulib is m4/gnulib-comp.m4.
4231 This had a problem when merging from gnulib, as the code temporarily
4232 renamed it to the full name, causing problems when interrupted.
4233 Now the file has its full name, with the idea that we will find
4234 a solution for MS-DOS that does not affect the rest of Emacs.
4235 * m4/gnulib-comp.m4: Rename from m4/gl-comp.m4.
4236
4237 Assume C89 or later.
4238 * configure.in (AC_C_PROTOTYPES, AC_C_VOLATILE, AC_C_CONST)
4239 (POINTER_TYPE, PROTOTYPES): Remove.
4240
4241 Make merging from gnulib a script, not a makefile action.
4242 Putting it in a makefile has some problems with reflection, as
4243 merging from gnulib updates 'configure', which can update the makefile.
4244 Putting it in a standalone script breaks this loop.
4245 * Makefile.in (gnulib_srcdir, $(gnulib_srcdir), DOS_gnulib_comp.m4)
4246 (GNULIB_MODULES, GNULIB_TOOL_FLAGS, sync-from-gnulib):
4247 Remove, moving the actions to the script admin/merge-gnulib.
4248
4249 2012-05-21 Glenn Morris <rgm@gnu.org>
4250
4251 * configure.in (LEIM_INSTALLDIR):
4252 Rename to leimdir, treat like lispdir.
4253
4254 2012-05-21 Glenn Morris <rgm@gnu.org>
4255
4256 * Makefile.in (install-arch-indep, install-doc, install-info)
4257 (uninstall): Scrap superfluous subshells.
4258
4259 2012-05-19 Ulrich Müller <ulm@gentoo.org>
4260
4261 * Makefile.in (install-etc): Respect DESTDIR. (Bug#11518)
4262
4263 2012-05-19 Paul Eggert <eggert@cs.ucla.edu>
4264
4265 * configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols,
4266 getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm,
4267 getsockopt, setsockopt, mremap, mempcpy.
4268
4269 * configure.in (machine): Do not set to 'vax', since src/m/vax.h
4270 is being removed.
4271 (AC_CHECK_FUNCS): Remove ftime.
4272
4273 2012-05-19 Glenn Morris <rgm@gnu.org>
4274
4275 * Makefile.in (install-arch-indep): Remove unneeded subshell.
4276
4277 * Makefile.in (install-arch-indep): Remove unneeded chmod.
4278 Set permissions of lisp/subdirs.el.
4279
4280 * Makefile.in (SUBDIR): Add leim. Update users.
4281
4282 * Makefile.in (lib, lib-src, lisp): Check cd return value.
4283
4284 * Makefile.in (leim): No need to set PARALLEL.
4285
4286 2012-05-18 Glenn Morris <rgm@gnu.org>
4287
4288 * Makefile.in (install-arch-indep, install-info, install-man):
4289 Simplify some one-sided ifs.
4290
4291 * Makefile.in: Install only the relevant DOC file.
4292 (install-arch-indep): Delete etc/DOC*.
4293 (install-doc): No more need to delete etc/DOC.
4294
4295 * Makefile.in (install-arch-indep): Split into several rules.
4296 (install-doc, innstall-info, install-man): New rules.
4297
4298 * configure.in (mandir): May as well include it in the NS app bundle.
4299
4300 * configure.in (INSTALL_ARCH_INDEP_EXTRA): New output variable.
4301 * Makefile.in (INSTALL_ARCH_INDEP_EXTRA): New, set by configure.
4302 (install-arch-indep): Don't install-etc for self-contained ns builds.
4303
4304 * configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS) <darwin>:
4305 No longer unconditonally add /sw directories. (Bug#2280)
4306
4307 * Makefile.in (install-arch-dep): Depend on install-arch-indep.
4308 (install-arch-indep): Depend on install-leim.
4309 (install): Remove explicit install-leim dependence.
4310
4311 * Makefile.in (install-arch-indep):
4312 Move last element of mkdir rule here.
4313 (mkdir): Remove rule.
4314
4315 * Makefile.in (install-arch-indep): Remove unneeded chmods.
4316 INSTALL_DATA does this for us.
4317
4318 * Makefile.in (install-arch-dep): Ensure bindir exists.
4319 Drop mkdir dependency.
4320 (install-arch-indep): Ensure docdir, infodir, mandir exist.
4321 (install-leim): Drop mkdir dependency.
4322 (mkdir): Remove most directories, now made in relevant rules.
4323
4324 * Makefile.in (install-arch-indep): Combine adjacent loops.
4325
4326 2012-05-17 Glenn Morris <rgm@gnu.org>
4327
4328 * Makefile.in (install-etc, mkdir):
4329 Make relevant directories in install-etc rather than mkdir.
4330
4331 * Makefile.in (write_subdir): Create the directory if needed.
4332 (install-arch-dep, mkdir): No need to make site-lisp directories.
4333
4334 * Makefile.in (write_subdir): New.
4335 (install-arch-indep, install-arch-dep): Use $write_subdir.
4336
4337 * configure.in (docdir, etcdir, infodir, lispdir):
4338 For a self-contained ns build, set these to the appropriate values.
4339 * Makefile.in (install-arch-dep): No need to move info/ any more.
4340
4341 * configure.in (ns_self_contained): New output variable.
4342 * Makefile.in (ns_self_contained): New, set by configure.
4343 (install-arch-dep): For a self-contained ns build,
4344 don't bother installing binaries then immediately deleting them.
4345
4346 * Makefile.in (ns_appbindir, ns_appresdir):
4347 Move them before things that may refer to them.
4348 (install-arch-dep): No need to relocate self-contained ns libexec.
4349
4350 * configure.in (archlibdir): Set it for self-contained ns builds.
4351 (libexecdir): Don't expand it now (this is mainly cosmetic).
4352
4353 2012-05-16 Paul Eggert <eggert@cs.ucla.edu>
4354
4355 * configure.in: Simplify by removing CPP etc.
4356 (CPP_TEST_OPTIONS, NON_GNU_CPP, cc_specified, SPECIFIED_CFLAGS)
4357 (SPECIFED_CPP, CPP, NON_GNU_CC, AC_PROG_CPP): Remove; not needed.
4358 In particular we no longer need to fiddle with CPP, since we don't
4359 use CPP specially any more.
4360 (gl_EARLY): Invoke this after adjusting CC, so that it uses the
4361 adjusted compiler.
4362 (AC_PROG_INSTALL, AC_PROG_MKDIR_P, AC_PROG_RANLIB): Comment out,
4363 since gl_EARLY and/or Autoconf already does these.
4364
4365 2012-05-16 Glenn Morris <rgm@gnu.org>
4366
4367 * configure.in: Try to fix building with gcc >= 4.6 on Darwin.
4368 (CPP): Do not unconditionally set it on Darwin.
4369 Instead, try to test if -no-cpp-precomp is accepted.
4370 (CPP_TEST_OPTIONS, SPECIFIED_CPP): New. (Bug#9755)
4371
4372 2012-05-15 Glenn Morris <rgm@gnu.org>
4373
4374 * Makefile.in (install-arch-dep): Replace use of MV_DIRS.
4375
4376 * Makefile.in (install-arch-dep): Do not hard-code version number.
4377
4378 * Makefile.in (install-arch-dep): NS install no longer needs to
4379 symlink libexec/* into bin/, since 2012-05-14 ns_init_paths change.
4380
4381 2012-05-12 Glenn Morris <rgm@gnu.org>
4382
4383 * configure.in (ns_appbindir): Remove trailing "/".
4384
4385 * configure.in (AC_PROG_MKDIR_P): Call it, to set MKDIR_P.
4386 (MKDEPDIR): Use $MKDIR_P.
4387 * Makefile.in (MKDIR_P): New, set by configure.
4388 (mkdir): Use $MKDIR_P.
4389
4390 2012-05-11 Glenn Morris <rgm@gnu.org>
4391
4392 * Makefile.in (install-arch-indep): There are no more Makefile.c files.
4393 Use INSTALL_DATA for the DOC file.
4394 Remove dead code for ./lisp that never executes.
4395
4396 2012-05-10 Glenn Morris <rgm@gnu.org>
4397
4398 * configure.in (LEIM_INSTALLDIR): New output variable.
4399
4400 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * .dir-locals.el (log-edit-mode): Enable gnu-style checks.
4403
4404 2012-05-08 Glenn Morris <rgm@gnu.org>
4405
4406 * make-dist: No more doc/lispref/*.el.
4407
4408 2012-05-05 Andreas Schwab <schwab@linux-m68k.org>
4409
4410 * configure.in: Fix quoting bugs.
4411
4412 2012-05-04 Glenn Morris <rgm@gnu.org>
4413
4414 * configure.in (INFO_EXT, INFO_OPTS): New output variables.
4415
4416 2012-05-02 Glenn Morris <rgm@gnu.org>
4417
4418 * configure.in (LD_SWITCH_SYSTEM): Don't try to defeat
4419 the choices made by FreeBSD and NetBSD. (Bug#10313)
4420
4421 * Makefile.in (INFO_FILES): Remove variable.
4422 (INFO_NONMISC): New variable.
4423 (install-arch-indep, uninstall): Don't use $INFO_FILES.
4424
4425 * Makefile.in (uninstall): Remove useless-use-of-for; that for
4426 some reason caused problems on an old Solaris.
4427
4428 * Makefile.in (install-arch-indep, uninstall):
4429 Ensure that INSTALL-type commands are run from top-level.
4430
4431 * info/dir: Make some entries consistent with the source texi files.
4432
4433 * configure.in (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04.
4434
4435 2012-05-02 Glenn Morris <rgm@gnu.org>
4436
4437 * Makefile.in (install-arch-indep):
4438 Combine adjacent install-data and install-info loops.
4439
4440 2012-05-01 Glenn Morris <rgm@gnu.org>
4441
4442 * Makefile.in (MAN_PAGES): Remove.
4443 (install-arch-indep, uninstall): Don't use $MAN_PAGES.
4444
4445 * configure.in: Try libtinfo for tputs.
4446 (LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found. (Bug#9741)
4447
4448 * configure.in: Combine adjacent $opsys case blocks.
4449
4450 * configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2.
4451
4452 * configure.in: Invert the TERMINFO logic,
4453 since "yes" is far more common than "no".
4454
4455 * configure.in (HAVE_LIBNCURSES): Remove; it is required to be true.
4456
4457 * configure.in (LD_SWITCH_X_SITE_RPATH):
4458 Rename from LD_SWITCH_X_SITE_AUX_RPATH.
4459
4460 * configure.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used.
4461
4462 2012-04-26 Glenn Morris <rgm@gnu.org>
4463
4464 * make-dist: No more doc/lispref/tindex.pl.
4465
4466 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4467
4468 * configure.in (dbus_validate_bus_name, dbus_validate_path)
4469 (dbus_validate_interface, dbus_validate_member): Check also for
4470 these library functions.
4471
4472 2012-04-22 Paul Eggert <eggert@cs.ucla.edu>
4473
4474 * configure.in (doug_lea_malloc): Check for __malloc_initialize_hook.
4475 With glibc 2.14 or later, when compiled with GCC 4.7.0's
4476 -Werror=deprecated-declarations flag, use of hooks like
4477 __malloc_initialize_hook causes compilation to fail because these
4478 hooks are deprecated. Modify 'configure' to check for these hooks too.
4479 Simplify the 'configure' code to test for all the hooks at once.
4480 (emacs_cv_var___after_morecore_hook): Remove, replacing with ...
4481 (emacs_cv_var_doug_lea_malloc): ... this new var.
4482
4483 2012-04-21 Paul Eggert <eggert@cs.ucla.edu>
4484
4485 Sync from gnulib version 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc
4486 dated 2011-10-07. Regenerating from current gnulib would be a
4487 pervasive change, and currently the trunk isn't open to such changes.
4488 * configure.in (WARN_CFLAGS): Remove; no longer needed now
4489 that gnulib does it.
4490 * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
4491
4492 2012-04-21 Andreas Schwab <schwab@linux-m68k.org>
4493
4494 * m4/gl-comp.m4: Update. (Bug#11285)
4495
4496 2012-04-20 Ludovic Courtès <ludo@gnu.org>
4497
4498 * configure.in: Don't use the -R option (Bug#11251).
4499
4500 2012-04-18 Paul Eggert <eggert@cs.ucla.edu>
4501
4502 configure: new option --enable-gcc-warnings (Bug#11207)
4503 I have been using this change for many months in my private copy
4504 of Emacs, and have used it to find several bugs. It's mature
4505 enough to publish now.
4506 * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings.
4507 * configure.in: Support --enable-gcc-warnings, in the style of
4508 other GNU packages such as coreutils.
4509 (C_WARNINGS_SWITCH): Remove, replacing with...
4510 (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable.
4511 (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I,
4512 when including system files with GCC.
4513 * INSTALL (DETAILED BUILDING AND INSTALLATION): Likewise.
4514 * lib/Makefile.am (AM_CFLAGS): New macro.
4515 * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib.
4516
4517 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4518
4519 * configure.in (AC_CHECK_FUNCS):
4520 Add getpwent, endpwent, getgrent, endgrent. (Bug#7900)
4521
4522 2012-04-16 Glenn Morris <rgm@gnu.org>
4523
4524 * configure.in (NS_HAVE_NSINTEGER): Remove unnecessary variable.
4525
4526 * configure.in: Remove X libs workaround for old autoconf.
4527
4528 2012-04-12 Ken Brown <kbrown@cornell.edu>
4529
4530 * configure.in: Warn that Cygwin 1.5 is unsupported. (Bug#10398)
4531
4532 2012-04-11 Glenn Morris <rgm@gnu.org>
4533
4534 * configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
4535
4536 2012-04-10 Glenn Morris <rgm@gnu.org>
4537
4538 * configure.in: Conditionally generate admin/unidata/Makefile.
4539
4540 2012-04-09 Teodor Zlatanov <tzz@lifelogs.com>
4541
4542 * info/dir, Makefile.in (INFO_FILES): Add emacs-gnutls manual.
4543
4544 2012-04-09 Glenn Morris <rgm@gnu.org>
4545
4546 * Makefile.in (leim): Check cd return value. Pass fewer variables.
4547 (install-leim): Check cd return value. Pass $MFLAGS.
4548 (install-strip): Pass $MFLAGS.
4549
4550 * configure.in: Require makeinfo >= 4.7. (Bug#10910)
4551 Eg org.texi has been using 4.7 functions for some time.
4552
4553 2012-04-07 Paul Eggert <eggert@cs.ucla.edu>
4554
4555 Check pkg-config exit status when configuring (Bug#10626).
4556 * configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config
4557 works; check its exit status. Reported by Jordi Gutiérrez Hermoso in
4558 <http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00787.html>.
4559
4560 2012-04-07 Glenn Morris <rgm@gnu.org>
4561
4562 * README, configure.in (AC_INIT): Bump version to 24.1.50.
4563
4564 2012-04-07 Eli Zaretskii <eliz@gnu.org>
4565
4566 * lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD.
4567
4568 2012-03-04 Paul Eggert <eggert@cs.ucla.edu>
4569
4570 configure: fix ncurses 'configure' issue on Solaris 10 (Bug#10677)
4571 * configure.in (LIBS_TERMCAP): Default this to the result of
4572 the tputs library search. Do a run-time test for the linkability
4573 of tputs unless cross-compiling, as that's more reliable if the
4574 link flags and libraries are messed up. Don't change LIBS as
4575 a result of the test, as that may mess up later tests.
4576
4577 2012-02-05 Christoph Scholtes <cschol2112@googlemail.com>
4578
4579 * make-dist (README.W32): Include file in source tarball. (Bug#9750)
4580
4581 * lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platform
4582 specific makefiles to support getopt_.h generation with MSVC.
4583
4584 2012-02-04 Glenn Morris <rgm@gnu.org>
4585
4586 * Makefile.in (uninstall):
4587 Handle compressed info files and man pages. (Bug#10718)
4588
4589 2012-02-02 Glenn Morris <rgm@gnu.org>
4590
4591 * configure.in [HAVE_NS]:
4592 Error if use --without-toolkit-scroll-bars. (Bug#10673)
4593
4594 2012-02-01 Paul Eggert <eggert@cs.ucla.edu>
4595
4596 Port to older Solaris 10 versions (Bug#10677).
4597 Bug reported by Chong Yidong for SunOS 5.10 Generic_127111-11 sparc.
4598 I cannot reproduce it on SunOS 5.10 Generic_141444-09 sparc but
4599 possibly this is because Sun fixed the 'stat' bug in my version.
4600 * Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid the pathmax module.
4601 * lib/pathmax.h, m4/pathmax.m4: New files, from gnulib.
4602 * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
4603 These changes are based on gnulib version
4604 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc dated 2011-10-07 20:59:10,
4605 because Emacs is in feature freeze and we do not want to merge any
4606 more-recent changes from gnulib.
4607
4608 2012-01-31 Glenn Morris <rgm@gnu.org>
4609
4610 * configure.in: Throw an explicit error if Motif toolkit was
4611 requested but requirements could not be found.
4612
4613 * configure.in: Allow Emacs to actually be built with xaw scroll-bars.
4614
4615 2012-01-30 Eli Zaretskii <eliz@gnu.org>
4616
4617 * lib/makefile.w32-in ($(BLD)/sha1.$(O) $(BLD)/sha256.$(O)
4618 $(BLD)/sha512.$(O)): Depend on stamp_BLD. Fixes a build failure
4619 with "make -j3".
4620
4621 2012-01-16 Juanma Barranquero <lekktu@gmail.com>
4622
4623 * .bzrignore: Ignore etc/__pycache__.
4624
4625 2011-12-17 Paul Eggert <eggert@cs.ucla.edu>
4626
4627 Port HAVE_PTHREAD configuration to MirBSD 10 (Bug#10201).
4628 * configure.in (HAVE_PTHREAD): Check for pthread_atfork if linking
4629 to gmalloc.c. This should prevent a MirBSD 10 build failure reported
4630 by Nelson H. F. Beebe in
4631 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00065.html>.
4632
4633 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4634
4635 * update-subdirs: Don't set no-byte-compile twice (bug#10260).
4636
4637 2011-12-10 Jan Djärv <jan.h.d@swipnet.se>
4638
4639 * configure.in (HAVE_ALSA, HAVE_GSETTINGS): Save and restore LIBS
4640 instead of LDFLAGS (Bug#10230).
4641
4642 2011-12-03 Paul Eggert <eggert@cs.ucla.edu>
4643
4644 * INSTALL.BZR: Mention configure -C, --disable-maintainer-mode.
4645
4646 Propagate configure flags to sub-configures.
4647 * Makefile.in (cache_file, MAINTAINER_MODE_FLAG, CONFIGUREFLAGS):
4648 New macros.
4649 (config.status, bootstrap): Use them to propagate configure flags
4650 to sub-configures.
4651 * configure.in (cache_file): AC_SUBST this, for Makefile.in.
4652
4653 2011-12-03 Paul Eggert <eggert@cs.ucla.edu>
4654
4655 * .bzrignore: Add config.cache.
4656
4657 2011-11-27 Jan Djärv <jan.h.d@swipnet.se>
4658
4659 * configure.in: Check for gtk_window_set_has_resize_grip.
4660
4661 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
4662
4663 * configure.in (HAVE_XPM): Fix typo.
4664
4665 2011-11-22 Glenn Morris <rgm@gnu.org>
4666
4667 * configure.in (EMACSDATA, EMACSDOC): If set, print, since they can
4668 have confusing effects on the build. (Bug#6401)
4669
4670 * Makefile.in (install-arch-dep): Tweak previous change.
4671
4672 2011-11-22 Yavor Doganov <yavor@gnu.org>
4673
4674 Do not install arch-dependent files in the app bundle if
4675 --disable-ns-self-contained is requested. (Bug#1335)
4676 * configure.in (exec_prefix, libexecdir): Define relative to
4677 `ns_appbindir' only if configured for a self-contained app.
4678 * Makefile.in (install-arch-dep): Test for the existence of
4679 libexec in the Emacs.app bundle before executing commands.
4680
4681 2011-11-20 Andreas Schwab <schwab@linux-m68k.org>
4682
4683 * configure.in: Remove reference to src/m/ibms390.h.
4684
4685 2011-11-13 Glenn Morris <rgm@gnu.org>
4686
4687 * INSTALL: Tiny updates for disk space used during installation.
4688
4689 2011-11-05 Eli Zaretskii <eliz@gnu.org>
4690
4691 * lib/makefile.w32-in (FRC): New dummy target.
4692 (TAGS): Depend on FRC.
4693
4694 2011-11-04 Glenn Morris <rgm@gnu.org>
4695
4696 * configure.in: Increase minimum GnuTLS version to 2.6.6. (Bug#9929)
4697 Do not include GnuTLS version info in final summary message.
4698
4699 2011-10-31 Eli Zaretskii <eliz@gnu.org>
4700
4701 * config.bat: Use config.in and Makefile.in from src/ and lib/, if
4702 they exist there, else from autogen/.
4703
4704 * make-dist (msdos): Add depfiles.bat and inttypes.h.
4705
4706 2011-10-25 Nali Toja <nalitoja@gmail.com> (tiny change)
4707
4708 * configure.in (HAVE_GNU_MAKE): Respect MAKE env-var. (Bug#9868)
4709
4710 2011-10-24 Paul Eggert <eggert@cs.ucla.edu>
4711
4712 * configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852)
4713 if the library is found. Otherwise, later configure-time tests,
4714 such as the test for pthread_sigmask, generate the wrong results
4715 on some platforms. Reported by Nali Toja for FreeBSD.
4716
4717 2011-10-20 Paul Eggert <eggert@cs.ucla.edu>
4718
4719 Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794)
4720 * configure.in (AC_STRUCT_TM, AC_STRUCT_TIMEZONE, HAVE_TM_GMTOFF):
4721 Remove; no longer needed, now that we defer to strftime for time
4722 zone names.
4723
4724 2011-10-18 Jan Djärv <jan.h.d@swipnet.se>
4725
4726 * configure.in (GLIB_REQUIRED, GTK_REQUIRED): Set to 2.10 (Bug#9786).
4727
4728 2011-10-18 Chong Yidong <cyd@gnu.org>
4729
4730 * make-dist: Remove Cocoa/Emacs.xcodeproj from distribution.
4731
4732 2011-10-13 Glenn Morris <rgm@gnu.org>
4733
4734 * configure.in: Also look for tputs in libcurses. (Bug#9736)
4735
4736 2011-10-12 Paul Eggert <eggert@cs.ucla.edu>
4737
4738 * configure.in: Remove check for -lintl (Bug#9713).
4739 The check could break 'configure' on GNU/Linux with a (broken) libintl.
4740 The check was helpful but not essential in Solaris 2.6 (1997),
4741 and is no longer needed in Solaris 8 (2000). Solaris 2.6 is
4742 obsolete -- Sun dropped support for it in 2006 -- and without
4743 access to that Silurian platform we can't maintain the code anyway.
4744
4745 2011-10-07 Paul Eggert <eggert@cs.ucla.edu>
4746
4747 Merge from gnulib, fixing some 'configure' typos (Bug#9696).
4748 * lib/signal.in.h, lib/sigprocmask.c, m4/gl-comp.m4:
4749 * m4/gnulib-common.m4: Merge from gnulib.
4750 Without this, 'configure' would say "func_gl_gnulib_m4code_pathmax:
4751 command not found" on powerpc-apple-darwin9.8.0.
4752
4753 * configure.in (GC_LISP_OBJECT_ALIGNMENT): Remove.
4754 This is now done by src/alloc.c.
4755
4756 2011-10-02 Richard Stallman <rms@gnu.org>
4757
4758 * configure.in: Rename xlinux_first_failure to xgnu_linux_first_failure
4759 and xlinux_second_failure to xgnu_linux_second_failure.
4760
4761 2011-09-29 Eli Zaretskii <eliz@gnu.org>
4762
4763 * .bzrignore: Add ./GNUmakefile.unix, lib/SYS, lib/alloca.in-h,
4764 lib/signal.in-h.
4765
4766 * config.bat: Rename GNUmakefile, so it is not run on MS-DOS.
4767 Rename signal.in.h and alloca.in.h.
4768
4769 2011-09-28 Eli Zaretskii <eliz@gnu.org>
4770
4771 * INSTALL: Mention that m17n libraries and libotf are needed for
4772 Arabic shaping.
4773
4774 2011-09-26 Paul Eggert <eggert@cs.ucla.edu>
4775
4776 Merge from gnulib, improving some licensing wording.
4777 This clarifies and fixes some licensing issues raised by Glenn Morris
4778 <http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00397.html>.
4779 It also merges the latest version of texinfo.tex and has some
4780 MSVC-related changes that don't affect Emacs.
4781 * Makefile.in (GNULIB_TOOL_FLAGS): Avoid msvc-inval, msvc-nothrow,
4782 pathmax, and raise, since these are needed only to address
4783 MSVC-related issues that Emacs doesn't have.
4784 * lib/dup2.c, lib/gnulib.mk, lib/signal.in.h:
4785 * lib/sigprocmask.c, lib/stat.c, lib/stdio.in.h, lib/sys_stat.in.h:
4786 * lib/unistd.in.h, m4/dup2.m4, m4/getloadavg.m4, m4/gl-comp.m4:
4787 * m4/include_next.m4, m4/signal_h.m4, m4/signalblocking.m4:
4788 * m4/stdint.m4, m4/stdio_h.m4, m4/sys_stat_h.m4, m4/time_h.m4:
4789 * m4/unistd_h.m4: Merge from gnulib.
4790
4791 2011-09-26 Andreas Schwab <schwab@linux-m68k.org>
4792
4793 * configure.in: Initialize HAVE_LIBXML2.
4794
4795 2011-09-26 Glenn Morris <rgm@gnu.org>
4796
4797 * make-dist: Add lib/makefile.w32-in.
4798
4799 2011-09-24 Glenn Morris <rgm@gnu.org>
4800
4801 * configure.in (CRT_DIR): Fix netbsd/openbsd handling.
4802
4803 2011-09-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4804
4805 * .dir-locals.el: Change the debbugs regexp to allow having the
4806 bug number as the first thing on a line.
4807
4808 2011-09-15 Glenn Morris <rgm@gnu.org>
4809
4810 * configure.in: Make configure work with recent GNUsteps.
4811 (_NATIVE_OBJC_EXCEPTIONS): New AC_DEFINE.
4812 (GNU_OBJC_CFLAGS): Add -fobjc-exceptions when needed.
4813 (C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers.
4814
4815 2011-09-11 Paul Eggert <eggert@cs.ucla.edu>
4816
4817 Merge from gnulib, porting to Tru64.
4818 * lib/lstat.c, lib/stat.c, m4/include_next.m4, m4/nocrash.m4:
4819 * m4/signal_h.m4, m4/time_h.m4, m4/unistd_h.m4:
4820 Merge from gnulib. This fixes a compilation error on Tru64 UNIX
4821 aka OSF/1 5.1 DTK cc. There is also some mingw stuff here that
4822 doesn't affect Emacs.
4823
4824 2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
4825
4826 * configure.in (isnan): Remove now-unnecessary check.
4827
4828 2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
4829
4830 Merge from gnulib, using build-aux to remove clutter (Bug#9169).
4831 This is to fix the following problems:
4832 . On FreeBSD 6.4, HP-UX 11.31, and Solaris 9, and when Emacs is
4833 configured not to use gtk or any other thread-using library,
4834 signals aren't blocked correctly.
4835 . On IRIX 6.5 it fixes an unwanted clash between Emacs's
4836 and IRIX's signal handling.
4837 . On Cygwin 1.7.5 it works around an incompatibility with
4838 the system pthread_sigmask.
4839 . On MacOS X 10.5 (32-bit), files whose inode numbers
4840 exceed 2**31 cannot be read or manipulated.
4841 . pthread_sigmask: Actually use results of gl_THREADLIB.
4842 . strtoimax, strtoumax: Avoid link error on OSF/1 with DTK cc.
4843 . find 'ar' program that fits with --host argument.
4844 . Allow the user to override the choice of AR, ARFLAGS, RANLIB.
4845 * autogen/README: Update destination list.
4846 * autogen/copy_autogen, autogen/update_autogen, .bzrignore:
4847 The autogenerated files compile, config.guess,
4848 config.sub, depcomp, install-sh, and missing are now in build-aux.
4849 * m4/largefile.m4: New file, so that Emacs does not mess up when
4850 accessing files with large inode numbers in MacOS X 10.5 and later.
4851 * m4/nocrash.m4: New file, to avoid triggering background debugger
4852 and/or create core dumps during 'configure'.
4853 * build-aux/move-if-change: Renamed from move-if-change.
4854 * build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
4855 * build-aux/snippet/c++defs.h: Renamed from c++defs.h.
4856 * build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
4857 * build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
4858 * Makefile.in (epaths-force, sync-from-gnulib):
4859 move-if-change is now in build-aux.
4860 (GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
4861 of gnulib's pthread_sigmask module, but Emacs doesn't need it.
4862 (mkdir): install-sh is now in build-aux.
4863 * config.bat: c++defs.h is now in build-aux/snippets.
4864 * configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the
4865 usual parameter).
4866 * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
4867 * lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
4868 to build-aux/snippet.
4869 * lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4:
4870 * m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
4871 Merge from gnuilib. This fixes porting bugs on Cygwin, Irix, and
4872 Solaris, enables MacOS extensions, and enables nocrash during
4873 'configure'.
4874 * make-dist: Adjust to new build-aux and build-aux/snippit dirs.
4875
4876 2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
4877
4878 * configure.in (snprintf): New check.
4879
4880 2011-08-30 Paul Eggert <eggert@cs.ucla.edu>
4881
4882 * configure.in (opsys): Change pattern to *-*-linux*
4883 to recognize powerpc-gnu-linux-uclibc (Bug#9403).
4884 Remove unreachable pattern hppa*-*-linux-gnu*.
4885 Also, remove ia64*-hp-hpux1[1-9]*, as it also sets machine=hp800,
4886 and that can't possibly work now that src/m/hp800.h no longer exists.
4887
4888 2011-08-26 Jan Djärv <jan.h.d@swipnet.se>
4889
4890 * configure.in: Add -MP to DEPFLAGS (Bug#9372).
4891
4892 2011-08-13 Jan Djärv <jan.h.d@swipnet.se>
4893
4894 * configure.in: Add header check: sys/socket.h (Bug#8477),
4895 ifaddrs.h, net/if_dl.h. Check for getifaddrs and freeifaddrs.
4896 Check for sa_len in struct ifreq.ifr_addr (Bug#8477).
4897
4898 2011-08-04 Jan Djärv <jan.h.d@swipnet.se>
4899
4900 * configure.in (HAVE_PTHREAD): Add check for -lpthread (Bug#9216).
4901 (HAVE_GTK_AND_PTHREAD): Remove.
4902
4903 2011-07-28 Alp Aker <alp.tekin.aker@gmail.com>
4904
4905 * configure.in (HAVE_RSVG): Allow use of -lrsvg-2 for any NextStep
4906 build, not just GNUstep (Bug#9177).
4907
4908 2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
4909
4910 Assume freestanding C89 headers, string.h, stdlib.h.
4911 Again, this simplifies the code, and all current platforms have these.
4912 * configure.in (AC_CHECK_HEADERS): Don't check for limits.h.
4913 (AC_HEADER_STDC): Remove.
4914 (AC_CHECK_FUNCS): No need to check for strchr, strrchr.
4915 (strchr, strrchr): Remove fallback macros.
4916
4917 Assume support for memcmp, memcpy, memmove, memset.
4918 This simplifies the code a bit. All current platforms have these,
4919 as they are required for C89. If this turns into a problem we
4920 can add the gnulib modules for these (a 1-line change to Makefile.in).
4921 * configure.in: Don't check for memcmp, memcpy, memmove, memset.
4922
4923 2011-07-27 Paul Eggert <eggert@cs.ucla.edu>
4924
4925 * GNUmakefile: New file.
4926 This is for convenience, so that one can run GNU make in an
4927 unconfigured source tree, and get a default build.
4928
4929 2011-07-13 Jan Djärv <jan.h.d@swipnet.se>
4930
4931 * configure.in (GSETTINGS): Check for gio-2.0 >= 2.26.
4932
4933 2011-07-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4934
4935 * configure.in (LD_SWITCH_SYSTEM_TEMACS): Add -fno-pie on Darwin
4936 so as to suppress address randomization (Bug#8395).
4937
4938 2011-07-09 Paul Eggert <eggert@cs.ucla.edu>
4939
4940 * lib/stdint.in.h: Merge from gnulib (Bug#9025).
4941 This fixes a build problem on older Mac OS X hosts.
4942
4943 * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB
4944 test, which runs afoul of Automake installations where, for example,
4945 /usr/share/aclocal contains a copy of gl_THREADLIB.
4946 Reported by Sven Joachim in
4947 <http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00529.html>.
4948 This is just a quick temporary fix, specific to Emacs; I'll work
4949 with the other gnulib maintainers to get a more-permanent fix.
4950
4951 Add gnulib's strtoimax module, needed on Solaris 8.
4952 * Makefile.in (GNULIB_MODULES): Add strtoimax.
4953 * lib/strtoll.c, m4/strtoimax.m4, m4/strtoll.m4: New files,
4954 automatically imported from gnulib.
4955 * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
4956
4957 2011-07-08 Paul Eggert <eggert@cs.ucla.edu>
4958
4959 Add gnulib support for pthread_sigmask (Bug#9010).
4960 * Makefile.in (GNULIB_MODULES): Add pthread_sigmask.
4961 * configure.in (AC_TYPE_UID_T): New dummy macro.
4962 Configure gnulib after adjusting LIBS,
4963 so that gnulib can assume the libraries in LIBS.
4964 * lib/signal.in.h, m4/pthread_sigmask.m4, m4/signal_h.m4:
4965 * lib/pthread_sigprocmask.c, lib/sigprocmask.c, m4/signalblocking.m4:
4966 * lib/pthread_sigmask.c:
4967 New files, automatically imported from gnulib.
4968 * lib/gnulib.mk, m4/gl-comp.m4: Automatically-imported update
4969 due to the above changes.
4970 * .bzrignore: Add lib/signal.h.
4971
4972 * lib/getopt.c, lib/unistd.in.h, m4/getopt.m4: Merge from gnulib.
4973
4974 2011-07-07 Andreas Schwab <schwab@linux-m68k.org>
4975
4976 * configure.in (maintainer-mode): Reflect default in help string.
4977
4978 2011-07-07 Dan Nicolaescu <dann@ics.uci.edu>
4979
4980 * configure.in: Remove reference to iris4d.h.
4981
4982 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4983
4984 * configure.in (HAVE_GCONF): Allow both HAVE_GCONF and HAVE_GSETTINGS.
4985
4986 2011-07-01 Glenn Morris <rgm@gnu.org>
4987
4988 * configure.in (SETTINGS_CFLAGS, SETTINGS_LIBS) [HAVE_GCONF]: Fix typo.
4989
4990 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4991
4992 * configure.in (HAVE_GSETTINGS): Fix syntax for GSETTINGS tests,
4993 which made ./configure infloop.
4994
4995 2011-06-30 Jan Djärv <jan.h.d@swipnet.se>
4996
4997 * configure.in (gsettings): New option and check for GSettings.
4998
4999 2011-06-29 Glenn Morris <rgm@gnu.org>
5000
5001 * configure.in: Try to test for the required crt*.o files.
5002
5003 2011-06-27 Bill Wohler <wohler@newt.com>
5004
5005 * .bzrignore: Add lisp/mh-e/mh-autoloads.el and lisp/mh-e/mh-cus-load.el.
5006
5007 2011-06-25 Paul Eggert <eggert@cs.ucla.edu>
5008
5009 Use gnulib's dup2 module instead of rolling our own.
5010 * Makefile.in (GNULIB_MODULES): Add dup2.
5011 * configure.in: Do not check for dup2; gnulib does that now.
5012 * lib/dup2.c, m4/dup2.m4: New files, from gnulib.
5013
5014 2011-06-23 Paul Eggert <eggert@cs.ucla.edu>
5015
5016 * lib/getopt.c, lib/stat.c, m4/gl-comp.m4: Merge from gnulib.
5017
5018 2011-06-22 Paul Eggert <eggert@cs.ucla.edu>
5019
5020 Use gnulib's alloca-opt module.
5021 * .bzrignore: Add lib/alloca.h.
5022 * Makefile.in (GNULIB_MODULES): Add alloca-opt.
5023 * configure.in (AC_FUNC_ALLOCA): Remove almost all the alloca stuff,
5024 as gnulib now does that for us. Put alloca check in config.h.
5025 Include <alloca.h> before any other include file, for AIX 3.
5026 * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
5027 * lib/alloca.in.h, m4/alloca.m4: New files, from gnulib.
5028
5029 2011-06-21 Leo Liu <sdl.web@gmail.com>
5030
5031 * m4/sha256.m4:
5032 * m4/sha512.m4:
5033 * m4/gl-comp.m4:
5034 * lib/u64.h:
5035 * lib/sha256.c:
5036 * lib/sha256.h:
5037 * lib/sha512.c:
5038 * lib/sha512.h:
5039 * lib/makefile.w32-in (GNULIBOBJS):
5040 * lib/gnulib.mk:
5041 * Makefile.in (GNULIB_MODULES): Add crypto/sha256 and
5042 crypto/sha512 modules from gnulib.
5043
5044 2011-06-19 Paul Eggert <eggert@cs.ucla.edu>
5045
5046 * lib/unistd.in.h, m4/getloadavg.m4: Merge from gnulib.
5047
5048 2011-06-17 Glenn Morris <rgm@gnu.org>
5049
5050 * configure.in: Restore the behavior of checking crt-dir only
5051 when the user specified it (not all platforms use it).
5052
5053 2011-06-16 Paul Eggert <eggert@cs.ucla.edu>
5054
5055 * m4/lstat.m4: Merge from gnulib (Bug#8878).
5056
5057 2011-06-16 Miles Bader <miles@gnu.org>
5058
5059 * configure.in: Try to determine CRT_DIR automatically when
5060 using gcc.
5061
5062 2011-06-15 Paul Eggert <eggert@cs.ucla.edu>
5063
5064 * lib/ftoastr.c, lib/stdio.in.h, lib/verify.h:
5065 * lib/gnulib.mk, m4/c-strtod.m4, m4/filemode.m4, m4/getloadavg.m4:
5066 * m4/getopt.m4, m4/gl-comp.m4, m4/lstat.m4, m4/md5.m4, m4/mktime.m4:
5067 * m4/readlink.m4, m4/sha1.m4, m4/stat.m4, m4/strftime.m4:
5068 * m4/strtoull.m4, m4/strtoumax.m4, m4/symlink.m4, m4/time_r.m4:
5069 Merge from gnulib.
5070
5071 2011-06-14 Jan Djärv <jan.h.d@swipnet.se>
5072
5073 * configure.in: Add emacsgtkfixed.o to GTK_OBJ if HAVE_GTK3.
5074
5075 2011-06-08 Paul Eggert <eggert@cs.ucla.edu>
5076
5077 * lib/gnulib.mk, m4/gnulib-common.m4: Merge from gnulib.
5078
5079 2011-06-07 Paul Eggert <eggert@cs.ucla.edu>
5080
5081 * configure.in: Add --with-wide-int.
5082 * INSTALL: Mention this.
5083
5084 2011-06-06 Paul Eggert <eggert@cs.ucla.edu>
5085
5086 Merge from gnulib.
5087 * lib/careadlinkat.c, lib/careadlinkat.h, m4/gnulib-common.m4: Merge.
5088
5089 2011-06-02 Paul Eggert <eggert@cs.ucla.edu>
5090
5091 * lib/allocator.h, lib/careadlinkat.c: Merge from gnulib.
5092
5093 2011-05-30 Paul Eggert <eggert@cs.ucla.edu>
5094
5095 Use 'inline', not 'INLINE'.
5096 * configure.in (INLINE): Remove.
5097
5098 2011-05-29 Paul Eggert <eggert@cs.ucla.edu>
5099
5100 Adjust to recent gnulib change for @GUARD_PREFIX@.
5101 * lib/makefile.w32-in (getopt_h): Substitute @GUARD_PREFIX@, too.
5102 All uses of _GL_ for guard prefixes in lib/*.h replaced with
5103 _@GUARD_PREFIX@_.
5104
5105 2011-05-27 Paul Eggert <eggert@cs.ucla.edu>
5106
5107 * lib/getopt.c, lib/intprops.h: Merge from gnulib.
5108
5109 2011-05-24 Glenn Morris <rgm@gnu.org>
5110
5111 * Makefile.in (check): Just give a message if no test/ directory.
5112
5113 * configure.in: Avoid using variables inside AC_CONFIG_FILES.
5114
5115 * configure.in (OPT_MAKEFILES_IN): Remove.
5116 (SUBDIR_MAKEFILES): New variable, passed to AC_CONFIG_FILES.
5117 (SUBDIR_MAKEFILES_IN): New output variable.
5118 * Makefile.in (OPT_MAKEFILES_IN): Remove.
5119 (SUBDIR_MAKEFILES_IN): Let configure set it.
5120
5121 2011-05-24 Leo Liu <sdl.web@gmail.com>
5122
5123 * m4/sha1.m4:
5124 * m4/gl-comp.m4:
5125 * lib/sha1.h:
5126 * lib/sha1.c:
5127 * lib/makefile.w32-in (GNULIBOBJS):
5128 * lib/gnulib.mk:
5129 * Makefile.in (GNULIB_MODULES): Add crypto/sha1 module.
5130
5131 2011-05-24 Glenn Morris <rgm@gnu.org>
5132
5133 * configure.in: Remove test for already configured source directory.
5134 AM_INIT_AUTOMAKE has already done a more stringent test. (Bug#953)
5135
5136 * Makefile.in (TAGS, tags, check): Pass MFLAGS to sub-makes.
5137
5138 2011-05-24 Glenn Morris <rgm@gnu.org>
5139
5140 * make-dist: Don't distribute test/. (Bug#8107)
5141 * configure.in (OPT_MAKEFILES_IN): New output variable.
5142 (AC_CONFIG_FILES): Conditionally include test/automated/Makefile.
5143 * Makefile.in (OPT_MAKEFILES_IN): New, set by configure.
5144 (SUBDIR_MAKEFILES_IN): Use $OPT_MAKEFILES_IN.
5145 (check): Give an explicit error if test/ is not present.
5146
5147 * Makefile.in (SUBDIR_MAKEFILES_IN): New variable.
5148 (SUBDIR_MAKEFILES): Derive from $SUBDIR_MAKEFILES_IN.
5149 (Makefile): Use $SUBDIR_MAKEFILES_IN.
5150
5151 2011-05-23 Paul Eggert <eggert@cs.ucla.edu>
5152
5153 * lib/verify.h: Merge from gnulib.
5154
5155 2011-05-22 Paul Eggert <eggert@cs.ucla.edu>
5156
5157 * lib/intprops.h, lib/stdint.in.h, m4/mktime.m4, m4/readlink.m4:
5158 Merge from gnulib.
5159
5160 2011-05-21 Andreas Schwab <schwab@linux-m68k.org>
5161
5162 * Makefile.in (AUTOMAKE_INPUTS): Add $(srcdir)/lib/gnulib.mk.
5163
5164 2011-05-20 Eli Zaretskii <eliz@gnu.org>
5165
5166 * .bzrignore: Add lib/stdio.in-h, lib/stdbool.h, and lib/stdint.h.
5167
5168 * config.bat: Concatenate lisp.mk onto the end of src/Makefile.
5169
5170 2011-05-20 Glenn Morris <rgm@gnu.org>
5171
5172 * configure.in (lisp_frag): New output file.
5173
5174 2011-05-19 Glenn Morris <rgm@gnu.org>
5175
5176 * configure.in (NS_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
5177 (WINDOW_SUPPORT): Remove output variables that are no longer used.
5178
5179 2011-05-17 Paul Eggert <eggert@cs.ucla.edu>
5180
5181 * lib/gnulib.mk:
5182 * lib/intprops.h:
5183 * lib/unistd.in.h:
5184 * m4/inttypes.m4:
5185 * m4/stdint.m4:
5186 * m4/unistd_h.m4: Sync from gnulib.
5187
5188 2011-05-14 Glenn Morris <rgm@gnu.org>
5189
5190 * configure.in: Treat failure to find an X toolkit the same way we treat
5191 failure to find X and image support.
5192
5193 2011-05-12 Glenn Morris <rgm@gnu.org>
5194
5195 * Makefile.in (src, install-arch-indep, bootstrap-clean)
5196 (check-declare): Shell portability fixes. (Bug#8642)
5197
5198 2011-05-09 Teodor Zlatanov <tzz@lifelogs.com>
5199
5200 * configure.in: Require GnuTLS 2.6.x or higher.
5201
5202 2011-05-06 Paul Eggert <eggert@cs.ucla.edu>
5203
5204 Use C99's va_copy to avoid undefined behavior on x86-64 GNU/Linux.
5205 * Makefile.in (GNULIB_MODULES): Add stdarg, for va_copy.
5206 * lib/stdarg.in.h, m4/stdarg.m4: New files, from gnulib.
5207
5208 * Makefile.in (GNULIB_TOOL_FLAG): Add --conditional-dependencies.
5209 This new gnulib-tool option saves 'configure' the trouble of
5210 checking for strtoull when strtoumax exists.
5211
5212 * configure.in (BITS_PER_LONG_LONG): New macro.
5213
5214 2011-05-05 Glenn Morris <rgm@gnu.org>
5215
5216 * Makefile.in (bootstrap-clean): Save config.log. (Bug#765)
5217 (top_distclean): Delete config.log~.
5218
5219 2011-04-27 Ben Key <bkey76@gmail.com>
5220
5221 * configure.in: Fixed a bug that caused configure with
5222 --enable-checking=stringoverrun to have no effect.
5223
5224 2011-04-26 Paul Eggert <eggert@cs.ucla.edu>
5225
5226 * configure.in: Suppress unnecessary checks for size_t.
5227 (AC_TYPE_SIZE_T): Define an empty macro, to suppress obsolescent test.
5228 (size_t): Do not check for this, and do not typedef. This code
5229 is never exercised now.
5230
5231 * Makefile.in (GNULIB_MODULES): Add strtoumax.
5232 This is needed for the new integer-reading code in lread.c.
5233 It automatically pulls in the following gnulib files, which
5234 are used on old-fashioned platforms that don't have strtoumax:
5235 lib/inttypes.in.h, lib/strtoimax.c, lib/strtol.c, lib/strtoul.c,
5236 lib/strtoull.c, lib/strtoumax.c, lib/verify.h, m4/inttypes.m4,
5237 m4/strtoull.m4, m4/strtoumax.m4.
5238 * .bzrignore: Add lib/inttypes.h.
5239
5240 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
5241
5242 * configure.in: Check for GnuTLS certificate verify callbacks.
5243
5244 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5245
5246 * Makefile.in (config.status): Don't erase in case of error.
5247 In case it disappeared, rebuild it with `configure'.
5248
5249 2011-04-20 Ken Brown <kbrown@cornell.edu>
5250
5251 * configure.in (use_mmap_for_buffers): Set to yes on Cygwin.
5252
5253 2011-04-12 Glenn Morris <rgm@gnu.org>
5254
5255 * configure.in: Require ImageMagick >= 6.2.8. (Bug#7955)
5256
5257 2011-04-09 Paul Eggert <eggert@cs.ucla.edu>
5258
5259 * lib/allocator.c: New file, automatically generated by gnulib.
5260
5261 2011-04-07 Glenn Morris <rgm@gnu.org>
5262
5263 * autogen/update_autogen: Ignore comment diffs in ldefs-boot.el.
5264
5265 2011-04-06 Eli Zaretskii <eliz@gnu.org>
5266
5267 * lib/makefile.w32-in ($(BLD)/careadlinkat.$(O), GNULIBOBJS):
5268 Revert last change.
5269
5270 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
5271
5272 * lib/makefile.w32-in (GNULIBOBJS): Add careadlinkat.$(O).
5273 ($(BLD)/careadlinkat.$(O)): New target.
5274 ($(BLD)/dtoastr.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O))
5275 ($(BLD)/strftime.$(O), $(BLD)/time_r.$(O), $(BLD)/md5.$(O)):
5276 Update dependencies.
5277
5278 2011-04-06 Paul Eggert <eggert@cs.ucla.edu>
5279
5280 Fix more problems found by GCC 4.6.0's static checks.
5281
5282 * configure.in (ATTRIBUTE_FORMAT, ATTRIBUTE_FORMAT_PRINTF): New macros.
5283
5284 Replace 2 copies of readlink code with 1 gnulib version (Bug#8401).
5285 * Makefile.in (GNULIB_MODULES): Add careadlinkat.
5286 * lib/allocator.h, lib/careadlinkat.c, lib/careadlinkat.h:
5287 * m4/ssize_t.m4: New files, automatically generated from gnulib.
5288
5289 2011-04-06 Glenn Morris <rgm@gnu.org>
5290
5291 * autogen/update_autogen: Handle loaddefs-like files as well.
5292 (usage): Add -l, -C.
5293 (clean, ldefs_flag, ldefs_in, ldefs_out): New variables.
5294 With -l, check status of lisp/ as well.
5295 With -C, clean before building.
5296 (autoreconf): Only pass -f in the `clean' case.
5297 (commit): New function.
5298
5299 2011-03-28 Glenn Morris <rgm@gnu.org>
5300
5301 * autogen/update_autogen: Pass -f to autoreconf.
5302
5303 * autogen.sh (get_version): Discard "not found" lines.
5304 (check_version): Respect $AUTOCONF etc environment variables.
5305
5306 2011-03-27 Glenn Morris <rgm@gnu.org>
5307
5308 * configure.in (AC_TYPE_SIGNAL): Remove obsolete macro.
5309 (AH_BOTTOM): Do not define SIGTYPE.
5310
5311 2011-03-26 Glenn Morris <rgm@gnu.org>
5312
5313 * configure.in: Replace obsolete macros AC_TRY_COMPILE, AC_TRY_LINK,
5314 AC_TRY_RUN with AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE.
5315
5316 2011-03-25 Andreas Schwab <schwab@linux-m68k.org>
5317
5318 * autogen/update_autogen: Remove useless function keyword.
5319
5320 2011-03-25 Eli Zaretskii <eliz@gnu.org>
5321
5322 * config.bat: Generate src/config.h and lib/Makefile from
5323 autogen/config.in and autogen/Makefile.in.
5324
5325 2011-03-25 Glenn Morris <rgm@gnu.org>
5326
5327 * compile, config.guess, config.sub, depcomp, install-sh, missing:
5328 Remove; autoreconf can supply them.
5329 * Makefile.in (sync-from-gnulib): Don't sync config.sub,
5330 config.guess, install-sh. Pass -i to autoreconf.
5331 * autogen/update_autogen (genfiles): Add compile, config.guess,
5332 config.sub, depcomp, install-sh, missing. Pass -i to autoreconf.
5333 Discard non-error output from autoreconf in -q case.
5334 * autogen/compile, autogen/config.guess, autogen/config.sub:
5335 * autogen/depcomp, autogen/install-sh, autogen/missing: New.
5336 * autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp,
5337 install-sh, missing.
5338
5339 2011-03-23 Glenn Morris <rgm@gnu.org>
5340
5341 * autogen/update_autogen: Fix typo.
5342 (msg): Remove function; use `exec' instead.
5343
5344 * Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs.
5345 (sync-from-gnulib): Don't sync mkinstalldirs.
5346 * make-dist: Don't distribute mkinstalldirs.
5347
5348 2011-03-23 Paul Eggert <eggert@cs.ucla.edu>
5349
5350 Fix more problems found by GCC 4.5.2's static checks.
5351 * Makefile.in (GNULIB_MODULES): Add socklen.
5352 * configure.in: Do not check for sys/socket.h, since socklen does that.
5353 * m4/socklen.m4: New automatically-generated file, from gnulib.
5354
5355 fakemail: Remove dependency on ignore-value.
5356 * Makefile.in (GNULIB_MODULES): Add stdio.
5357 * lib/stdio.in.h, m4/stdio_h.m4: New files, automatically
5358 imported from gnulib.
5359 * .bzrignore: Add lib/stdio.h.
5360
5361 2011-03-22 Glenn Morris <rgm@gnu.org>
5362
5363 * autogen/copy_autogen: Work from ./ or ../.
5364 Fix time-stamps.
5365 * autogen.sh: Doc fix.
5366
5367 2011-03-20 Glenn Morris <rgm@gnu.org>
5368
5369 * autogen/: New directory, to be excluded from releases.
5370 * autogen/copy_autogen, autogen/update_autogen: New scripts.
5371 * autogen/README: New file.
5372 * autogen/aclocal.m4, autogen/config.in, autogen/configure:
5373 * autogen/Makefile.in: Add auto-updated generated files.
5374 * autogen.sh: No longer a no-op, now it tests for autotools
5375 and runs them as necessary.
5376 * configure.in: Default maintainer-mode to on.
5377 * aclocal.m4, configure, lib/Makefile.in: Remove files.
5378
5379 2011-03-13 Paul Eggert <eggert@cs.ucla.edu>
5380
5381 Update for gnulib.
5382 * Makefile.in (GNULIB_MODULES): Add intprops, as Emacs now
5383 includes <intprops.h> directly.
5384 * lib/sys_stat.in.h: New version from Gnulib, which fixes a bug
5385 when building Emacs on Solaris 9 and running it on Solaris 10.
5386
5387 2011-03-08 Jan Djärv <jan.h.d@swipnet.se>
5388
5389 * configure.in: Require 3.0 for --with-gtk3. Add HAVE_GTK3.
5390
5391 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
5392
5393 * Version 23.3 released.
5394
5395 2011-03-06 Glenn Morris <rgm@gnu.org>
5396
5397 * configure.in (FREETYPE_LIBS): Actually set it to something.
5398
5399 2011-03-02 Paul Eggert <eggert@cs.ucla.edu>
5400
5401 Work around some portability problems with symlinks.
5402
5403 * Makefile.in (GNULIB_MODULES): Add lstat, readlink, symlink.
5404 * configure.in (lstat, HAVE_LSTAT): Remove special hack.
5405 * lib/dosname.h, lib/lstat.c, lib/readlink.c, lib/stat.c:
5406 * lib/symlink.c, m4/lstat.m4, m4/readlink.m4, m4/stat.m4:
5407 * m4/symlink.m4:
5408 New files, automatically generated from gnulib.
5409 * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk:
5410 * m4/gl-comp.m4, src/config.in, config.sub: Regenerate.
5411
5412 2011-02-26 Eli Zaretskii <eliz@gnu.org>
5413
5414 * .bzrignore: Ignore new lib/*.in-h files.
5415
5416 * config.bat: Rename stdint.in.h and sys_stat.in.h.
5417 Call depfiles.bat even if lib/deps already exist.
5418
5419 2011-02-25 Paul Eggert <eggert@cs.ucla.edu>
5420
5421 * configure, lib/Makefile.in, lib/getopt_int.h, lib/gnulib.mk:
5422 * lib/stdlib.in.h, m4/stdlib_h.m4: Regenerate to incorporate
5423 recent changes to configure.in and to gnulib.
5424
5425 2011-02-24 Glenn Morris <rgm@gnu.org>
5426
5427 * configure.in: Replace obsolete AC_OUTPUT() with AC_CONFIG_FILES(),
5428 AC_CONFIG_COMMANDS(), and AC_OUTPUT sans arguments.
5429
5430 2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
5431
5432 Assume S_ISLNK etc. work, since gnulib supports this.
5433 * Makefile.in (GNULIB_MODULES): Add sys_stat.
5434 * configure.in: Check for lstat and set HAVE_LSTAT=0 if not.
5435 Pretend to be using the gnulib lstat module for benefit of sys/stat.h.
5436 * configure, lib/Makefile.in, lib/gnulib.mk: Regenerate.
5437
5438 2011-02-21 Paul Eggert <eggert@cs.ucla.edu>
5439
5440 * lib/min-max.h: New file, for "min" and "max".
5441
5442 2011-02-21 Christoph Scholtes <cschol2112@gmail.com>
5443
5444 * lib/makefile.w32-in ($(BLD)/md5.$(O)): Add dependency on
5445 $(EMACS_ROOT)/nt/inc/stdint.h.
5446
5447 2011-02-21 Eli Zaretskii <eliz@gnu.org>
5448
5449 * lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from
5450 src/makefile.w32-in and adapt. Depend on stamp_BLD.
5451 (GNULIBOBJS): Add $(BLD)/filemode.$(O).
5452
5453 2011-02-21 Paul Eggert <eggert@cs.ucla.edu>
5454
5455 Import filemode module from gnulib.
5456 * .bzrignore: Add lib/sys/.
5457 * Makefile.in (GNULIB_MODULES): Add filemode.
5458 * lib/Makefile.am (MOSTLYCLEANDIRS): New macro.
5459 * lib/filemode.c: Renamed from src/filemode.c and regenerated
5460 from gnulib. This adds support for some more file types, e.g.,
5461 Cray DMF migrated files.
5462 * lib/filemode.h, lib/sys_stat.in.h, m4/filemode.m4, m4/st_dm_mode.m4:
5463 * m4/sys_stat_h.m4: New files, generated from gnulib.
5464 * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
5465 Regenerate.
5466
5467 2011-02-20 Eli Zaretskii <eliz@gnu.org>
5468
5469 * lib/makefile.w32-in ($(BLD)/md5.$(O)): Don't depend on
5470 $(EMACS_ROOT)/nt/inc/sys/stat.h.
5471
5472 2011-02-20 Paul Eggert <eggert@cs.ucla.edu>
5473
5474 * configure.in (C_WARNINGS_SWITCH): Do not prepend -Wno-pointer-sign.
5475 This undoes the 2006-01-02 change. The -Wno-pointer-sign option
5476 is no longer needed, due to the recent SSDATA and related changes.
5477 Perhaps -Wno-pointer-sign should also be removed from
5478 nextstep/Cocoa/Emacs.xcodeproj/project.pbxproj but I have no easy
5479 way to test this so I left it alone.
5480 * configure: Regenerate.
5481
5482 2011-02-20 Christoph Scholtes <cschol2112@gmail.com>
5483
5484 * lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from
5485 src/makefile.w32-in.
5486
5487 2011-02-20 Paul Eggert <eggert@cs.ucla.edu>
5488
5489 Import crypto/md5 and stdint modules from gnulib.
5490 * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
5491 Regenerate.
5492 * lib/md5.c, lib/md5.h: Rename from src/md5.h and lib/md5.h.
5493 Import the new versions from gnulib; they assume a C99-style
5494 <stdint.h>, supplied by the stdint module.
5495 * lib/stdint.in.h, m4/longlong.m4, m4/stdint.m4, m4/md5.m4: New files,
5496 imported from gnulib.
5497 * Makefile.in (MAKEFILE_MODULES): Add crypto/md5.
5498
5499 2011-02-19 Eli Zaretskii <eliz@gnu.org>
5500
5501 * .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.
5502 Add lib/deps/.
5503
5504 * config.bat: Configure in `lib'.
5505 Generate *.Po files in lib/deps.
5506
5507 2011-02-18 Paul Eggert <eggert@cs.ucla.edu>
5508
5509 Import IRIX 6.5 getloadavg fixes from gnulib.
5510 * configure, lib/getloadavg.c, m4/getloadavg.m4: Regenerate.
5511
5512 2011-02-16 Paul Eggert <eggert@cs.ucla.edu>
5513
5514 Import getloadavg module from gnulib.
5515 * .bzrignore: Add lib/stdlib.h.
5516 * Makefile.in (GNULIB_MODULES): Add getloadavg.
5517 * configure.in (LIBS_SYSTEM): Omit -lkstat on sol2*; gnulib does this.
5518 (AC_CONFIG_LIBOBJ_DIR, AC_FUNC_GETLOADAVG, GETLOADAVG_FILES):
5519 Remove; gnulib does this now.
5520 * lib/getloadavg.c: Rename from src/getloadavg.c, and sync
5521 from gnulib. This adds support for several other systems, such
5522 as Tru64 4.0D, QNX, AIX perfstat, etc. It also fixes a potential
5523 buffer overrun on Linux hosts under very high load, and on hosts
5524 that maintain a channel to the load average file it makes sure
5525 the file descriptor is close-on-exec (on hosts that support this)
5526 and is not stdin, stdout, or stderr.
5527 * lib/stdlib.in.h, m4/getloadavg.m4, m4/stdlib_h.m4: New files,
5528 from gnulib.
5529 * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
5530 Regenerate.
5531
5532 2011-02-15 Paul Eggert <eggert@cs.ucla.edu>
5533
5534 Merge from gnulib.
5535
5536 * install-sh: Update to scriptversion 2011-01-19.21.
5537
5538 2011-02-13 Bruno Haible <bruno@clisp.org>
5539
5540 Consistent macro naming for macros that use GCC __attribute__.
5541 * lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Rename from
5542 ATTRIBUTE_DEPRECATED.
5543
5544 2011-02-12 Bruno Haible <bruno@clisp.org>
5545
5546 setlocale: Prefer gnulib's override over libintl's override.
5547 * lib/gettext.h (setlocale): Redefine to rpl_setlocale if
5548 GNULIB_defined_setlocale is set.
5549
5550 2011-02-13 Glenn Morris <rgm@gnu.org>
5551
5552 * make-dist: Exclude generated file src/globals.h.
5553
5554 2011-02-10 Paul Eggert <eggert@cs.ucla.edu>
5555
5556 * arg-nonnull.h, c++defs.h, warn-on-use.h: Fix licenses.
5557 Sync from gnulib, which has been patched to fix the problem
5558 with the license notices. Reported by Glenn Morris in
5559 <http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00403.html>.
5560
5561 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5563 * .bzrignore: Ignore globals.h and related stamp.
5564
5565 2011-02-09 Paul Eggert <eggert@cs.ucla.edu>
5566
5567 * lib/Makefile.in, lib/gnulib.mk: Regenerate.
5568 This merges the following fix from gnulib:
5569
5570 2011-02-08 Bruno Haible <bruno@clisp.org>
5571
5572 Split large sed scripts, for HP-UX sed.
5573
5574 2011-02-08 Tom Tromey <tromey@redhat.com>
5575
5576 * configure: Rebuild.
5577 * configure.in (NS_OBJC_OBJ): New subst.
5578
5579 2011-02-06 Paul Eggert <eggert@cs.ucla.edu>
5580
5581 gnulib: allow multiple gnulib generated replacements to coexist
5582 This defines a few preprocessor symbols that should not affect Emacs.
5583 * lib/getopt.in.h, lib/time.in.h, lib/unistd.in.h: Regenerate
5584 via "make sync-from-gnulib".
5585
5586 gnulib: undo previous change
5587 The upstream _HEADERS change was backed out of gnulib (see the
5588 same thread). Stay in sync with gnulib.
5589
5590 gnulib: adjust to upstream _HEADERS change
5591 * lib/Makefile.am (EXTRA_HEADERS, nodist_pkginclude_HEADERS):
5592 New empty macros, to accommodate recent changes to gnulib. See
5593 <http://lists.gnu.org/archive/html/bug-gnulib/2011-02/msg00068.html>.
5594 * c++defs.h, lib/Makefile.in, lib/ftoastr.h, lib/getopt.in.h:
5595 * lib/gnulib.mk, lib/ignore-value.h, lib/stdbool.in.h, lib/stddef.in.h:
5596 * lib/time.in.h, lib/unistd.in.h:
5597 Regenerate.
5598
5599 2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
5600
5601 sync from gnulib to remove HAVE_STDBOOL_H
5602 * m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Rename from
5603 AC_HEADER_STDBOOL. All uses changed. Do not define
5604 HAVE_STDBOOL_H, as gnulib does not need this. This change is
5605 imported from the latest Autoconf git. It was motivated by Emacs,
5606 which uses gnulib but does not need HAVE_STDBOOL_H.
5607 * configure, src/config.in: Regenerate.
5608 * config.guess, config.sub: Sync to 2011-02-02 versions (whitespace)
5609
5610 2011-02-03 Paul Eggert <eggert@cs.ucla.edu>
5611
5612 allow C code to suppress warnings about ignored return values
5613 * Makefile.in (GNULIB_MODULES): Add ignore-value.
5614 * configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
5615 * lib/ignore-value.h: New file.
5616
5617 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
5618
5619 * configure.in: Test existence of xaw3d library, not just the
5620 header (Bug#7642).
5621
5622 2011-01-31 Eli Zaretskii <eliz@gnu.org>
5623
5624 * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and
5625 $(BLD)/time_r.$(O).
5626 ($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and
5627 $(EMACS_ROOT)/src/m/intel386.h.
5628 ($(BLD)/strftime.$(O))
5629 ($(BLD)/time_r.$(O)): Define prerequisites.
5630
5631 2011-01-31 Paul Eggert <eggert@cs.ucla.edu>
5632
5633 src/emacs.c now gets version number from configure.in
5634 * configure.in (version): Set this from $PACKAGE_VERSION,
5635 which is set from AC_INIT, rather than scouting through src/emacs.c.
5636 * configure: Regenerate.
5637 * make-dist (version): Get it from configure.in, not src/emacs.c.
5638
5639 2011-01-30 Paul Eggert <eggert@cs.ucla.edu>
5640
5641 strftime: import from gnulib
5642 * Makefile.in (GNULIB_MODULES): Add strftime.
5643 * configure.in (AC_FUNC_STRFTIME, my_strftime): Remove; no longer
5644 needed.
5645 * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
5646 Regenerate.
5647 * lib/strftime.c, lib/strftime.h, lib/stdbool.in.h: New files,
5648 imported from gnulib.
5649 * m4/strftime.m4, m4/stdbool.m4, m4/tm_gmtoff.m4: Likewise.
5650 This incorporates many changes from gnulib, including simpler
5651 handling of multibyte formats, porting to mingw32 and other
5652 platforms, and support for higher-resolution time stamps.
5653 Emacs does not yet use the higher-resolution interface.
5654
5655 2011-01-30 Paul Eggert <eggert@cs.ucla.edu>
5656
5657 gnulib: import mktime and move-if-change fixes from gnulib
5658
5659 * configure: Regenerate from the following.
5660
5661 2011-01-30 Paul Eggert <eggert@cs.ucla.edu>
5662
5663 mktime: clarify long_int width checking
5664 * lib/mktime.c (long_int_is_wide_enough): Move this assertion to
5665 the top level, to make it clearer that the assumption about
5666 long_int width is being checked. See
5667 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00554.html>.
5668
5669 2011-01-29 Paul Eggert <eggert@cs.ucla.edu>
5670
5671 TYPE_MAXIMUM: avoid theoretically undefined behavior
5672 * lib/intprops.h (TYPE_MINIMUM, TYPE_MAXIMUM): Do not shift a
5673 negative number, which the C Standard says has undefined behavior.
5674 In practice this is not a problem, but might as well do it by the book.
5675 Reported by Rich Felker and Eric Blake; see
5676 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00493.html>.
5677 * m4/mktime.m4 (AC_FUNC_MKTIME): Likewise.
5678 * lib/mktime.c (TYPE_MAXIMUM): Redo slightly to match the others.
5679
5680 mktime: #undef mktime before #defining it
5681 * lib/mktime.c (mktime) [DEBUG]: #undef mktime before #defining it.
5682
5683 mktime: systematically normalize tm_isdst comparisons
5684 * lib/mktime.c (isdst_differ): New function.
5685 (__mktime_internal): Use it systematically for all isdst comparisons.
5686 This completes the fix for libc BZ #6723, and removes the need for
5687 normalizing tm_isdst.
5688 See <http://sourceware.org/bugzilla/show_bug.cgi?id=6723>
5689 (not_equal_tm) [DEBUG]: Use isdst_differ here, too.
5690
5691 mktime: fix some integer overflow issues and sidestep the rest
5692
5693 This was prompted by a bug report by Benjamin Lindner for MinGW
5694 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00472.html>.
5695 His bug is due to signed integer overflow (0 - INT_MIN), and I
5696 I scanned through mktime.c looking for other integer overflow
5697 problems, fixing all the bugs I found.
5698
5699 Although the C Standard says the resulting code is still not safe
5700 in the presence of integer overflow, in practice it should be good
5701 enough for all real-world two's-complement implementations, except
5702 for debugging environments that deliberately trap on integer
5703 overflow (e.g., gcc -ftrapv).
5704
5705 * lib/mktime.c (WRAPV): New macro.
5706 (SHR): Also check that long_int and time_t shift right in the
5707 usual way, before using the fast-but-unportable method.
5708 (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove, no longer
5709 used. The code already assumed two's complement, so there's
5710 no need to test for alternatives. All uses removed.
5711 (TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by
5712 the C standard. Reported by Rich Felker in
5713 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00488.html>.
5714 (twos_complement_arithmetic): Also check long_int and time_t.
5715 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions.
5716 (guess_time_tm, ranged_convert, __mktime_internal): Use them.
5717 (__mktime_internal): Avoid integer overflow with unary subtraction
5718 in two instances where -1 - X is an adequate replacement for -X,
5719 since the calculations are approximate.
5720
5721 2011-01-29 Eric Blake <eblake@redhat.com>
5722
5723 mktime: avoid infinite loop
5724 * m4/mktime.m4 (AC_FUNC_MKTIME): Avoid overflow on possibly-signed
5725 type; behavior is still undefined but portable to all known targets.
5726 Reported by Rich Felker.
5727
5728 2011-01-28 Paul Eggert <eggert@cs.ucla.edu>
5729
5730 mktime: avoid problems on NetBSD 5 / i386
5731 * lib/mktime.c (long_int): New type. This works around a problem
5732 on NetBSD 5 / i386, where 'long int' and 'int' are both 32 bits
5733 but time_t is 64 bits, and where I expect the existing code is
5734 wrong in some cases.
5735 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it.
5736 (ydhms_diff): Bring back the compile-time check for wide-enough
5737 year and yday.
5738
5739 mktime: fix misspelling in comment
5740 * lib/mktime.c (__mktime_internal): Fix misspelling in comment.
5741 This merges all recent glibc changes of importance.
5742
5743 2011-01-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5744
5745 move-if-change: cope with concurrent mv of identical file.
5746 * move-if-change (CMPPROG): Accept environment
5747 variable as an override for `cmp'.
5748 (usage): Document CMPPROG.
5749 Adjust comparison to drop stdout. Cope with failure of mv if
5750 the target file exists and is identical to the source, for
5751 parallel builds.
5752 Report from H.J. Lu against binutils in PR binutils/12283.
5753
5754 2011-01-29 Eli Zaretskii <eliz@gnu.org>
5755
5756 * lib/makefile.w32-in:
5757 * lib/getopt_.h: New files.
5758
5759 2011-01-28 Paul Eggert <eggert@cs.ucla.edu>
5760
5761 improve fix for MS-DOS file name clash
5762 * Makefile.in (DOS_gnulib_comp.m4): Rename from DOS-gnulib-comp.m4,
5763 for portability to POSIX make. Reported by Bruno Haible.
5764 (sync-from-gnulib): Copy gl-comp.m4 (if present) back to
5765 gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib
5766 files from accumulating as garbage. Also reported by Bruno Haible.
5767
5768 2011-01-27 Paul Eggert <eggert@cs.ucla.edu>
5769
5770 fix two m4/gnulib-*.m4 file names that clashed under MS-DOS
5771 * Makefile.in (DOS-gnulib-comp.m4): New macro.
5772 (sync-from-gnulib): Rename m4/gnulib-comp.m4 to m4/gl-comp.m4 to avoid
5773 problems with MS-DOS 8+3 file name restrictions.
5774 Remove m4/gnulib-cache.m4, as we can live without it. If we kept
5775 it, it would also cause problems when extracting Emacs distribution
5776 tarballs on MS-DOS hosts.
5777 (ACLOCAL_INPUTS): Adjust to file renaming.
5778 * aclocal.m4, configure, lib/Makefile.in, src/config.in: Regenerate.
5779 * config.guess, config.sub: Sync from gnulib.
5780 * m4/gnulib-cache.m4: Remove from repository.
5781 * m4/gl-comp.m4: Rename from m4/gnulib-comp.m4.
5782
5783 2011-01-25 Glenn Morris <rgm@gnu.org>
5784
5785 * README: Add a note about ranges in copyright years.
5786
5787 * configure.in: Set CANNOT_DUMP on ia64 hpux (port from emacs-23).
5788
5789 2011-01-25 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change)
5790
5791 * configure.in: Add HP-UX on IA64 (Bug#6811).
5792
5793 2011-01-24 Paul Eggert <eggert@cs.ucla.edu>
5794
5795 Remove HAVE_RAW_DECL_CHOWN etc. from config.h
5796 * Makefile.in (sync-from-gnulib): Remove m4/warn-on-use.m4,
5797 as it is no longer needed.
5798 * aclocal.m4, configure, lib/Makefile.in, src/config.in: Regenerate.
5799 * configure.in: Invoke the new gnulib macro
5800 gl_ASSERT_NO_GNULIB_POSIXCHECK, which removes the need for
5801 warn-on-use.m4 and for the HAVE_RAW_DECL_* symbols in config.h.
5802 * m4/getopt.m4: Sync from gnulib; this removes the need for
5803 HAVE_DECL_OPTRESET and HAVE_DECL_GETOPT_CLIP from config.h.
5804 * m4/gnulib-common.m4 (gl_ASSERT_NO_GNULIB_POSIXCHECK):
5805 New macro, synced from gnulib.
5806 * m4/warn-on-use.m4: Remove.
5807
5808 2011-01-22 Paul Eggert <eggert@cs.ucla.edu>
5809
5810 aclocal.m4: put this file back into repository
5811 This way, we don't have to assume that the maintainer has
5812 the automake package installed. See
5813 <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00746.html>.
5814 * .bzrignore: Remove aclocal.m4, undoing the previous change.
5815 * Makefile.in (top_maintainer_clean): Do not remove aclocal.m4,
5816 undoing the previous change.
5817 * aclocal.m4: New file (actually, resurrected).
5818
5819 2011-01-22 Miles Bader <miles@gnu.org>
5820
5821 * configure.in: Don't zero-out FONTCONFIG_CFLAGS and
5822 FONTCONFIG_LIBS when building with XFT (doing so is incorrect, as
5823 Emacs directly uses fontconfig, and breaks building when using a
5824 strict linker).
5825
5826 2011-01-21 Paul Eggert <eggert@cs.ucla.edu>
5827
5828 src/config.in: shrink slightly
5829 * configure.in: Invoke the new gnulib macro gl_ASSERT_NO_GNULIB_TESTS.
5830 This makes src/config.in a bit smaller, by removing identifiers
5831 like GNULIB_TEST_MKTIME that Emacs does not need.
5832 * m4/getopt.m4, m4/gnulib-common.m4, m4/include_next.m4:
5833 * m4/multiarch.m4, m4/stddef_h.m4, m4/time_h.m4, m4/unistd_h.m4:
5834 Sync from gnulib. This removes a few more unnecessary symbols from
5835 src/config.in, such as AA_APPLE_UNIVERSAL_BUILD and HAVE_STDDEF_H.
5836 * configure, src/config.in: Regenerate.
5837
5838 aclocal.m4: tweaks to regenerate more conveniently
5839 This attempts to act better when the source is in a weird state. See
5840 <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00734.html>.
5841 * Makefile.in (am--refresh): Add aclocal.m4, configure, config.in.
5842 * .bzrignore: Add aclocal.m4.
5843
5844 2011-01-20 Paul Eggert <eggert@cs.ucla.edu>
5845
5846 aclocal.m4: omit auto-generated file from repository
5847 * Makefile.in (top_maintainer_clean): Remove aclocal.m4; this undoes
5848 the most recent change here.
5849 * aclocal.m4: Remove from bzr repository. This file is
5850 auto-generated and isn't needed to run 'configure'. See
5851 <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00698.html>.
5852
5853 2011-01-19 Paul Eggert <eggert@cs.ucla.edu>
5854
5855 Minor Makefile.in tweaks to build from gnulib better.
5856 <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00673.html>
5857 * Makefile.in (sync-from-gnulib): Also run autoreconf -I m4.
5858 (top_maintainer_clean): Don't remove aclocal.m4.
5859
5860 2011-01-18 Paul Eggert <eggert@cs.ucla.edu>
5861
5862 Minor cleanups for 'bzr status'
5863 * .bzrignore: Add emacs-*/, the output of make-dist, and stamp-h1,
5864 the output of config.guess.
5865 * Makefile.in (top_distclean): Remove stamp-h1 too.
5866
5867 * configure.in (HAVE_ATTRIBUTE_ALIGNED): Arrange for this to be
5868 defined if the compiler supports GCC-style __attribute__
5869 ((__aligned__ ...)). IBM AIX and Oracle Solaris Studio support
5870 this syntax.
5871
5872 2011-01-17 Paul Eggert <eggert@cs.ucla.edu>
5873
5874 Makefile.in: tidy up the building of lib
5875 * Makefile.in (am--refresh): Mark as .PHONY.
5876 (top_maintainer_clean): Don't remove lib/gnulib.mk m4/gnulib-cache.m4,
5877 as they're not rebuilt unless you do a "make sync-from-gnulib"
5878 and the former is needed for "configure".
5879 (maintainer-clean): Don't recurse into lib, as "make bootstrap-clean"
5880 has already removed lib/Makefile.
5881
5882 * Makefile.in (GNULIB_MODULES): Change ftoastr to dtoastr.
5883 This avoids building ftoastr and ldtoastr, which aren't needed. See
5884 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00199.html>.
5885
5886 * .bzrignore: Add .h files that are host-dependent.
5887 Add lib/.deps/, lib/arg-nonnull.h, lib/c++defs.h, lib/getopt.h,
5888 lib/time.h, lib/unistd.h, lib/warn-on-use.h. These are
5889 host-dependent and are built as part of an ordinary 'make', and
5890 should not be checked in.
5891
5892 * lib/Makefile.in: Regenerate.
5893 * lib/COPYING: New file, a copy of COPYING.
5894
5895 * configure: Regenerate.
5896 * configure.in (AC_USE_SYSTEM_EXTENSIONS): Remove: gnulib does this.
5897
5898 Regenerate.
5899 * lib/getopt.c, lib/getopt.in.h, lib/getopt1.c, lib/getopt_int.h:
5900 * lib/gettext.h, lib/unistd.in.h, m4/unistd_h.m4:
5901 New files, copied from gnulib by gnulib-tool.
5902 * aclocal.m4, configure, lib/Makefile.in, m4/getopt.m4:
5903 * m4/gnulib-cache.m4, m4/gnulib-comp.m4, src/config.in:
5904 Regenerate.
5905
5906 Use gnulib's getopt-gnu module.
5907 * Makefile.in (GNULIB_MODULES): Add getopt-gnu.
5908 (AUTOCONF_INPUTS): Remove getopt.m4; aclocal.m4 is a good-enough
5909 representative of the dependencies.
5910 * configure.in: Do not configure getopt, as gnulib does that now.
5911 * make-dist: Do not worry about lib-src/getopt.h, as gnulib handles
5912 getopt now, in lib.
5913
5914 Regenerate.
5915 * arg-nonnull.h, c++defs.h, lib/mktime-internal.h, lib/mktime.c:
5916 * lib/stddef.in.h, lib/time.h, lib/time.in.h, lib/time_r.c:
5917 * m4/extensions.m4, m4/include_next.m4, m4/mktime.m4:
5918 * m4/multiarch.m4, m4/stddef_h.m4, m4/time_h.m4, m4/time_r.m4:
5919 * m4/extensions.m4, m4/include_next.m4, m4/mktime.m4, m4/multiarch.m4:
5920 * m4/stddef_h.m4, m4/time_h.m4, m4/time_r.m4, m4/warn-on-use.m4:
5921 * m4/wchar_t.m4, warn-on-use.h:
5922 New files, copied from gnulib by gnulib-tool.
5923 * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk:
5924 * m4/gnulib-cache.m4, m4/gnulib-comp.m4, src/config.in:
5925 Regenerate.
5926
5927 Use gnulib's mktime module.
5928 * Makefile.in (GNULIB_MODULES): Add mktime.
5929 * configure.in: Remove code no longer needed, as gnulib now does it.
5930 (AC_CHECK_FUNCS): Remove mktime.
5931 (AC_FUNC_MKTIME, BROKEN_MKTIME): Remove.
5932 (__restrict): Remove, as this now gets in the way of the C99
5933 support for 'restrict' pulled in by the gnulib mktime module.
5934 Code should now use 'restrict' and not '__restrict".
5935 (mktime): Remove.
5936 * make-dist: Put gnulib-generated files arg-nonnull.h, c++defs.h,
5937 and warn-on-use.h into the distribution.
5938
5939 Regenerate.
5940 * lib/dtoastr.c, lib/ftoastr.c, lib/ftoastr.h, lib/intprops.h:
5941 * lib/ldtoastr.c, m4/c-strtod.m4:
5942 New files, copied from gnulib by gnulib-tool.
5943 * lib/dummy.c: Remove.
5944 * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk:
5945 * m4/gnulib-cache.m4, m4/gnulib-comp.m4, src/config.in:
5946 Regenerate.
5947
5948 Use gnulib's ftoastr module.
5949 * Makefile.in (GNULIB_MODULES): Add ftoastr. Remove dummy.
5950
5951 Regenerate.
5952 * aclocal.m4, compile, depcomp, lib/Makefile.in, lib/dummy.c:
5953 * lib/gnulib.mk, m4/00gnulib.m4, m4/gnulib-cache.m4:
5954 * m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/gnulib-tool.m4, missing:
5955 New files, generated automatically, with 'make sync-from-gnulib'
5956 followed by 'make'.
5957 * configure: Regenerate.
5958
5959 Automate syncing from gnulib.
5960 * INSTALL, README: Document new subdirectory 'lib'.
5961 * Makefile.in (SUBDIR): Add lib.
5962 (SUBDIR_MAKEFILES): Add lib/Makefile.
5963 (lib-src, src, TAGS, tags): Depend on lib.
5964 (gnulib_srcdir, GNULIB_MODULES, GNULIB_TOOL_FLAGS): New macros.
5965 ($(gnulib_srcdir)): New rule.
5966 (sync-from-gnulib): New rule, which is .PHONY.
5967 (lib): New rule, which is like lib-src.
5968 (Makefile): Depend on lib/Makefile.in.
5969 (AUTOCONF_INPUTS): Depend on aclocal.m4.
5970 (ACLOCAL_INPUTS, AUTOMAKE_INPUTS): New macros.
5971 ($(srcdir)/aclocal.m4, $(srcdir)/lib/Makefile.in): New rules.
5972 (am--refresh): New rule, to pacify Automake.
5973 (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean):
5974 Clean lib, too.
5975 (top_maintainer_clean): New macro, to remove gnulib-tool and Automake
5976 droppings.
5977 (maintainer-clean, extraclean): Use it.
5978 * configure.in: Initialize for automake and gnulib, by invoking
5979 AM_INIT_AUTOMAKE, AM_PROG_CC_C_O, gl_EARLY, and gl_INIT. Output
5980 lib/Makefile, too. Use automake to build gnulib, as gnulib works
5981 more conveniently with automake.
5982 * lib/Makefile.am: New file.
5983 * make-dist: Also put into the distribution aclocal.m4,
5984 compile, depcomp, missing, and the files under lib/.
5985
5986 2011-01-15 Glenn Morris <rgm@gnu.org>
5987
5988 * Makefile.in (epaths-force): No more arch-tag to edit.
5989
5990 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
5991
5992 * configure.in: Bump min libxml2 version to 2.6.17 (Bug#7603).
5993
5994 2011-01-14 Paul Eggert <eggert@cs.ucla.edu>
5995
5996 * make-dist: Distribute test/ files too.
5997 Distribute every file under test/ that is under version control,
5998 using patterns like *.el to capture files that are added later.
5999 Without this change, "configure" would fail, because it would
6000 attempt to build from a Makefile.in that was not distributed.
6001
6002 2011-01-13 Christian Ohler <ohler@gnu.org>
6003
6004 * Makefile.in (INFO_FILES): Add ERT.
6005
6006 * Makefile.in (check): Run tests in test/automated.
6007
6008 * Makefile.in:
6009 * configure.in: Add test/automated/Makefile.
6010
6011 2011-01-07 Paul Eggert <eggert@cs.ucla.edu>
6012
6013 * install-sh, mkinstalldirs, move-if-change: Update from master
6014 source in gnulib.
6015
6016 * config.guess, config.sub: Updated from master source.
6017
6018 2011-01-05 Andreas Schwab <schwab@linux-m68k.org>
6019
6020 * configure.in: Check for __builtin_unwind_init.
6021
6022 2011-01-05 Glenn Morris <rgm@gnu.org>
6023
6024 * configure.in (HAVE_MAKEINFO): New output variable.
6025 (MAKEINFO): Reset to "makeinfo" if not found.
6026 * Makefile.in (install-arch-indep, info):
6027 Replace MAKEINFO = off with HAVE_MAKEINFO = no.
6028
6029 2010-12-29 Ulrich Müller <ulm@gentoo.org>
6030
6031 * configure.in: Make gameuser configurable (Bug#7717).
6032
6033 2010-12-15 Glenn Morris <rgm@gnu.org>
6034
6035 * Makefile.in (install-arch-dep, uninstall): Remove code relating to the
6036 long absent lib-src/fns-*.el.
6037
6038 2010-12-11 Glenn Morris <rgm@gnu.org>
6039
6040 * make-dist: Exclude etc/*.pyc.
6041
6042 2010-12-10 Andreas Schwab <schwab@linux-m68k.org>
6043
6044 * configure.in: Don't double machfile in final message.
6045
6046 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
6047
6048 * configure.in: Fix last change.
6049
6050 2010-12-04 Andreas Schwab <schwab@linux-m68k.org>
6051
6052 * configure.in: Remove reference to removed machine description
6053 files and allow $machine and $machfile to be empty.
6054 Substitute M_FILE/S_FILE instead of machfile/opsysfile.
6055
6056 2010-12-03 Glenn Morris <rgm@gnu.org>
6057
6058 * make-dist: Remove EMACS_UNIBYTE unsetting; it does nothing.
6059
6060 2010-11-23 Dan Nicolaescu <dann@ics.uci.edu>
6061
6062 * configure.in <AC_CHECK_HEADERS>: Remove sys/ioctl.h.
6063 (EXTERNALLY_VISIBLE): New definition.
6064
6065 2010-11-21 Dan Nicolaescu <dann@ics.uci.edu>
6066
6067 * configure.in (INLINE): Do not depend on OPTIMIZE, unused.
6068
6069 2010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
6070
6071 * configure.in: Do not check for unconditionally included headers.
6072
6073 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.
6076
6077 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
6078
6079 * configure.in: Don't write a warning for D-Bus anymore.
6080
6081 2010-11-06 Andreas Schwab <schwab@linux-m68k.org>
6082
6083 * configure.in: Fix indentation.
6084
6085 2010-10-31 Ken Brown <kbrown@cornell.edu>
6086
6087 * configure.in (checking whether localtime caches TZ):
6088 Use unsetenv instead of modifying environment directly.
6089
6090 2010-10-25 Andreas Schwab <schwab@linux-m68k.org>
6091
6092 * configure.in (checking for -znocombreloc): Use AC_LANG_PROGRAM
6093 to avoid warning.
6094
6095 2010-10-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6096
6097 * configure.in: Remove the BROKEN annotation from GnuTLS.
6098
6099 2010-10-22 Glenn Morris <rgm@gnu.org>
6100
6101 * make-dist: Avoid listing .el files twice. Don't try to run
6102 autoconf if --no-update.
6103
6104 2010-10-20 Glenn Morris <rgm@gnu.org>
6105
6106 * make-dist: No longer create lisp/MANIFEST.
6107
6108 2010-10-14 Glenn Morris <rgm@gnu.org>
6109
6110 * BUGS, INSTALL.BZR, README: Updates.
6111
6112 2010-10-13 Glenn Morris <rgm@gnu.org>
6113
6114 * make-dist: Remove --compress. Check for the appropriate
6115 gzip-like executable, and if not found, don't compress.
6116 Check version number in README, don't change it.
6117 Use find for nt/inc/*.h.
6118
6119 2010-10-12 Dan Nicolaescu <dann@ics.uci.edu>
6120
6121 * configure (ns_appdir, OLDXMENU, TOOLTIP_SUPPORT):
6122 Remove trailing / from directory names.
6123
6124 2010-10-12 Glenn Morris <rgm@gnu.org>
6125
6126 * make-dist: Update and simplify.
6127
6128 2010-10-12 Eli Zaretskii <eliz@gnu.org>
6129
6130 * make-dist: Don't distribute src/buildobj.h. (Bug#7167)
6131
6132 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6133
6134 * configure.in (PROFILING_LDFLAGS): Do not define, remove all uses.
6135
6136 2010-10-09 Glenn Morris <rgm@gnu.org>
6137
6138 * make-dist: No more doc/emacs/*.texi.in.
6139
6140 * configure.in (AC_OUTPUT): Remove doc/emacs/emacsver.texi.
6141
6142 2010-10-09 Glenn Morris <rgm@gnu.org>
6143
6144 * configure.in: Combine some conditionals.
6145
6146 * configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi.
6147 * make-dist: Include doc/emacs/*.texi.in.
6148
6149 * INSTALL, make-dist: Remove references to b2m.
6150 * Makefile.in (MAN_PAGES): Remove b2m.1.
6151
6152 2010-10-05 Glenn Morris <rgm@gnu.org>
6153
6154 * .dir-locals.el: The Emacs convention is sentence-end-double-space.
6155
6156 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6157
6158 * configure.in (NO_INLINE, noinline): Move here from src/xterm.c.
6159
6160 2010-10-01 Dan Nicolaescu <dann@ics.uci.edu>
6161
6162 * configure.in: Include stdlib.h and string.h unconditionally.
6163
6164 2010-09-29 Romain Francoise <romain@orebokech.com>
6165
6166 * configure.in: Don't enable ImageMagick unless HAVE_X11.
6167
6168 2010-09-28 Glenn Morris <rgm@gnu.org>
6169
6170 * configure.in (HAVE_GNUTLS): Add a description to make autoheader
6171 happy.
6172
6173 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6174
6175 * configure.in: Enable imagemagick by default.
6176
6177 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6178
6179 * configure.in (HAVE_GNUTLS): Don't break if we don't have the
6180 GnuTLS libraries.
6181
6182 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6183
6184 * configure.in: Set up GnuTLS.
6185
6186 2010-09-22 Chong Yidong <cyd@stupidchicken.com>
6187
6188 * configure.in: Announce whether libxml2 is linked to.
6189
6190 2010-09-20 Dan Nicolaescu <dann@ics.uci.edu>
6191
6192 * configure.in (LINKER): Rename to LD_FIRSTFLAG, do not include $(CC).
6193
6194 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6195
6196 * config.bat: Detect that libxml2 is installed and if so, build
6197 with it.
6198
6199 2010-09-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6200
6201 * configure.in (HAVE_LIBXML2): Check that the libxml2 we found can
6202 be used. This fixes a conf problem on Mac OS X.
6203
6204 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6205
6206 * configure.in: Check for libxml2.
6207
6208 2010-09-09 Glenn Morris <rgm@gnu.org>
6209
6210 * make-dist: No more TODO files under lisp/.
6211
6212 2010-09-04 Eli Zaretskii <eliz@gnu.org>
6213
6214 * config.bat: Produce lisp/gnus/_dir-locals.el from
6215 lisp/gnus/.dir-locals.el.
6216
6217 2010-08-23 Andreas Schwab <schwab@linux-m68k.org>
6218
6219 * configure.in: Fix check for librsvg, imagemagick and
6220 MagickExportImagePixels.
6221
6222 2010-08-18 Joakim Verona <joakim@verona.se>
6223
6224 * Makefile.in, configure.in: Checks for ImageMagick.
6225
6226 2010-08-10 Dan Nicolaescu <dann@ics.uci.edu>
6227
6228 * configure.in (AC_PREREQ): Require autoconf 2.65.
6229
6230 2010-08-09 Dan Nicolaescu <dann@ics.uci.edu>
6231
6232 * configure.in (AC_PREREQ): Require autoconf 2.66 to stop version churn.
6233
6234 2010-08-09 Andreas Schwab <schwab@linux-m68k.org>
6235
6236 * configure.in: Add AC_C_BIGENDIAN.
6237
6238 2010-08-09 Dan Nicolaescu <dann@ics.uci.edu>
6239
6240 * configure.in (ORDINARY_LINK): Use on hpux* too.
6241
6242 2010-08-06 Jan Djärv <jan.h.d@swipnet.se>
6243
6244 * configure.in: Check for util.h.
6245 Use -Wimplicit-function-declaration if compiler supports it.
6246
6247 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6248
6249 * configure.in (UNEXEC_OBJ): Rename unexec.o => unexcoff.o.
6250
6251 2010-08-04 Andreas Schwab <schwab@linux-m68k.org>
6252
6253 * configure.in: Restore accidentally removed use of
6254 GCC_TEST_OPTIONS/NON_GCC_TEST_OPTIONS.
6255
6256 2010-07-29 Chad Brown <yandros@mit.edu>
6257
6258 * configure.in: Check for dirent.h.
6259
6260 2010-07-29 Dan Nicolaescu <dann@ics.uci.edu>
6261
6262 * configure.in: Remove reference to usg5-4, unused.
6263
6264 2010-07-25 Andreas Schwab <schwab@linux-m68k.org>
6265
6266 * configure.in: Check for __executable_start.
6267
6268 2010-07-24 Ken Brown <kbrown@cornell.edu>
6269
6270 * configure.in (LINKER, LIB_GCC): Remove cygwin special cases (Bug#6715)
6271
6272 2010-07-24 Juanma Barranquero <lekktu@gmail.com>
6273
6274 * .bzrignore, .gitignore: Ignore README.W32 on the root directory.
6275
6276 2010-07-24 Ken Brown <kbrown@cornell.edu> (tiny change)
6277
6278 * configure.in (START_FILES) [cygwin]: Set to pre-crt0.o (Bug#6715).
6279
6280 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
6281
6282 * configure.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
6283 (PROFILING_LDFLAGS): Substitute, don't add them to CFLAGS/LDFLAGS.
6284 (C_OPTIMIZE_SWITCH): Remove.
6285 (TEMACS_LDFLAGS2): Add ${PROFILING_LDFLAGS}.
6286
6287 2010-07-11 Andreas Schwab <schwab@linux-m68k.org>
6288
6289 * configure.in: Don't check for index and rindex, check for strchr
6290 and strrchr. Define strchr and strrchr as index and rindex,
6291 resp., in src/config.h if not available.
6292
6293 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
6294
6295 * configure.in: Use -Wold-style-definition if available.
6296 This helps with the transition to standard C code, it can be
6297 removed when done.
6298
6299 * configure.in (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): Remove.
6300
6301 * configure.in (UNEXEC_OBJ): Add comment about values for MSDOS
6302 and MSWindows.
6303
6304 2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
6305
6306 * configure.in: Don't check for bcopy, bcmp, bzero. Don't include
6307 <strings.h> and don't define bcopy, bzero, BCMP in config.h.
6308
6309 2010-07-07 Dan Nicolaescu <dann@ics.uci.edu>
6310
6311 * configure.in (getenv): Remove K&R declaration.
6312
6313 2010-07-02 Jan Djärv <jan.h.d@swipnet.se>
6314
6315 * configure.in: Remove define __P.
6316
6317 2010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
6318
6319 * configure.in (--enable-use-lisp-union-type): New flag.
6320
6321 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
6322
6323 Fix CFLAGS for non-GCC compilers.
6324 * configure.in (CFLAGS): Always use -g like it was done before the
6325 2010-03-30 change.
6326 (REAL_CFLAGS): Use CFLAGS for non-GCC to get optimization flags.
6327 (Bug#6538)
6328
6329 2010-06-30 Glenn Morris <rgm@gnu.org>
6330
6331 * configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM):
6332 Set with AC_DEFINE rather than AH_BOTTOM.
6333
6334 * configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC)
6335 (USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH, CFLAGS, REAL_CFLAGS):
6336 Set with shell, not cpp.
6337 (LIBX): Remove, just use -lX11 in the one place this was used.
6338 (cannot_dump): Replace with CANNOT_DUMP.
6339
6340 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
6341
6342 * configure.in: Add --with-x-toolkit=gtk3. Remove HAVE_GTK_MULTIDISPLAY,
6343 check for gtk_file_chooser_dialog_new, and HAVE_GTK_FILE_BOTH (implied
6344 by minimum required Gtk+ 2.6). Add checks for functions introduced
6345 in Gtk+ 2.14 or newer (bug#6505).
6346
6347 2010-06-26 Eli Zaretskii <eliz@gnu.org>
6348
6349 * config.bat: Remove white space around "+" in COPY commands.
6350
6351 2010-06-23 Glenn Morris <rgm@gnu.org>
6352
6353 * info/dir: Start descriptions in column 32, per Texinfo convention.
6354
6355 2010-06-16 Chong Yidong <cyd@stupidchicken.com>
6356
6357 * INSTALL: Update font information (Bug#6389).
6358
6359 2010-06-16 Glenn Morris <rgm@gnu.org>
6360
6361 * INSTALL: General update.
6362
6363 2010-06-12 Glenn Morris <rgm@gnu.org>
6364
6365 * Makefile.in (install-arch-indep): Delete any old info .gz files first.
6366
6367 2010-06-11 Glenn Morris <rgm@gnu.org>
6368
6369 * configure.in (--without-compress-info): New option.
6370 (GZIP_INFO): New output variable.
6371
6372 * Makefile.in (GZIP_INFO): New, set by configure.
6373 (install-arch-indep): Don't gzip info pages if GZIP_INFO is nil.
6374 Handle man pages in the same way.
6375
6376 2010-06-10 Glenn Morris <rgm@gnu.org>
6377
6378 * Makefile.in (install-arch-indep): Gzip the info files too.
6379
6380 * make-dist: Remove references to non-existent directories and files.
6381
6382 2010-06-08 Dan Nicolaescu <dann@ics.uci.edu>
6383
6384 * configure.in: Include <strings.h> and <string.h> instead of
6385 "strings.h" and "string.h".
6386
6387 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
6388
6389 * configure.in: Remove code dealing with BSTRING.
6390
6391 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6392
6393 * configure.in (AC_PREREQ): Require autoconf 2.65.
6394
6395 * configure.in (unxec): Do not define and substitute.
6396 (UNEXEC_OBJ): New output variable, replaces cpp UNEXEC.
6397
6398 2010-06-03 Glenn Morris <rgm@gnu.org>
6399
6400 * configure.in (AH_BOTTOM): Remove NOT_C_CODE test, it is always true.
6401
6402 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
6403
6404 Fix alloca definition when using gcc on non-gnu systems.
6405 * configure.in: Use the code sequence indicated by "info autoconf"
6406 for alloca (bug#6170).
6407
6408 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * .bzrignore: Ignore new files from trunk, which appear if you use
6411 colocated branches (i.e. "bzr switch").
6412
6413 2010-05-28 Glenn Morris <rgm@gnu.org>
6414
6415 * configure.in: Simplify some of the $canonical tests.
6416
6417 2010-05-27 Glenn Morris <rgm@gnu.org>
6418
6419 * config.bat: Do not preprocess src/Makefile.in.
6420
6421 * configure.in: Do not preprocess src/Makefile.in.
6422 (cpp_undefs, CPP_NEED_TRADITIONAL): Remove.
6423 (AC_EGREP_CPP): Test no longer needed.
6424
6425 * make-dist: No more Makefile.c files.
6426
6427 2010-05-26 Glenn Morris <rgm@gnu.org>