1. 06 Jan, 2016 1 commit
    • Glenn Morris's avatar
      Build tweaks related to tags files. · c6d3c60f
      Glenn Morris authored
      * lib-src/Makefile.in (tagsfiles): New variable.
      (TAGS): Also depend on the source files.  Use our own etags program.
      * lisp/Makefile.in (ETAGS): Add EXEEXT.
      (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
      Remove.
      (tagsfiles): New, replacing lisptagsfiles1 etc.
      Remove irrelevant source files here rather than in the TAGS rule.
      (${ETAGS}): New rule.
      (TAGS): Also depend on the etags executable.
      * lwlib/Makefile.in (EXEEXT): New, set by configure.
      (ETAGS): Add EXEEXT.
      (${ETAGS}): New rule.
      (ctagsfiles): Use "wildcard".
      (TAGS): Also depend on the etags executable.
      * nt/Makefile.in (ETAGS, tagsfiles): New variables.
      (${ETAGS}): New rule.
      (TAGS): Fix dependencies.
      * oldXMenu/Makefile.in (EXEEXT): New, set by configure.
      (ETAGS): New variable, replacing $TAGS.  Use our own etags program.
      Remove "-t" argument.
      (${ETAGS}): New rule.
      (tagsfiles): New variable.
      (TAGS): New rule, with proper dependencies.
      * src/Makefile.in (ETAGS): Add EXEEXT.  Add a build rule.
      (ctagsfiles1, ctagsfiles2): Use "wildcard".
      (ctagsfiles3): Remove.
      (TAGS): Depend on etags.
      (../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
      directories decide if updates are needed.
      c6d3c60f
  2. 25 Dec, 2015 1 commit
    • Eli Zaretskii's avatar
      Fix bootstrap broken by changes related to OS X file-name encoding · 94a36062
      Eli Zaretskii authored
      * lisp/international/ucs-normalize.el (eval-when-compile): Make
      sure char-code-property-alist includes elements that allow access
      to 'decomposition' and 'canonical-combining-class' Unicode
      properties, as compiling ucs-normalize.el requires that.
      * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
      only of charprop.el was already loaded.
      
      * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
      New order-only dependency.
      94a36062
  3. 25 Nov, 2015 1 commit
    • Michael Albinus's avatar
      Add kqueue support · e3354e22
      Michael Albinus authored
      * configure.ac (--with-file-notification): Add kqueue.
      (top): Remove special test for "${HAVE_NS}" and
      ${with_file_notification}, this is handled inside gfilenotify
      tests.  Add kqueue tests.  Use NOTIFY_CFLAGS and NOTIFY_LIBS
      instead of library specific variables.
      
      * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
      
      * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
      
      * src/kqueue.c: New file.
      
      * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
      e3354e22
  4. 19 Nov, 2015 1 commit
  5. 18 Nov, 2015 1 commit
    • Aurélien Aptel's avatar
      Add dynamic module module support · 307e76c7
      Aurélien Aptel authored
      * configure.ac: Add '--with-modules' option.  Conditionally add
        dynlib.o and module.o to the list of objects.  Add any system
        specific flags to the linker flags to support dynamic libraries.
      * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
        attributes.
      * src/Makefile.in: Conditionally add module objects and linker flags.
      * src/alloc.c (garbage_collect_1): protect module local values from
        GC.
      * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
      * src/emacs_module.h: New header file included by modules.  Public
        module API.
      * src/module.c: New module implementation file.
      Co-authored-by: default avatarPhilipp Stephani <phst@google.com>
      307e76c7
  6. 12 Nov, 2015 1 commit
    • Ken Raeburn's avatar
      Detect XCB and save a connection handle · c7f2b6ad
      Ken Raeburn authored
      * configure.ac: If using X11, check for XCB libraries and header.
      * src/Makefile.in (XCB_LIBS): Define.
      (LIBX_EXTRA): Include it.
      
      * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
      (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
      * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
      c7f2b6ad
  7. 11 Nov, 2015 1 commit
    • Michael Albinus's avatar
      Add kqueue support · 662ee733
      Michael Albinus authored
      * configure.ac (--with-file-notification): Add kqueue.
      (top): Remove special test for "${HAVE_NS}" and
      ${with_file_notification}, this is handled inside gfilenotify
      tests.  Add kqueue tests.  Use NOTIFY_CFLAGS and NOTIFY_LIBS
      instead of library specific variables.
      
      * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
      
      * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
      
      * src/kqueue.c: New file.
      
      * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
      662ee733
  8. 11 Oct, 2015 1 commit
    • Paul Eggert's avatar
      Use ‘echo’ safely with ‘\’ or leading ‘-’ · 29dfca23
      Paul Eggert authored
      POSIX says that ‘echo FOO’ produces implementation-defined output
      if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
      behavior in that case.
      * Makefile.in (removenullpaths): Remove.
      (epaths-force): Rewrite to avoid the need for ‘echo’.
      (install-etc): Be clearer about escaping the shell metacharacters
      ‘\’ and ‘$’.
      * Makefile.in (install-arch-indep, install-etcdoc):
      * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
      * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
      * configure.ac, lib-src/rcs2log, make-dist:
      * src/Makefile.in (lisp.mk):
      Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
      For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
      if $foo can contain arbitrary characters.
      * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
      * doc/lispref/two-volume.make (vol1.pdf):
      * test/etags/make-src/Makefile (web ftp publish):
      Use ‘printf’ rather than ‘echo -e’.
      29dfca23
  9. 25 Jun, 2015 2 commits
    • Paul Eggert's avatar
      Fix submake dependency bug with .h files · d08e8a11
      Paul Eggert authored
      * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
      Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
      before the submake in $(libsrc) would spin off a subsubmake
      for $(lib) in parallel with our submake for $(lib) (Bug#20894).
      d08e8a11
    • Paul Eggert's avatar
      Get ‘./configure; make -C src emacs’ to work · 319eeeb0
      Paul Eggert authored
      Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
      * lib-src/Makefile.in (../lib/libgnu.a):
      * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
      319eeeb0
  10. 17 Jun, 2015 1 commit
    • Glenn Morris's avatar
      Generate char-script-table from Unicode source. (Bug#20789) · d67d49ce
      Glenn Morris authored
      * admin/unidata/Makefile.in (AWK): New, set by configure.
      (all): Add charscript.el.
      (blocks): New variable.
      (charscript.el, ${unidir}/charscript.el): New targets.
      (extraclean): Also remove generated charscript.el.
      
      * admin/unidata/blocks.awk: New script.
      
      * admin/unidata/Blocks.txt: New data file, from unicode.org.
      
      * lisp/international/characters.el: Load charscript.
      
      * src/Makefile.in (charscript): New variable.
      (${charscript}): New target.
      (${lispintdir}/characters.elc): Depend on charscript.elc.
      (temacs$(EXEEXT)): Depend on charscript.
      
      ; * admin/unidata/README: Mention Blocks.txt.
      
      ; * .gitignore: Add lisp/international/charscript.el.
      d67d49ce
  11. 23 May, 2015 2 commits
    • Glenn Morris's avatar
      Remove charset map files from repository, generate in first bootstrap · 9f89ea1f
      Glenn Morris authored
      * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
      (all): Create the stamp file.
      (extraclean): Delete the stamp file.
      * src/Makefile.in (lispintdir, charsets): New variables.
      (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
      New rules.
      (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
      * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
      * etc/charsets/*.map: Remove from repository.
      ; * admin/charsets/mapconv: Fix typo in output comment.
      ; * etc/charsets/README: Small update.
      ; * .gitignore: Update for charset changes.
      9f89ea1f
    • Paul Eggert's avatar
      Put default action first in src/Makefile · fa658b2e
      Paul Eggert authored
      * src/Makefile.in (all): Put this rule before lisp.mk.
      That way, plain 'make' works in the src directory again.
      fa658b2e
  12. 17 May, 2015 1 commit
    • Glenn Morris's avatar
      * src/lisp.mk: Remove from repository and generate at build-time. · 46ea9379
      Glenn Morris authored
      * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
      (shortlisp_filter): New variable.
      (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
      (distclean): Remove lisp.mk.
      * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
      * lisp/loadup.el: Tweak layout to make it easier to parse.
      * make-dist: Do not distribute src/lisp.mk.
      46ea9379
  13. 16 May, 2015 2 commits
    • Glenn Morris's avatar
      Small src/Makefile simplification. · e3c90430
      Glenn Morris authored
      * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
      * src/Makefile.in (lisp): Derive from shortlisp.
      ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
      e3c90430
    • Glenn Morris's avatar
      Replace AC_SUBST_FILE in configure with include in Makefiles. · 48e384d7
      Glenn Morris authored
      * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
      (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
      (AUTO_DEPEND): New output variable.
      * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
      (DEPFLAGS, MKDEPDIR): Set directly via conditional.
      (lwlib_deps_frag): Replace by conditional include.
      * lwlib/autodeps.mk: Remove file.
      * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
      (DEPFLAGS, MKDEPDIR): Set directly via conditional.
      (oldxmenu_deps_frag): Replace by conditional include.
      * oldXMenu/autodeps.mk: Remove file.
      * src/Makefile.in (AUTO_DEPEND): New, set by configure.
      (DEPFLAGS, MKDEPDIR): Set directly via conditional.
      (lisp_frag): Replace by an include.
      (deps_frag): Replace by conditional include.
      * src/autodeps.mk: Remove file.
      48e384d7
  14. 13 May, 2015 1 commit
  15. 12 May, 2015 1 commit
  16. 11 Feb, 2015 1 commit
    • Jan D's avatar
      Add cairo drawing. · dddcc0e7
      Jan D authored
      * configure.ac (with-cairo): New option.
      (USE_CAIRO): Default to yes for Gtk+ 3.  Add code to test for cairo,
      set CAIRO_CFLAGS, CAIRO_LIBS.  Add ftcrfonto to FONT_OBJ if cairo.
      Output "Does Emacs use cairo?".
      
      * lisp/version.el (emacs-version): Add cairo version.
      
      * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
      (FONT_OBJ): Add comment about ftcrfont.
      (ALL_CFLAGS): Add CAIRO_CFLAGS.
      (LIBES): Add CAIRO_LIBS.
      
      * src/dispextern.h (struct image): Add cr_data for cairo.
      (x_cr_init_fringe): Declare.
      
      * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
      
      * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
      
      * src/fringe.c (x_cr_init_fringe): New function name that shares code
      with w32_init_fringe.
      
      * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
      
      * src/ftfont.c (ftfont_info_size); New global variable.
      (ftfont_open2): New extern function almost the same as old ftfont_open,
      but takes the font_object as argument.
      (ftfont_open): Build font object and call ftfont_open2.
      
      * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
      
      * src/gtkutil.c (xg_clear_under_internal_border)
      (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only
      queue_draw if not cairo.  Change args to x_clear_area.
      (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
      (xg_page_setup_dialog, xg_get_page_setup, draw_page)
      (xg_print_frames_dialog): New functions for printing.
      
      * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
      (xg_print_frames_dialog): Declare.
      
      * src/image.c: Add defined (USE_CAIRO) for PNG.
      Add !defined USE_CAIRO for W32 PNG code.
      (x_clear_image): If cairo, destroy the surface in cr_data.
      (png_load): Add new cairo compatible implementation.
      (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
      
      * src/xfns.c: New section Printing.
      (x-export-frames, x-page-setup-dialog, x-get-page-setup)
      (x-print-frames-dialog): New printing functions.
      (Fx_create_frame, x_create_tip_frame): Register ftcrfont if
      cairo.
      (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
      Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
      (syms_of_xfns): Provide cairo and defvar cairo-version-string.
      defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
      
      * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
      (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
      (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
      (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
      Declare.
      (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
      (max_fringe_bmp, fringe_bmp): New variables.
      (x_gc_get_ext_data, x_extension_initialize)
      (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
      (x_set_cr_source_with_gc_foreground)
      (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
      (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
      (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
      (x_prepare_for_xlibdraw, x_set_clip_rectangles)
      (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
      (x_clear_window, x_fill_trapezoid_for_relief): New functions.
      (x_update_begin): Create cairo surface if needed.
      (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
      (x_update_end): Paint cairo drawing surface to xlib surface.
      (x_clear_under_internal_border, x_after_update_window_line): Adjust
      arguments to x_clear_area.
      (x_draw_fringe_bitmap): Call x_fill_rectangle.  Get GC values and
      call x_cr_draw_image for cairo.  Call x_reset_clip_rectangles instead
      of XSetClipMask.
      (x_set_glyph_string_clipping)
      (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
      instead of XSetClipRectangles.
      (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use
      x_fill_rectangle instead of XFillRectangle.
      (x_draw_glyph_string_foreground)
      (x_draw_composite_glyph_string_foreground)
      (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead
      of XDrawRectangle.
      (x_draw_relief_rect): Add code for USE_CAIRO.
      Call x_reset_clip_rectangles instead of XSetClipMask.
      (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
      x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
      instead of XSetClipMask.
      (x_draw_image_foreground, x_draw_image_foreground_1):
      x_draw_rectangle instead of XDrawRectangle.
      (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
      XFillRectangle.
      (x_draw_image_glyph_string): If img has cr_data, use it as
      a cairo surface.
      (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
      XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
      (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
      x_reset_clip_rectangles instead of XSetClipMask.
      (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
      (x_clear_area1): New function that calls XClearArea.
      (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
      non-cairo.
      (x_clear_frame): x_clear_window instead of XClearWindow.
      (x_scroll_run): Set frame garbaged if cairo.
      (XTmouse_position): Initialize *part to 0.
      (x_scroll_bar_create): Adjust arguments to x_clear_area.
      (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
      x_fill_rectangle instead of XFillRectangle.
      (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
      arguments to x_clear_area.
      (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
      (handle_one_xevent): Adjust arguments to x_clear_area.
      Destroy cairo surface for frame if ConfigureNotify.
      (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
      (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
      x_reset_clip_rectangles instead of XSetClipMask.
      (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
      x_reset_clip_rectangles instead of XSetClipMask.
      (x_clear_frame_area): Adjust arguments to x_clear_area.
      (x_free_frame_resources): Call x_prepare_for_xlibdraw.
      (x_term_init): Call x_extension_initialize if cairo.
      (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
      x_cr_destroy_fringe_bitmap for cairo.
      (x_initialize): Call x_cr_init_fringe for cairo.
      
      * src/xterm.h: Add include of cairo header files.
      (x_bitmap_record): Add img if cairo.
      (x_gc_ext_data): New struct for cairo.
      (x_display_info): Add ext_codes for cairo.
      (x_output): Add cr_context and cr_surface for cairo.
      (x_clear_area): Change arguments from Display*/Window to frame pointer.
      (x_query_color, x_begin_cr_clip, x_end_cr_clip)
      (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
      (x_cr_draw_frame, x_cr_export_frames): Declare.
      dddcc0e7
  17. 01 Feb, 2015 1 commit
  18. 31 Jan, 2015 1 commit
  19. 12 Jan, 2015 1 commit
    • Paul Eggert's avatar
      Have 'make' output better GEN names · d703a4dc
      Paul Eggert authored
      * lisp/Makefile.in (PHONY_EXTRAS): New macro.
      (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
      relevant files' time stamps are ignored.
      (custom-deps, $(lisp)/cus-load.el, finder-data)
      ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
      (custom-deps, $(lisp)/cus-load.el, finder-data)
      ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
      ($(lisp)/subdirs.el, update-subdirs):
      Output more-accurate destination names with GEN.
      * src/Makefile.in (gl-stamp, globals.h): Simplify by putting the new
      contents of globals.h into gl-stamp.  This lets us use AM_V_GEN
      more naturally so that 'make' can output more-accurate names.
      d703a4dc
  20. 04 Jan, 2015 1 commit
    • Paul Eggert's avatar
      Less 'make' chatter for lisp dir · ccb2d938
      Paul Eggert authored
      * lisp/Makefile.in (THEFILE): Define to be 'no-such-file' by default,
      to make it clearer that the caller must specify it.
      (compile-onefile): Remove, replacing by ...
      ($(THEFILE)c): ... new rule.  This lets us use AM_V_GEN here.
      ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
      ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
      ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
      Use AM_V_GEN to lessen 'make' chatter.
      (.el.elc): Omit duplicate comment.
      * src/Makefile.in (%.elc): Adjust to compile-onefile change in
      ../lisp/Makefile.in.
      ccb2d938
  21. 01 Jan, 2015 2 commits
  22. 31 Dec, 2014 1 commit
    • Paul Eggert's avatar
      Simplify setfattr use by assuming GNU make · 25346768
      Paul Eggert authored
      * Makefile.in (PAXCTL_if_present, SETFATTR_if_present): New macros.
      (emacs$(EXEEXT), temacs$(EXEEXT), bootstrap-emacs$(EXEEXT)): Use them.
      Simplify by using GNU make rather than shell conditionals,
      by using ln -f rather than rm -f followed by ln,
      and by preferring $@ to spelling out the destination.
      25346768
  23. 25 Nov, 2014 1 commit
  24. 24 Nov, 2014 1 commit
  25. 22 Nov, 2014 2 commits
    • Glenn Morris's avatar
      Further reduce number of versioned files storing Emacs version number. · 84e2f13c
      Glenn Morris authored
      * configure.ac (comma_version, comma_space_version) [mingw32]:
      New output variables.
      (nt/emacs.rc, nt/emacsclient.rc) [mingw32]: New output files.
      
      * make-dist: Update nt/ for *.rc -> *.rc.in changes.
      
      * nt/emacs.rc.in, nt/emacsclient.rc.in: Rename from nt/emacs.rc, emacsclient.rc.
      Let configure generate the real files, and set the version numbers.
      
      * lib-src/Makefile.in (emacsclient.res): Update deps for nt/emacsclient.rc
      now being in the build directory, not the source directory.
      
      * nt/Makefile.in (distclean): Delete *.rc.
      (emacs.res): Update deps for nt/emacsclient.rc now being in the
      build directory, not the source directory.
      
      * admin/admin.el (set-version): No more need to update nt/*.rc.
      
      * admin/authors.el (authors-renamed-files-alist): Add .rc.in files.
      84e2f13c
    • Glenn Morris's avatar
  26. 23 Oct, 2014 1 commit
  27. 12 Oct, 2014 1 commit
    • Jan Djärv's avatar
      Require OSX >= 10.6. Remove PowerPC unexec code. · 9a265587
      Jan Djärv authored
      * configure.ac: Require OSX 10.6.  Remove NSInteger test,
      use nsfont for Gnustep, macfont for OSX.
      
      * etc/NEWS: OSX required is 10.6 or newer.
      
      * src/Makefile.in: Replace nsfont.o macfont.o with ns_fontfile in
      comment.
      
      * src/macfont.h (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_FORMAT_BITMAP)
      (mac_font_copy_non_synthetic_table): Remove versions for OSX < 10.6
      
      * src/nsfns.m: Always include src/macfont.h on COCOA.
      (ns_filename_from_panel, ns_directory_from_panel)
      (Fx_create_frame, Fns_popup_font_panel, ns_run_file_dialog)
      (Fns_read_file_name, Fns_list_services): Remove code for OSX < 10.6
      
      * src/nsterm.m: Always include src/macfont.h on COCOA.
      (ns_update_auto_hide_menu_bar, ns_draw_fringe_bitmap)
      (ns_dumpglyphs_image, ns_check_menu_open)
      (applicationDidFinishLaunching)
      (antialiasThresholdDidChange:)
      (keyDown:, toggleFullScreen:, setPosition:portion:whole:): Remove
      checks for OSX <= 10.5/10.6.
      (changeFont:): Use macfont on COCOA, nsfont on GNUSTEP.
      (syms_of_nsterm): Call syms_of_macfont on COCOA, syms_of_nsfont on
      GNUSTEP.
      
      * src/macfont.m: Remove >= 1050 check.
      (macfont_create_family_with_symbol)
      (macfont_get_glyph_for_character)
      (mac_font_get_glyphs_for_variants)
      (mac_ctfont_create_available_families, syms_of_macfont): Remove
      code for OSX < 10.6.
      (mac_font_family_group, mac_font_family_compare): Remove, only used
      for OSX < 10.6.
      
      * src/nsimage.m (allocInitFromFile:): Remove code for OSX < 10.6.
      
      * src/nsmenu.m (NSMenuDidBeginTrackingNotification): Remove.
      (x_activate_menubar, trackingNotification:): Remove check for
      OSX >= 10.5.
      (menuNeedsUpdate:): Remove check for OSX < 10.5.
      
      * src/nsterm.h (MAC_OS_X_VERSION_10_4, MAC_OS_X_VERSION_10_5): Remove.
      (NS_HAVE_NSINTEGER): Remove block.
      Remove >= OSX 10.6 tests.
      
      * src/unexmacosx.c: Remove include ppc/reloc.h.
      (unrelocate, copy_dysymtab): Remove PPC code.
      (rebase_reloc_address): Remove, only used for PPC:
      9a265587
  28. 07 Oct, 2014 1 commit
    • Glenn Morris's avatar
      * admin/unidata/Makefile.in: Check for deleted uni- files. · 23755ba3
      Glenn Morris authored
      (all): Use unifiles rather than charprop.el.
      (FORCE): New variable and phony rule.
      (${unidir}/charprop.el): Respect FORCE.
      (unifiles): New rule.
      
      * src/Makefile.in ($(srcdir)/macuvs.h)
      ($(lispsource)/international/charprop.el): Add explicit FORCE.
      
      Fixes: debbugs:18489
      23755ba3
  29. 06 Sep, 2014 1 commit
  30. 04 Sep, 2014 1 commit
    • Paul Eggert's avatar
      Less chatter in 'make' output. · d1db0705
      Paul Eggert authored
      * doc/Makefile.in (clean):
      * oldXMenu/Makefile.in (clean mostlyclean):
      Simplify, for shorter command line.
      * src/Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1, AM_V_at)
      (am__v_at_, am__v_at_0, am__v_at_1):  New macros, taken from Automake.
      ($(etc)/DOC, buildobj.h, gl-stamp): Use them.
      d1db0705
  31. 01 Sep, 2014 1 commit
    • Paul Eggert's avatar
      --enable-silent-warnings now suppresses more chatter. · bc12381e
      Paul Eggert authored
      * INSTALL, etc/NEWS: Document this.
      * lib-src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
      (am__v_CCLD_1): New macros, taken from Automake.
      (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
      (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
      (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT})
      (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT})
      (update-game-score${EXEEXT}): Use them.
      * lwlib/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
      (.c.o): Use them.
      * oldXMenu/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1): New macros, taken from Automake.
      (.c.o): Use them.
      * src/Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
      (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
      (am__v_CCLD_1): New macros, taken from Automake.
      (.c.o, .m.o, temacs$(EXEEXT)): Use them.
      bc12381e
  32. 23 Aug, 2014 1 commit
    • Karol Ostrovsky's avatar
      Fix bug #18302 with minor issues in the MSYS2/MinGW64 build. · 0d880e73
      Karol Ostrovsky authored
       configure.ac: Accept "*-mingw*", not just "*-mingw32", as
       canonical name of a MinGW build, because using MSYS2 'uname'
       produces "MINGW64".
      
       src/Makefile.in (emacs$(EXEEXT)): Retry deletion of bootstrap-emacs
       if the initial "rm -f" fails.  This is for MinGW builds, where
       MS-Windows will not allow deleting the executable file of a
       running program.
      0d880e73
  33. 13 Jul, 2014 1 commit
    • Paul Eggert's avatar
      Improve behavior of 'bzr up; cd src; make -k'. · 4939f58d
      Paul Eggert authored
      * Makefile.in (ACLOCAL_INPUTS): Add all m4/*.m4 files.
      * src/Makefile.in (top_srcdir): New var.
      (ntsource, lispsource, ALL_CFLAGS, gl-stamp, emacs.res):
      Use '$(top_srcdir)' instead of '$(srcdir)/..';
      its expansion is a bit shorter.
      (../config.status): Actually build config.status instead of
      just complaining.
      (ACLOCAL_INPUTS, AUTOCONF_INPUTS):
      New macros, copied and relocated from ../Makefile.in.
      ($(top_srcdir)/aclocal.m4, $(top_srcdir)/configure, config.in)
      (../config.status, Makefile): New dependencies and rules,
      copied with relocation from ../Makefile.in.  This should be more
      likely to rebuild the build machinery properly if you do a 'make'
      in the src directory.
      4939f58d
  34. 29 Jun, 2014 1 commit
  35. 28 Jun, 2014 1 commit