1. 03 May, 2014 1 commit
  2. 02 May, 2014 1 commit
    • Paul Eggert's avatar
      Consult libpng-config more consistently. · 6f074205
      Paul Eggert authored
      * configure.ac (edit_cflags): Move this up and to the top level,
      so that PNG_CFLAGS can use it too.
      (PNG_CFLAGS): New var.
      (png_longjmp): Use PNG_CFLAGS when checking.
      (LIBPNG): Be consistent about -lpng16 etc; e.g., don't use -lpng16
      in some places and -lpng in others.  Test libpng-config's exit
      status.  If it succeeds, use its output rather than appending -lz -lm.
      * src/Makefile.in (PNG_CFLAGS): New var.
      (ALL_CFLAGS): Use it.
      * src/image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as
      CFLAGS now handles this.
      
      Fixes: debbugs:17339
      6f074205
  3. 01 May, 2014 1 commit
  4. 29 Apr, 2014 1 commit
  5. 13 Apr, 2014 3 commits
    • Paul Eggert's avatar
      Port to IRIX 6.5. · 13a5993b
      Paul Eggert authored
      This port requires IRIX cc, as I did not have time to get
      undump working with the old GCC on the system I had access to,
      but that's better than nothing.
      * configure.ac (gl_GCC_VERSION_IFELSE): Remove unused macro
      that wouldn't have worked anyway, with IRIX cc.
      (emacs_cv_clang, emacs_cv_sanitize_address)
      (ns_osx_have_104, ns_osx_have_105):
      Don't assume '#error' makes the compiler fail,
      as this doesn't work with IRIX cc.
      (CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure'
      checks.  This runs afoul of an IRIX configuration where GnuTLS is
      in an optional library that also contains getdelim, and causes
      a later 'configure' to incorrectly think getdelim is supported.
      * src/alloc.c (TAGGABLE_NULL): New constant,
      for porting to hosts with nontrivial DATA_SEG_BITS settings.
      (next_vector, set_next_vector): Use it.
      * src/conf_post.h (INET6) [IRIX6_5]: Define.
      (HAVE_GETADDRINFO) [IRIX6_5]: Undef.
      * src/data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined.
      * src/lisp.h (lisp_h_XPNTR): Don't OR in bits that aren't masked out,
      for consistency with how TAGGABLE_NULL is computed.
      
      Fixes: debbugs:9684
      13a5993b
    • Eli Zaretskii's avatar
      Fix last commit. · 0bf20677
      Eli Zaretskii authored
      0bf20677
    • Eli Zaretskii's avatar
      Fix creation of emacs.exe hardlink at "make install" time on MS-Windows. · aa1f3497
      Eli Zaretskii authored
       configure.ac (LN_S_FILEONLY, LN_S): Use "/bin/ln" on MinGW, to
       ensure the MSYS ln.exe is invoked.
      aa1f3497
  6. 11 Apr, 2014 1 commit
  7. 09 Apr, 2014 1 commit
  8. 03 Apr, 2014 1 commit
    • Ken Brown's avatar
      Don't use manifest on Cygwin. (Bug#17176) · ebe8e076
      Ken Brown authored
      * nt/emacs.rc: Don't use manifest on Cygwin.
      * configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these
      variables empty on Cygwin. 
      * src/Makefile.in (EMACS_MANIFEST): Update comment.
      ebe8e076
  9. 31 Mar, 2014 2 commits
  10. 30 Mar, 2014 2 commits
  11. 05 Mar, 2014 3 commits
  12. 25 Feb, 2014 1 commit
  13. 18 Feb, 2014 1 commit
  14. 23 Jan, 2014 1 commit
  15. 22 Jan, 2014 1 commit
    • Paul Eggert's avatar
      Fix miscellaneous update-game-score bugs. · dc217d01
      Paul Eggert authored
      * configure.ac (difftime): Remove.
      * lib/update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
      (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage.
      (read_scores, write_scores): Check for fclose failure.
      (write_scores): Use fchmod, not chmod, to avoid a race.
      (lock_file): Fix test for out-of-date lock file; it was reversed.
      Use ordinary subtraction rather than difftime; since we're already
      assuming POSIX we don't need to worry about the possibility of
      time_t being a magic cookie.
      dc217d01
  16. 11 Jan, 2014 1 commit
    • Fabrice Popineau's avatar
      Fix minor build problems related to MinGW64. · e05d3a05
      Fabrice Popineau authored
       configure.ac: Read $srcdir/nt/mingw-cfg.site when $MSYSTEM is
       "MINGW64" as well.
      
       nt/inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.
      
       src/unexw32.c (_start) [__MINGW64__]: Define to __start.
      e05d3a05
  17. 09 Jan, 2014 1 commit
  18. 05 Jan, 2014 2 commits
  19. 01 Jan, 2014 2 commits
  20. 31 Dec, 2013 1 commit
    • Fabrice Popineau's avatar
      Minor fixes for MinGW64 build. · bd717ca4
      Fabrice Popineau authored
       configure.ac (canonical, C_SWITCH_SYSTEM): Support a 64-bit
       MinGW64 build on MS-Windows.
      
       nt/inc/ms-w32.h (sys_kill): Fix prototype.
      
       src/w32term.c (w32_initialize): Use LCID and LOWORD.
       src/w32proc.c (create_child): Use pid_t for 5th argument.
       (IsValidLocale): Don't provide prototype for MinGW64.
       (Fw32_get_valid_keyboard_layouts, Fw32_get_keyboard_layout)
       (Fw32_set_keyboard_layout): Use HKL and HIWORD/LOWORD.
       src/w32heap.c (allocate_heap) [_WIN64]: Use "ull", not "i64", which
       MinGW64 doesn't support.
       src/lisp.h (EMACS_INT) [_WIN64]: Define for the MinGW64 build.
      bd717ca4
  21. 29 Dec, 2013 3 commits
  22. 28 Dec, 2013 3 commits
  23. 27 Dec, 2013 2 commits
  24. 26 Dec, 2013 1 commit
    • Paul Eggert's avatar
      Fix core dumps with gcc -fsanitize=address and GNU/Linux. · e76119d7
      Paul Eggert authored
      On my Fedora 19 platform the core dumps were so big that
      my desktop became nearly catatonic.
      * configure.ac: Check whether addresses are sanitized.
      (CANNOT_DUMP): Warn if addresses are sanitized and not CANNOT_DUMP.
      (DOUG_LEA_MALLOC): Do not define if addresses are sanitized.
      (SYSTEM_MALLOC): Define if addresses are sanitized.
      * src/alloc.c (no_sanitize_memcpy) [MAX_SAVE_STACK > 0]: New function.
      (Fgarbage_collect) [MAX_SAVE_STACK > 0]: Use it.
      (USE_ALIGNED_MALLOC): Do not define if addresses are sanitized.
      (mark_memory): Use ATTRIBUTE_NO_SANITIZE_ADDRESS rather than
      a clang-only syntax.
      * src/conf_post.h (__has_feature): New macro, if not already defined.
      (ADDRESS_SANITIZER, ADDRESS_SANITIZER_WORKAROUND)
      (ATTRIBUTE_NO_SANITIZE_ADDRESS): New macros.
      e76119d7
  25. 23 Dec, 2013 1 commit
  26. 14 Dec, 2013 2 commits