1. 12 May, 2014 1 commit
  2. 11 May, 2014 4 commits
  3. 07 May, 2014 1 commit
  4. 05 May, 2014 1 commit
  5. 04 May, 2014 4 commits
    • Paul Eggert's avatar
      Consult libpng-config more consistently. · f8c2cef5
      Paul Eggert authored
      This is mainly for simplicity, but it should also avoid
      some future problems like the ones we recently had with NetBSD.
      * configure.ac (LIBPNG): Configure after LIBZ.  Use libpng-config
      for cflags, too.  Append -lz if we're not already doing that with
      LIBZ.  Do not bother appending -lm, since we always append that.
      Coalesce some duplicate code.
      * 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
      f8c2cef5
    • Paul Eggert's avatar
    • 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
  6. 03 May, 2014 5 commits
    • Paul Eggert's avatar
      Require ImageMagick >= 6.3.5, due to PixelSetMagickColor. · 7e00998f
      Paul Eggert authored
      * configure.ac (IMAGEMAGICK_MODULE): Bump prereq from 6.2.8 to 6.3.5.
      A more-complicated fix would be to remove uses of PixelSetMagickColor,
      introduced in ImageMagick 6.3.5 (Sept. 2007).
      
      Fixes: debbugs:17339
      7e00998f
    • Glenn Morris's avatar
      * autogen.sh: If all else fails, try using pkg-config to find pkg.m4. · c3a435fe
      Glenn Morris authored
      This is an attempt to get hydra builds working again.
      c3a435fe
    • 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
    • Paul Eggert's avatar
      Make it easier on maintainers who use their own Automake. · af3e4d06
      Paul Eggert authored
      * autogen.sh (ACLOCAL_PATH, AUTORECONF_ENV): New vars.
      Set them to avoid problems when maintainers prepend their own
      Automake installations to their PATH.  Report an error if pkg.m4
      can't be found.
      af3e4d06
  7. 02 May, 2014 6 commits
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Remove the --with-pkg-config-prog configure option · ef9ea0a6
      Glenn Morris authored
      * configure.ac (--with-pkg-config-prog): Remove.
      Use the PKG_CONFIG environment variable instead if you need it.
      
      * etc/NEWS: Mention this.
      ef9ea0a6
    • Glenn Morris's avatar
      Use pkg-config's pkg.m4 · b05e08a4
      Glenn Morris authored
      * configure.ac: Use pkg-config's pkg.m4, rather than reinventing it.
      Add explicit AC_SUBST's where needed.
      
      * autogen.sh (progs): Add pkg-config.
      (pkg_config_min): New variable.
      
      * INSTALL.REPO: Mention pkg-config.
      
      * etc/PROBLEMS: Mention a related issue that can occur with a local automake.
      b05e08a4
    • Glenn Morris's avatar
      cd626254
    • 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
    • Glenn Morris's avatar
      autogen.sh: minor tweaks · 5253ea1d
      Glenn Morris authored
      * autogen.sh (get_version): Handle no leading whitespace.
      (check_version, main): Handle program names with hyphens.
      5253ea1d
  8. 01 May, 2014 1 commit
  9. 29 Apr, 2014 1 commit
  10. 21 Apr, 2014 1 commit
  11. 19 Apr, 2014 1 commit
  12. 17 Apr, 2014 3 commits
  13. 16 Apr, 2014 2 commits
    • 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
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · bf6b4923
      Eli Zaretskii authored
       src/unexcoff.c [MSDOS]: Include libc/atexit.h.
       (copy_text_and_data): Zero out the atexit chain pointer before
       dumping Emacs.
       src/termhooks.h (encode_terminal_code): Update prototype.
       src/term.c (encode_terminal_code) [DOS_NT]: Make it externally
       visible for all DOS_NT ports, not just WINDOWSNT.
       (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.
       src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
       unless it is defined.
       (emacs_pipe) [MSDOS]: Redirect to 'pipe'.
       src/process.c (close_on_exec, accept4, process_socket): Move into
       the "ifdef subprocesses" part.
       (catch_child_signal): Condition by "ifdef subprocesses".
       (syms_of_process) <Qinternal_default_process_sentinel>
       <Qinternal_default_process_filter>: Condition by "ifdef subprocesses".
       src/msdos.h: Add prototypes for new functions.
       (EINPROGRESS): Define.
       (O_CLOEXEC): Define to zero.
       src/msdos.c (check_window_system): Remove unnecessary an
       incompatible duplicate function.
       (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New
       functions in support of new functionality.
       src/menu.c (single_menu_item): Add visual indication  of submenu
       also for menus on MSDOS frames.
       (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.
       src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
       when async subprocesses aren't supported.
       src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.
       src/emacs.c (close_output_streams): Zero out errno before calling
       close_stream.
       src/dired.c [MSDOS]: Include msdos.h.
       src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
       (DATA_START) [MSDOS]: Define.
       (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.
       src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
       Ifdef away for MSDOS.
       (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
       (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
       for MSDOS.
       (call_process) [MSDOS]: Fix call sequence of dostounix_filename.
       Use temporary file template that is compatible with mkostemp.
       Move vfork-related portions under #ifndef MSDOS.
       (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
      
       lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
       doc strings, as required by snarf-documentation.
      
       msdos/sedlisp.inp:
       msdos/sedlibmk.inp:
       msdos/sedleim.inp:
       msdos/sed3v2.inp:
       msdos/sed2v2.inp:
       msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4.
       msdos/inttypes.h: Add PRIdMAX.
       msdos/INSTALL: Update for Emacs 24.4.
       msdos/sedadmin.inp: New file.
      bf6b4923
  14. 14 Apr, 2014 2 commits
    • Paul Eggert's avatar
      * autogen.sh: Use autoreconf's -f option. · 6956b278
      Paul Eggert authored
      Fixes: debbugs:17258
      6956b278
    • 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
  15. 13 Apr, 2014 2 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 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
  16. 11 Apr, 2014 2 commits
  17. 09 Apr, 2014 1 commit
  18. 07 Apr, 2014 1 commit
    • Glenn Morris's avatar
      ChangeLog fixes · 6f287c89
      Glenn Morris authored
      Merged entries get today's date.
      May as well combine consecutive separate entries by same author into one.
      Backported entries should not appear twice.
      6f287c89
  19. 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