1. 03 May, 2014 2 commits
    • Paul Eggert's avatar
      Get --enable-gcc-warnings to work after touching configure.ac. · 541df9f4
      Paul Eggert authored
      Preserve ACLOCAL_PATH in later builds, so that by default it has
      the same value as it did in the first build after initial checkout.
      * Makefile.in (ACLOCAL_PATH): New macro.
      ($(srcdir)/aclocal.m4): Use it.
      * configure.ac (ACLOCAL_PATH): AC_SUBST it.
      * autogen.sh (env_space): New var.
      Tell user what variables, if any, to pass to 'configure'.
      541df9f4
    • Paul Eggert's avatar
      Get --enable-gcc-warnings working again. · 2bafb7c4
      Paul Eggert authored
      The recent changes to configure.ac removed the transliteration of
      -I to -isystem in CFLAGS, which is needed for --enable-gcc-warnings.
      Bring this back while keeping the spirit of the recent changes.
      * configure.ac (edit_cflags): Restore this shell var, and put it
      at the top level, where it'll be useful when emacs-24 is next merged.
      (EMACS_CHECK_MODULES): New macro.  All uses of PKG_CHECK_MODULES
      changed to use it.
      2bafb7c4
  2. 02 May, 2014 4 commits
  3. 29 Apr, 2014 1 commit
  4. 19 Apr, 2014 2 commits
  5. 16 Apr, 2014 1 commit
    • Paul Eggert's avatar
      Remove DATA_SEG_BITS. · 5403b2d3
      Paul Eggert authored
      The DATA_SEG_BITS hack was needed for older 32 bit platforms.
      As a result of this change, Emacs won't work on IRIX 6.5 with IRIX
      cc, but that platform is so old that SGI itself stopped supporting
      it in December 2013.  If you still need Emacs on IRIX, please
      either compile with GCC and port the undumping code, or run
      './configure --with-wide-int'.
      * configure.ac (DATA_SEG_BITS): Remove.  All uses removed.
      * src/alloc.c (gdb_make_enums_visible): Update to match lisp.h.
      * src/lisp.h (GCTYPEBITS): Move definition up, and switch to the
      DEFINE_GDB_SYMBOL_START way to define it.
      (NONPOINTER_BITS): New macro.
      (EMACS_INT): Use it.
      [!USE_LSB_TAG && !WIDE_EMACS_INT]: Fail, and suggest reporting
      the problem and/or configuring --with-wide-int.
      (USE_LSB_TAG): Simplify, based on above changes.
      (gdb_DATA_SEG_BITS): Remove.  All uses removed.
      * src/vm-limit.c (exceeds_lisp_ptr): Remove.  All uses removed.
      5403b2d3
  6. 14 Apr, 2014 1 commit
    • Paul Eggert's avatar
      Clean up configure-time library handling a bit. · 93ca4887
      Paul Eggert authored
      This patch was inspired by emacs-24 2014-04-09T13:37:49Z!sdl.web@gmail.com, which fixed
      a bug due to sloppy library handling in 'configure'.
      * configure.ac (LIB_MATH, LIB_PTHREAD, LIBXMU):
      Use AC_SEARCH_LIBS instead of AC_CHECK_LIB as per Autoconf manual.
      (LIB_MATH, LIB_PTHREAD, HAVE_X11, IMAGEMAGICK_LIBS, GTK_LIBS)
      (DBUS_LIBS, LIBXMU, XFT_LIBS, LIBXSM, LIBXML2_LIBS, LIBS_MAIL)
      (with_kerberos):
      Don't let the library choice infect $LIBS.
      (dnet_ntoa, cma_open): Remove obsolete tests.
      (emacs_pthread_function): Probe for pthread_kill, not pthread_self,
      as that's a bit more selective on GNU/Linux.
      (LIBXEXT): Remove.
      (touchlock): Test for existence when $LIBS_MAIL is in use.
      (AC_CHECK_FUNCS): Use only $LIB_MATH in addition to $LIBS
      when testing for typical functions like accept4, lrand48.
      (random, rint): Remove obsolete HP-UX 9 A.09.05 test.
      93ca4887
  7. 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
  8. 11 Apr, 2014 1 commit
  9. 09 Apr, 2014 1 commit
  10. 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
  11. 01 Apr, 2014 1 commit
  12. 31 Mar, 2014 3 commits
  13. 30 Mar, 2014 2 commits
  14. 29 Mar, 2014 1 commit
  15. 28 Mar, 2014 2 commits
    • Glenn Morris's avatar
      Improve usage of AC_INIT · 7b207d6d
      Glenn Morris authored
      * configure.ac (AC_INIT): Add "GNU" in package, add bug address.
      (PACKAGE_BUGREPORT): Use it.
      
      * src/emacs.c (emacs_version): Use PACKAGE_VERSION rather than VERSION.
      (emacs_bugreport): New variable.
      (usage_message): Use PACKAGE_BUGREPORT.
      (syms_of_emacs) <report-emacs-bug-address>: New variable.
      
      * lisp/cus-start.el (report-emacs-bug-address): Set custom properties.
      
      * lisp/mail/emacsbug.el (report-emacs-bug-address):
      Variable is now defined in emacs.c.
      7b207d6d
    • Glenn Morris's avatar
      Add system-configuration-features, summarising some configure results · c3153003
      Glenn Morris authored
      * configure.ac (ACL_SUMMARY): Rename from acl_summary, for consistency.
      (EMACS_CONFIG_FEATURES): New define.
      
      * src/emacs.c (syms_of_emacs) <system-configuration-features>: New var.
      
      * lisp/mail/emacsbug.el (report-emacs-bug):
      Include system-configuration-features.
      
      * etc/NEWS: Mention this.
      c3153003
  16. 27 Mar, 2014 2 commits
  17. 26 Mar, 2014 1 commit
    • Glenn Morris's avatar
      Remove the build-time option CLASH_DETECTION · 11ee65af
      Glenn Morris authored
      Every platform supports it, and the runtime option `create-lockfiles'
      replaces it.
      
      * configure.ac (CLASH_DETECTION): Remove option.
      
      * lisp/files.el (lock-buffer, unlock-buffer, file-locked-p):
      Remove fallback aliases, since they are always defined now.
      
      * src/buffer.c (Frestore_buffer_modified_p, Fkill_buffer):
      * src/emacs.c (shut_down_emacs):
      * src/fileio.c (Finsert_file_contents, write_region):
      * src/filelock.c (top-level, syms_of_filelock):
      * src/insdel.c (prepare_to_modify_buffer_1):
      CLASH_DETECTION is always defined now.
      
      * admin/CPP-DEFINES: Remove CLASH_DETECTION.
      11ee65af
  18. 23 Mar, 2014 1 commit
  19. 21 Mar, 2014 1 commit
    • Eli Zaretskii's avatar
      Bump trunk version to 24.4.50. · a502d893
      Eli Zaretskii authored
       modified files:
         ChangeLog
         README
         configure.ac
         doc/emacs/emacsver.texi
         doc/man/emacs.1
         msdos/sed2v2.inp
         nt/config.nt
         nt/emacs.rc
         nt/emacsclient.rc
         nt/makefile.w32-in
      a502d893
  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