1. 27 May, 2014 1 commit
    • 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.
  2. 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
  3. 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
      (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.
  4. 18 May, 2014 4 commits
  5. 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:
      * configure.ac (_AC_PROG_CC_C89): Define a dummy, to keep 'configure'
      (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
    • Glenn Morris's avatar
  6. 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.
  7. 15 May, 2014 2 commits
  8. 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.
      * 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.
    • 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.
  9. 12 May, 2014 1 commit
  10. 11 May, 2014 4 commits
  11. 07 May, 2014 1 commit
  12. 05 May, 2014 1 commit
  13. 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
    • 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
    • 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
  14. 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
    • 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.
    • 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'.
    • 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.
    • 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.
  15. 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.
    • 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.
    • Glenn Morris's avatar
    • 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
    • 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.
  16. 01 May, 2014 1 commit
  17. 29 Apr, 2014 1 commit
  18. 21 Apr, 2014 1 commit
  19. 19 Apr, 2014 1 commit