aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Use gcc auto-dependency information for lwlib and oldXMenuGlenn Morris2014-06-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (lwlib_deps_frag, oldxmenu_deps_frag): New output files. * make-dist (lwlib, oldXMenu): Distribute *.mk. * lwlib/Makefile.in: Move old dependency information to new file deps.mk. (MKDIR_P, DEPFLAGS, MKDEPDIR, lwlib_deps_frag): New, set by configure. (DEPDIR): New variable. (ALL_CFLAGS): Add DEPFLAGS. (.c.o): Add MKDEPDIR. (clean, mostlyclean): Delete DEPDIR. * lwlib/deps.mk, lwlib/autodeps.mk: New files. * oldXMenu/Makefile.in: Move old dependency information to new file deps.mk. (MKDIR_P, DEPFLAGS, MKDEPDIR, oldxmenu_deps_frag): New, set by configure. (DEPDIR): New variable. (ALL_CFLAGS): Add DEPFLAGS. (.c.o): Add MKDEPDIR. (clean, mostlyclean): Delete DEPDIR. * oldXMenu/deps.mk, oldXMenu/autodeps.mk: New files. * src/deps.mk: Comment update. * .bzrignore: Ignore lwlib/deps, oldXMenu/deps.
* Replace BOOTSTRAPEMACS with an order-only dependence on bootstrap-emacsGlenn Morris2014-06-261-0/+2
| | | | | | | | | | | | * Makefile.in (src): No more need to pass BOOTSTRAPEMACS. * src/Makefile.in (.el.elc): Replace suffix rule with pattern rule. (%.elc): New pattern rule, with order-only prerequisite. ($(lisp)): No more need to depend on BOOTSTRAPEMACS. ($(lispsource)/loaddefs.el): Use an order-only prerequisite in place of BOOTSTRAPEMACS. Fixes: debbugs:2151
* * make-dist: Exclude test/automated/*.log.Glenn Morris2014-06-261-0/+4
|
* Simplify and parallize test/automated MakefileGlenn Morris2014-06-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | * Makefile.in (mostlyclean, clean): Maybe clean test/automated. * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New. * test/automated/Makefile.in: Simplify and parallelize. (XARGS_LIMIT, BYTE_COMPILE_EXTRA_FLAGS) (setwins, compile-targets, compile-main, compile-clean): Remove. (GREP_OPTIONS): Unexport. (.el.elc): Replace with pattern rule. (%.elc, %.log): New pattern rules. (ELFILES, LOGFILES): New variables. (check): Depend on LOGFILES. Call ert-summarize-tests-batch-and-exit. (clean, mostlyclean): New rules. (bootstrap-clean): Simplify. (bootstrap-clean, distclean): Depend on clean. * .bzrignore: Ignore test/automated/*.log. Fixes: debbugs:15991
* Merge from emacs-24; up to 2014-06-06T02:22:[email protected]Glenn Morris2014-06-211-0/+10
|\
| * * configure.ac: Warn about --enable-link-time-optimization's issuesPaul Eggert2014-06-201-0/+3
| | | | | | | | | | | | in --help message. Fixes: debbugs:17806
| * Port to GCC 4.9.0 with link time optimization.Paul Eggert2014-06-191-0/+7
| | | | | | | | | | | | | | | | * configure.ac (CFLAGS): With link time optimization, use -ffat-lto-objects if supported; otherwise Emacs won't build with GCC 4.9.0. Fixes: debbugs:17806
* | Diagnose failures due to colons in directory names.Paul Eggert2014-06-201-0/+7
| | | | | | | | | | | | | | | | * Makefile.in (epaths-force): Don't allow ':' in directories whose names go into a colon-separated path. * configure.ac: Fail if submake fails. Fixes: debbugs:17278
* | Omit redundant extern decls.Paul Eggert2014-06-171-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of this patch is from Dmitry Antipov, in: http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html * configure.ac (WERROR_CFLAGS): Add -Wredundant-decls. * lib-src/emacsclient.c (getenv): Remove decl. * lib-src/make-docfile.c (write_globals): Add ATTRIBUTE_CONST for Fbyteorder, Ftool_bar_height, Fmax_char, Fidentity. * lwlib/lwlib-Xm.c (lw_motif_widget_p, xm_update_one_value) (xm_create_dialog, xm_destroy_instance, xm_popup_menu) (xm_set_keyboard_focus, xm_set_main_areas): Remove decls. * src/commands.h (update_mode_lines): * src/frame.h (Qbackground_color, Qforeground_color) (x_set_menu_bar_lines): * src/ftfont.c (ftfont_font_format): * src/intervals.h (Qkeymap, Qfont): * src/keyboard.c (timer_check, safe_run_hooks, Qregion_extract_function): * src/lisp.h (Ffboundp, Qnil, Qt, Qlambda, Qintegerp, Qwholenump) (Qsymbolp, Qlisp, Qconsp, Qstringp, Qarrayp, Qbufferp, Qmarkerp) (Qvectorp, Qbuffer_or_string_p, Qchar_table_p, Qvector_or_char_table_p) (Qfloatp, Qnumberp, Qfont_spec, Qfont_entity, Qfont_object) (Fbyteorder, wrong_type_argument, Fmax_char, syms_of_composite) (Fidentity, extract_float, init_display, syms_of_display, Qdisplay): (Qimage, Qbox, redisplay_preserve_echo_area, char_table_ref) (char_table_set, char_table_translate, Qautoload, Qbottom, Qtop) (Qvisible, Qfont, Qfront_sticky, Qrear_nonsticky, init_sigio) (Qtool_bar, Qheader_line): * src/macros.c (Fexecute_kbd_macro): * src/xdisp.c (Ftool_bar_height, Ftool_bar_height): * src/xterm.c (x_delete_terminal, XSetIMValues): * src/xterm.h (x_set_window_size, x_query_color, x_get_focus_frame) (x_implicitly_set_name, popup_activated) (widget_store_internal_border): Remove redundant decls. * src/frame.c [USE_X_TOOLKIT]: Include widget.h. * src/keyboard.c (Fexit_recursive_edit, Fabort_recursive_edit): Remove _Noreturn, as make-docfile now does that for us. * src/lisp.h (DEFUN): Don't declare fnname here; rely on make-docfile. (Qregion_extract_function): New decl. * src/window.c, src/xfns.c: Include menu.h.
* | Use `make -C' rather than `cd && make'Glenn Morris2014-06-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Use `make -C' rather than `cd && make' throughout. * lib-src/Makefile.in (../lib/libgnu.a): Use `make -C' rather than `cd && make'. * lisp/Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'. * lwlib/Makefile.in ($(globals_h)): Use `make -C' rather than `cd && make'. * src/Makefile.in: Use `make -C' rather than `cd && make' throughout.
* | Parallelize clean rules using GNU make featuresGlenn Morris2014-06-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: (submake_template): New definition. (mostlyclean_dirs, clean_dirs, distclean_dirs, maintainer_clean_dirs): New variables. (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean) (extraclean): Define using each subdirectory as a prequisite. * lib/Makefile.am (bootstrap-clean): * doc/emacs/Makefile.in (bootstrap-clean): * doc/lispintro/Makefile.in (bootstrap-clean): * doc/lispref/Makefile.in (bootstrap-clean): * doc/misc/Makefile.in (bootstrap-clean): * lib-src/Makefile.in (bootstrap-clean): * lwlib/Makefile.in (bootstrap-clean): * nextstep/Makefile.in (bootstrap-clean): * nt/Makefile.in (bootstrap-clean): * oldXMenu/Makefile.in (bootstrap-clean): New rules, for symmetry/simplicity. * lwlib/Makefile.in (mostlyclean, clean, distclean, maintainer-clean): * oldXMenu/Makefile.in (mostlyclean, clean, distclean, maintainer-clean, tags): Declare as PHONY.
* | Merge from emacs-24; up to 2014-06-03T06:51:[email protected]Glenn Morris2014-06-141-0/+8
|\|
| * Port part of the AIX fix to Solaris.Paul Eggert2014-06-141-0/+8
| | | | | | | | | | | | | | | | | | * configure.ac (_REENTRANT): Define on Solaris if HAVE_PTHREAD. This ports part of the recent AIX fix to Solaris. It is needed for the same reason that _THREAD_SAFE is needed on AIX, e.g., to make sure that each thread has its own 'errno'. Fixes: debbugs:17598
| * Backport fcntl.h AIX fix from the trunk.Paul Eggert2014-06-111-0/+10
| | | | | | | | | | | | | | | | | | This fixes a bug with the shell freezing. See: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17598#185 Merge from gnulib, incorporating: 2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1 * lib/fcntl.in.h, m4/dup2.m4, m4/fcntl.m4: Update from gnulib.
* | With GNU make, MFLAGS is not neededGlenn Morris2014-06-131-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (CC, CFLAGS, LDFLAGS, CPPFLAGS, abs_top_srcdir): Remove, no longer used. (lib, lib-src, lisp, nt, src, blessmail, install-arch-dep) (install-nt, install-strip, uninstall, uninstall-nt) (mostlyclean, clean, distclean, bootstrap-clean) (maintainer-clean, extraclean, TAGS, tags, check, $(DOCS)): ($(INSTALL_DOC), $(UNINSTALL_DOC), info, bootstrap, check-declare): GNU make automatically passes command-line arguments to sub-makes. * admin/unidata/Makefile.in (${DSTDIR}/charprop.el): GNU make automatically passes command-line arguments to sub-makes. * lib-src/Makefile.in (../lib/libgnu.a): GNU make automatically passes command-line arguments to sub-makes. * lisp/Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el) (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile) (compile-always): GNU make automatically passes command-line arguments to sub-makes. * lwlib/Makefile.in ($(globals_h)): GNU make automatically passes command-line arguments to sub-makes. * src/Makefile.in ($(leimdir)/leim-list.el, $(srcdir)/macuvs.h) ($(lispsource)/international/charprop.el) ($(libsrc)/make-docfile$(EXEEXT), $(lwlibdir)/liblw.a) ($(oldXMenudir)/libXMenu11.a, ns-app, .el.elc) ($(lispsource)/loaddefs.el, bootstrap-emacs$(EXEEXT)): GNU make automatically passes command-line arguments to sub-makes. * test/automated/Makefile.in (compile-main): GNU make automatically passes command-line arguments to sub-makes.
* | Use a shell function in configure.ac to cut down on code duplication.Paul Eggert2014-06-111-0/+9
| | | | | | | | | | | | | | | | * configure.ac (emacs_check_gnu_make): New shell function. Use it to avoid duplication when checking for GNU Make. It's OK for 'configure' to use shell functions these days, as long as we follow the advice in the 'Shell Functions' section of the Autoconf manual.
* | * configure.ac: Require at least version 3.81 of GNU make.Glenn Morris2014-06-101-0/+4
| | | | | | | | | | | | It's 8 years old and has some useful features not in older versions. * etc/NEWS: Mention this.
* | Rely on AC_CANONICAL_HOST to detect whether we're using mingw.Paul Eggert2014-06-101-0/+9
| | | | | | | | | | | | | | | | See the thread containing: http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00206.html * configure.ac (AC_CANONICAL_HOST): Invoke this as early as we can, which is just after AM_INIT_AUTOMAKE. Then check for mingw just after that.
* | * Makefile.in (AUTOCONF, AUTOMAKE, AUTOHEADER, ACLOCAL): New, set by configureGlenn Morris2014-06-091-0/+3
| | | | | | | | Use throughout where appropriate.
* | Get rid of the INFO_EXT variableGlenn Morris2014-06-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's never been anything more than pointless complexity * configure.ac (INFO_EXT, INFO_OPTS): Remove output variables. * Makefile.in (INFO_EXT): Remove and replace by ".info" throughout. * doc/emacs/Makefile.in (INFO_EXT): Remove and replace by ".info" throughout. (INFO_OPTS): Set directly rather than with configure. * doc/lispintro/Makefile.in (INFO_EXT): Remove and replace by ".info" throughout. (INFO_OPTS): Set directly rather than with configure. * doc/lispref/Makefile.in (INFO_EXT): Remove and replace by ".info" throughout. (INFO_OPTS): Set directly rather than with configure. * doc/misc/Makefile.in (INFO_EXT): Remove and replace by ".info" throughout. (INFO_OPTS): Set directly rather than with configure.
* | Merge from emacs-24; up to 2014-06-01T23:37:[email protected]Glenn Morris2014-06-071-0/+9
|\|
| * Port better to AIX.Paul Eggert2014-06-061-0/+9
| | | | | | | | | | | | | | | | | | | | * configure.ac (with_xpm_set): New shell var. (_THREAD_SAFE): Define on AIX if HAVE_PTHREAD. (with_xpm): Default to 'no' on AIX. (LIBXPM): Append -lXpm if -lXaw is also used, as the latter requires the former on AIX. Fixes: debbugs:17598
* | * INSTALL: Mention SVG image support.Dmitry Antipov2014-06-051-0/+1
| |
* | Try harder to find GNU Make when configuring.Paul Eggert2014-06-051-0/+10
| | | | | | | | | | | | | | | | | | * configure.ac (AC_PROG_MAKE_SET): Define a dummy. (MAKE): Set it to GNU Make, if one can be found. Search PATH for 'make', 'gmake', 'gnumake'. This works better on platforms like AIX, where GNU Make might be in /opt/freeware/bin/make, and reside behind /usr/bin/make in the PATH.
* | * configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.Dmitry Antipov2014-06-051-0/+4
| | | | | | | | | | | | * nt/inc/ms-w32.h (POLL_FOR_INPUT): Likewise. * src/keyboard.c, src/process.c: Do not define POLL_FOR_INPUT here because it will be defined in generated config.h if needed.
* | * configure.ac: --without-all now implies --without-xft, --disable-acl.Paul Eggert2014-06-041-0/+6
| | | | | | | | | | * INSTALL: Remove apparently unmaintained documentation about what --without-all exactly means.
* | Define the size of dumped data for MS-Windows locally on w32heap.c.Eli Zaretskii2014-06-031-0/+4
| | | | | | | | | | | | | | | | | | | | configure.ac (C_HEAP_SWITCH): Remove. src/w32heap.c (DUMPED_HEAP_SIZE): Move from w32heap.h. Don't use HEAPSIZE; instead, define separate values for the 32- and 64-bit builds. src/Makefile.in (C_HEAP_SWITCH): Remove. (ALL_CFLAGS): Don't use $(C_HEAP_SWITCH).
* | Merge from emacs-24; up to 2014-05-29T17:16:[email protected]Glenn Morris2014-06-011-0/+10
|\|
| * Fix port to 32-bit AIX with xlc.Paul Eggert2014-05-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't fix Bug#17598, but it does fix a regression since Emacs built with xlc until recently, and perhaps it'll help us fix Bug#17598. * configure.ac (GC_SETJMP_WORKS): Define for AIX, too. Merge from gnulib, incorporating: 2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1 * lib/ftoastr.c: Update from gnulib. * src/alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE. * src/conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty. * src/lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum, to work around a compiler bug in IBM xlc 12.1.
* | Merge from gnulib.Paul Eggert2014-06-011-0/+11
| | | | | | | | | | | | | | | | | | | | | | This incorporates: 2014-06-02 acl: apply pure attribute to two functions 2014-06-01 gnulib-common.m4: add _GL_UNUSED_LABEL 2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1 2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1 * lib/acl-internal.h, lib/fcntl.in.h, lib/ftoastr.h: * m4/dup2.m4, m4/fcntl.m4, m4/gnulib-common.m4: Update from gnulib.
* | * configure.ac: Raise HEAPSIZE value for 32-bit builds on Windows.Juanma Barranquero2014-06-011-1/+6
| |
* | * configure.ac (pthread_sigmask): Look in LIB_PTHREAD too.Paul Eggert2014-05-291-0/+5
| | | | | | | | Fixes configuration glitch found in <http://bugs.gnu.org/17561#59>.
* | Remove nt/addsection.c and don't build addsection.exe.Eli Zaretskii2014-05-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | configure.ac (ADDSECTION, TEMACS_POST_LINK): Don't compute, unused. nt/Makefile.in (DONT_INSTALL): Now empty. (addsection${EXEEXT}): Remove target. nt/addsection.c: File removed. src/Makefile.in (TEMACS_POST_LINK): Remove target. (emacs$(EXEEXT)): Remove $(ADDSECTION) from prerequisites. (temacs$(EXEEXT)): Remove $(TEMACS_POST_LINK) from the recipe.
* | Don't substitute sigprocmask for pthread_sigmask.Paul Eggert2014-05-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | sigprocmask isn't portable in a multithreaded process. * configure.ac (gl_THREADLIB): Remove dummy. Merge from gnulib, incorporating: 2014-05-28 pthread_sigmask, timer-time: use gl_THREADLIB only if needed * m4/pthread_sigmask.m4, m4/timer_time.m4: Update from gnulib. * src/Makefile.in (LIB_PTHREAD_SIGMASK): Remove; all uses removed. Fixes: debbugs:17561
* | * configure.ac: Explicitly drop some ancient Solaris versions.Glenn Morris2014-05-281-0/+4
| |
* | Use mmap(2) emulation for buffer text on MS-Windows.Fabrice Popineau2014-05-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/Makefile.in (C_HEAP_SWITCH): Get the predefined heap size from configure. (ADDSECTION, MINGW_TEMACS_POST_LINK): Remove, no longer used. src/lisp.h (NONPOINTER_BITS): Modify the condition to define to zero for MinGW, since it no longer uses gmalloc. src/buffer.c: Do not define mmap allocations functions for Windows. Remove mmap_find which is unused. Remove mmap_set_vars which does nothing useful. [WINDOWSNT]: Include w32heap.h. (init_buffer): Always allocate new memory for buffers. src/emacs.c: Remove mmap_set_vars calls. src/image.c (free_image): Undef free for Windows because it is redirected to our private version. src/unexw32.c (COPY_PROC_CHUNK): Use %p format for 64bits compatibility. (copy_executable_and_dump_data): Remove dumping the heap section. (unexec): Restore using_dynamic_heap after dumping. src/w32heap.c (dumped_data_commit, malloc_after_dump) (malloc_before_dump, realloc_after_dump, realloc_before_dump) (free_after_dump, free_before_dump, mmap_alloc, mmap_realloc) (mmap_free): New functions. src/w32heap.h: Declare dumped_data and mmap_* function prototypes. nt/inc/ms-w32.h: Switch to the system heap allocation scheme instead of GNU malloc and ralloc. nt/inc/sys/mman.h: New file. nt/INSTALL: Update for the new build requirements. etc/NEWS: Mention build changes on MS-Windows. configure.ac (C_HEAP_SWITCH) define for different values of dumped heap size depending on 32/64bits arch on Windows. Don't check for pthreads.h on MinGW32/64, it gets in the way. Use mmap(2) for buffers and system malloc for MinGW32/64.
* | Merge from gnulib.Paul Eggert2014-05-261-0/+6
| | | | | | | | | | | | This incorporates: 2014-05-21 fchdir: port 'open' and 'close' redefinitions to AIX 7.1 * doc/misc/texinfo.tex, lib/openat-proc.c: Update from gnulib.
* | Merge from emacs-24; up to 2014-05-26T10:21:[email protected]Glenn Morris2014-05-251-0/+6
|\|
| * Fix port to 32-bit AIX.Paul Eggert2014-05-211-0/+6
| | | | | | | | | | | | | | | | | | | | * configure.ac (opsys): On Power Architecture, treat release 7 of AIX like releases 5 and 6. * src/unexaix.c (copy_text_and_data): Don't add text_scnptr to ptr twice. _text already includes this offset. (unrelocate_symbols): Don't cast 64-bit integer to pointer. Fixes: debbugs:17540
| * * configure.ac (INSTALL_INFO): Revert to just checking for "install-info".Glenn Morris2014-05-181-0/+5
| |
| * * configure.ac (INSTALL_INFO): Try "ginstall-info" before "install-info".Glenn Morris2014-05-161-0/+5
| | | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00232.html
* | Remove dependencies on getdelim and getline.Paul Eggert2014-05-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, remove update-game-scores's limits on game scores and simplify its file-locking code. * configure.ac (getdelim, getline): Remove. * lib-src/update-game-score.c (struct score_entry): Unify the username and data members to a single user_data member, since they don't need to be changed independently and getdelim and getline aren't helpful. Make the score member char *, not intmax_t, so that scores are not limited to intmax_t. All uses changed. (lose_syserr): A zero errno stands for invalid data in score file. (normalize_integer): New function. (main): Use it. Check for invalid scores. Omit redundant stat check. (read_score): First arg is now a string, not a FILE *. All uses changed. Do not use getdelim or getline; that's way simpler. (read_scores): Read the whole file, and let read_score handle each line. (score_compare): Compare strings representing integers, not integers. (write_scores) [DOS_NT]: Eliminate unnecessary chmod. (lock_file): Simplify locking code, eliminating goto. Check for unlink failure.
* | * configure.ac: Do not bother testing for png in non-graphical builds.Glenn Morris2014-05-181-0/+4
| | | | | | | | | | This seems to have been lost in the changes from the current emacs-24 branch version.
* | Port ctags+etags build to Sun C 5.12.Paul Eggert2014-05-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | * .bzrignore: Remove lib-src/ctags.c. * lib-src/Makefile.in (etags_args): Remove, replacing with ... (etags_cflags, etags_libs): New macros. All uses changed. (ctags${EXEEXT}): Don't compile etags.c, as compiling etags.c in parallel (once for ctags, once for etags) breaks parallel makes with compilers that use the source file name to name temporaries, such as Sun C 5.12. Instead, compile ctags.c. * lib-src/ctags.c: New file.
* | Port recent libpng changes to hosts with missing png.h.Paul Eggert2014-05-171-0/+8
| | | | | | | | | | | | | | * configure.ac (HAVE_PNG): Port to platforms where libpng-config succeeds but png.h is absent, by testing libpng-config's output rather than trusting it. I ran into this problem when building Emacs trunk on a Solaris 10 host.
* | Assume C99 or later.Paul Eggert2014-05-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/stdarg.in.h, lib/stdbool.in.h, m4/stdarg.m4, m4/stdbool.m4: Remove. * configure.ac (_AC_PROG_CC_C89): Define a dummy, to keep 'configure' smaller. (gl_PROG_CC_C99): Use this to get C99 or later. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * admin/merge-gnulib (GNULIB_MODULES): Remove stdarg, stdbool. (GNULIB_TOOL_FLAGS): Avoid stdarg, stdbool. * doc/lispref/internals.texi (C Dialect): Document this. * etc/NEWS: Document this. * nt/gnulib.mk: Remove stdarg and stdbool modules. * src/bytecode.c (B__dummy__): Remove. * src/conf_post.h (bool_bf) [!NS_IMPL_GNUSTEP]: Use bool. (FLEXIBLE_ARRAY_MEMBER): Now always empty. * src/dbusbind.c (XD_DEBUG_MESSAGE) [!DBUS_DEBUG]: * src/regex.c (DEBUG_PRINT): Assume varargs macros. * src/lisp.h (DEFUN_FUNCTION_INIT): Remove. All uses now assume C99. Fixes: debbugs:17487
* | Don't require pkg-config when building from repository.Paul Eggert2014-05-161-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * INSTALL: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'. * INSTALL.REPO: pkg-config is no longer required to build from the repository. * autogen.sh: Don't check for pkg-config. (progs): Remove pkg-config. (pkg_config_min, AUTORECONF_ENV, env_space, ACLOCAL_PATH): Remove. All uses removed. * m4/pkg.m4: New file, built by admin/merge-pkg-config. * configure.ac: Remove unnecessary m4_pattern_forbid of ^PKG_ and an AC_ARG_VAR of PKG_CONFIG_PATH. pkg.m4 does that for us. (EMACS_CHECK_MODULES): Remove workaround for old pkg-config bug, as we use pkg.m4 from a newer pkg-config. * admin/merge-pkg-config: New script. * admin/notes/copyright: Update for m4/*.m4, in particular m4/pkg.m4. * etc/NEWS: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'. * etc/PROBLEMS (Build-time-problems): Remove pkg-config problem that is no longer an issue. * nt/INSTALL: Remove no-longer-needed notes about pkg-config.
* | Fix typoJan Djärv2014-05-151-1/+1
| |
* | Fix yet another configure error on OSX.Jan Djärv2014-05-151-0/+4
| | | | | | | | * configure.ac (LIBONG): Do not test for libpng if NS_IMPL_COCOA.
* | If available, use Xfixes extension to do pointer blanking.Dmitry Antipov2014-05-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (HAVE_XFIXES): Define if available. (XFIXES_CFLAGS, XFIXES_LIBS): New AC_SUBSTs. * src/Makefile.in (XFIXES_CFLAGS, XFIXES_LIBS): New var. * src/xfns.c (x_set_mouse_color): Do not call make_invisible_cursor here. (make_invisible_cursor): Move to... * src/xterm.c (make_invisible_cursor): ...here. (x_probe_xfixes_extension, xfixes_toggle_visible_pointer) (x_toggle_visible_pointer, x_setup_pointer_blanking): New functions. (x_term_init): Call to x_setup_pointer_blanking. (XTtoggle_invisible_pointer): Use blanking specific to this display. * src/xterm.h (struct x_display_info): New member toggle_visible_pointer.