1. 15 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Parallelize clean rules using GNU make features · 0e6929ec
      Glenn Morris authored
      * 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.
      0e6929ec
  2. 14 Jun, 2014 1 commit
    • Paul Eggert's avatar
      Port part of the AIX fix to Solaris. · 50bee071
      Paul Eggert authored
      * 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
      50bee071
  3. 13 Jun, 2014 1 commit
    • Glenn Morris's avatar
      With GNU make, MFLAGS is not needed · f9d80c51
      Glenn Morris authored
      * 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.
      f9d80c51
  4. 11 Jun, 2014 3 commits
  5. 10 Jun, 2014 3 commits
  6. 07 Jun, 2014 1 commit
    • Paul Eggert's avatar
      Port better to AIX. · a0e26ff0
      Paul Eggert authored
      * 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
      a0e26ff0
  7. 05 Jun, 2014 4 commits
  8. 03 Jun, 2014 1 commit
  9. 01 Jun, 2014 2 commits
  10. 30 May, 2014 1 commit
    • Paul Eggert's avatar
      Fix port to 32-bit AIX with xlc. · 1915d8d6
      Paul Eggert authored
      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.
      1915d8d6
  11. 29 May, 2014 4 commits
  12. 27 May, 2014 2 commits
    • Fabrice Popineau's avatar
      Use mmap(2) emulation for buffer text on MS-Windows. · 587fd086
      Fabrice Popineau authored
       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.
      587fd086
    • Paul Eggert's avatar
      Merge from gnulib. · c3e7b943
      Paul Eggert authored
      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.
      c3e7b943
  13. 22 May, 2014 1 commit
    • Paul Eggert's avatar
      Fix port to 32-bit AIX. · 4f4ec76f
      Paul Eggert authored
      * 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
      4f4ec76f
  14. 19 May, 2014 1 commit
    • Paul Eggert's avatar
      Remove dependencies on getdelim and getline. · 60fc70a8
      Paul Eggert authored
      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.
      60fc70a8
  15. 18 May, 2014 4 commits
  16. 17 May, 2014 2 commits
    • Paul Eggert's avatar
      Assume C99 or later. · 8208d2bf
      Paul Eggert authored
      * 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
      8208d2bf
    • Glenn Morris's avatar
  17. 16 May, 2014 1 commit
    • Paul Eggert's avatar
      Don't require pkg-config when building from repository. · c56327b5
      Paul Eggert authored
      * 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.
      c56327b5
  18. 15 May, 2014 2 commits
  19. 13 May, 2014 2 commits
    • Dmitry Antipov's avatar
      If available, use Xfixes extension to do pointer blanking. · d3e5c0ea
      Dmitry Antipov authored
      * 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.
      d3e5c0ea
    • Dmitry Antipov's avatar
      * configure.ac (--enable-link-time-optimization): Add clang support. · bd098f41
      Dmitry Antipov authored
      * INSTALL: Mention it.
      * etc/PROBLEMS: Mention potential problems with
      --enable-link-time-optimization and clang on Fedora 20.
      bd098f41
  20. 12 May, 2014 1 commit
  21. 11 May, 2014 2 commits