1. 20 Jun, 2014 2 commits
  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. 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
  4. 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
  5. 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
  6. 18 May, 2014 1 commit
  7. 17 May, 2014 2 commits
  8. 12 May, 2014 1 commit
  9. 04 May, 2014 2 commits
    • Paul Eggert's avatar
      Revert recent libpng changes. · 61febcb6
      Paul Eggert authored
      They fix only bugs that aren't being reported, so it may be better
      to do them on the trunk.
      * configure.ac (PNG_CFLAGS): Remove.  All uses removed.
      (LIBPNG): Don't be consistent about -lpng16 versus -lpng.
      Ignore libpng-config's exit status.  Always append -lz -lm.
      * src/Makefile.in (PNG_CFLAGS): Remove; all uses removed.
      * src/image.c [HAVE_LIBPNG_PNG_H]: Include <libpng/png.h>, not <png.h>.
      
      Fixes: debbugs:17339
      61febcb6
    • Paul Eggert's avatar
      * configure.ac (LIBPNG): Add -lz -lm on platforms where they're needed · ec5f5b30
      Paul Eggert authored
      but libpng-config --libs omits them.  Problem reported by Glenn
      Morris.
      ec5f5b30
  10. 03 May, 2014 1 commit
  11. 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
  12. 01 May, 2014 1 commit
  13. 29 Apr, 2014 1 commit
  14. 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
  15. 11 Apr, 2014 1 commit
  16. 09 Apr, 2014 1 commit
  17. 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
  18. 31 Mar, 2014 2 commits
  19. 30 Mar, 2014 2 commits
  20. 05 Mar, 2014 3 commits
  21. 25 Feb, 2014 1 commit
  22. 18 Feb, 2014 1 commit
  23. 23 Jan, 2014 1 commit
  24. 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
  25. 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
  26. 09 Jan, 2014 1 commit
  27. 05 Jan, 2014 2 commits
  28. 01 Jan, 2014 2 commits
  29. 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