1. 03 Dec, 2010 2 commits
    • Chong Yidong's avatar
      90365353
    • Andreas Schwab's avatar
      Remove EXPLICIT_SIGN_EXTEND. · e5bd1670
      Andreas Schwab authored
      * lisp.h (union Lisp_Object): Explicitly declare signedness of
      bit-field.
      (XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
      * m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
      * m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/hp800.h: Remove file.
      * m/mips.h: Remove file.
      
      * CPP-DEFINES (EXPLICIT_SIGN_EXTEND): Remove.
      e5bd1670
  2. 09 Aug, 2010 1 commit
    • Andreas Schwab's avatar
      Use autoconf determined WORDS_BIGENDIAN instead of hardcoded definition. · 671d409f
      Andreas Schwab authored
      * m/alpha.h: Don't define/undef WORDS_BIG_ENDIAN.
      * m/amdx86-64.h: Likewise.
      * m/arm.h: Likewise.
      * m/hp800.h: Likewise.
      * m/ia64.h: Likewise.
      * m/ibmrs6000.h: Likewise.
      * m/ibms390.h: Likewise.
      * m/intel386.h: Likewise.
      * m/iris4d.h: Likewise.
      * m/m68k.h: Likewise.
      * m/macppc.h: Likewise.
      * m/mips.h: Likewise.
      * m/sh3.h: Likewise.
      * m/sparc.h: Likewise.
      * m/template.h: Likewise.
      * m/vax.h: Likewise.
      * m/xtensa.h: Likewise.
      * fringe.c (init_fringe_bitmap): Test WORDS_BIGENDIAN instead of
      WORDS_BIG_ENDIAN.
      * lisp.h: Likewise.
      * md5.c: Likewise.
      * sound.c (le2hl, le2hs, be2hl, be2hs): Likewise.
      
      * CPP-DEFINES (WORDS_BIG_ENDIAN): Remove.
      
      * configure.in: Add AC_C_BIGENDIAN.
      671d409f
  3. 08 Aug, 2010 1 commit
  4. 29 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Clean up unexec.c, remove references to unused code. · 76fd1ee9
      Dan Nicolaescu authored
      * nt/config.nt: Remove code referring to NO_REMAP, unused.
      
      * src/unexec.c (make_hdr): Remove references to NO_REMAP, COFF,
      SEGMENT_MASK, SECTION_ALIGNMENT, ADJUST_EXEC_HEADER.
      * src/s/usg5-4.h (COFF):
      * src/s/template.h:
      * src/s/msdos.h (COFF, NO_REMAP):
      * src/s/ms-w32.h (NO_REMAP):
      * src/s/hpux10-20.h (NO_REMAP):
      * src/m/sparc.h (SEGMENT_MASK):
      * src/m/m68k.h (NO_REMAP):
      * src/m/intel386.h (SEGMENT_MASK):
      * src/m/arm.h (NO_REMAP):
      * src/m/alpha.h (COFF):
      * src/m/template.h: Remove references to unused defines.
      76fd1ee9
  5. 11 Jul, 2010 1 commit
    • Andreas Schwab's avatar
      Use strchr, strrchr instead of index, rindex · 8966b757
      Andreas Schwab authored
      * callint.c (Fcall_interactively): Use strchr, strrchr instead of
      index, rindex.
      * doc.c (get_doc_string, Fsnarf_documentation): Likewise.
      * editfns.c (Fuser_full_name, Fformat): Likewise.
      * emacs.c (argmatch, sort_args, decode_env_path): Likewise.
      * fileio.c (Ffile_symlink_p): Likewise.
      * filelock.c (current_lock_owner): Likewise.
      * font.c (font_parse_name, font_parse_family_registry): Likewise.
      * fontset.c (fontset_pattern_regexp): Likewise.
      * lread.c (read1): Likewise.
      * sysdep.c (init_system_name): Likewise.
      * xfns.c (select_visual): Likewise.
      * s/hpux10-20.h (index, rindex): Don't define.
      * s/ms-w32.h (index): Likewise.
      * s/usg5-4.h: Likewise.
      
      * sed2v2.inp (HAVE_INDEX, HAVE_RINDEX): Don't edit.
      (HAVE_STRCHR, HAVE_STRRCHR): Edit to 1.
      
      * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
      index, rindex.
      * movemail.c (mail_spool_name, popmail): Likewise.
      * pop.c (pop_list): Likewise.
      
      * CPP-DEFINES (HAVE_INDEX, HAVE_RINDEX): Remove.
      
      * configure.in: Don't check for index and rindex, check for strchr
      and strrchr.  Define strchr and strrchr as index and rindex,
      resp., in src/config.h if not available.
      8966b757
  6. 08 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Simplify start_of_data, start_of_text and related code. · 313d9eb2
      Dan Nicolaescu authored
      * src/mem-limits.h: Remove !emacs and _LIBC conditional code.
      (start_of_data): Merge into start_of_data function.
      * src/sysdep.c (start_of_text): Remove.  Move simplified versions of
      it in the only users: src/unexaix.c and unexec.c.
      (read_input_waiting): Remove local declaration of quit_char.
      (start, etext): Remove declarations.
      (start_of_data): Merge with the version in mem-limits.h and move
      to vm-limits.c.
      * src/vm-limit.c (start_of_data): Merged and simplified version of the
      code formerly in mem-limits.h and sysdep.c.
      * src/unexec.c (start): New declaration, moved from sysdep.c.
      (start_of_text): Simplified version of the code formerly in sysdep.c.
      * unexaix.c (start_of_text): Simplified version of the code
      formerly in sysdep.c.
      * src/m/alpha.h (HAVE_TEXT_START): Remove.
      (TEXT_START): Move ...
      * src/unexalpha.c (TEXT_START): ... here.
      * src/s/hpux10-20.h (TEXT_START): Remove.
      * src/s/darwin.h (TEXT_START):
      * src/m/mips.h (TEXT_START):
      * src/m/macppc.h (HAVE_TEXT_START):
      * src/m/m68k.h (TEXT_START):
      * src/m/iris4d.h (TEXT_START):
      * src/m/intel386.h (TEXT_START):
      * src/m/ibmrs6000.h (TEXT_START):
      * src/m/ia64.h (HAVE_TEXT_START):
      * src/s/msdos.h (TEXT_START): Likewise.
      313d9eb2
  7. 07 Jul, 2010 1 commit
    • Andreas Schwab's avatar
      Replace bcopy, bzero, bcmp by memcpy, memmove, memset, memcmp · 72af86bd
      Andreas Schwab authored
      * alloc.c (overrun_check_malloc, overrun_check_realloc)
      (overrun_check_free, xstrdup, allocate_string)
      (allocate_string_data, compact_small_strings, Fmake_string)
      (make_unibyte_string, make_multibyte_string)
      (make_string_from_bytes, make_specified_string, make_float)
      (Fcons, allocate_terminal, allocate_frame, make_pure_string)
      (Fgarbage_collect): Replace bcopy, safe_bcopy, bzero, bcmp by
      memcpy, memmove, memset, memcmp.
      * atimer.c (start_atimer, set_alarm): Likewise.
      * buffer.c (clone_per_buffer_values, report_overlay_modification)
      (mmap_realloc, init_buffer_once): Likewise.
      * callint.c (Fcall_interactively): Likewise.
      * callproc.c (Fcall_process, Fcall_process_region, child_setup)
      (getenv_internal_1): Likewise.
      * casefiddle.c (casify_object): Likewise.
      * ccl.c (ccl_driver): Likewise.
      * character.c (str_as_multibyte, str_to_multibyte): Likewise.
      * charset.c (load_charset_map_from_file)
      (load_charset_map_from_file, load_charset_map_from_vector)
      (Fdefine_charset_internal): Likewise.
      * cm.c (Wcm_clear): Likewise.
      * coding.c (decode_eol, decode_coding_object)
      (Fset_coding_system_priority, make_subsidiaries): Likewise.
      * data.c (Faset): Likewise.
      * dired.c (directory_files_internal, file_name_completion_stat):
      Likewise.
      * dispnew.c (new_glyph_matrix, adjust_glyph_matrix)
      (clear_glyph_row, copy_row_except_pointers)
      (copy_glyph_row_contents, new_glyph_pool, realloc_glyph_pool)
      (save_current_matrix, restore_current_matrix)
      (build_frame_matrix_from_leaf_window, mirrored_line_dance)
      (mirror_line_dance, scrolling_window): Likewise.
      * doc.c (Fsnarf_documentation, Fsubstitute_command_keys):
      Likewise.
      * doprnt.c (doprnt): Likewise.
      * editfns.c (Fuser_full_name, make_buffer_string_both)
      (Fmessage_box, Fformat, Ftranspose_regions): Likewise.
      * emacs.c (sort_args): Likewise.
      * eval.c (Fapply, Ffuncall): Likewise.
      * fileio.c (Ffile_name_directory, make_temp_name)
      (Fexpand_file_name, search_embedded_absfilename)
      (Fsubstitute_in_file_name, Ffile_symlink_p, Finsert_file_contents)
      (auto_save_error): Likewise.
      * fns.c (Fstring_equal, Fcopy_sequence, concat)
      (string_to_multibyte, Fstring_as_unibyte, Fstring_as_multibyte)
      (internal_equal, Fclear_string, larger_vector, copy_hash_table)
      (Fmake_hash_table): Likewise.
      * fringe.c (Fdefine_fringe_bitmap): Likewise.
      * ftfont.c (ftfont_text_extents): Likewise.
      * getloadavg.c (getloadavg): Likewise.
      * image.c (define_image_type, make_image, make_image_cache)
      (x_create_x_image_and_pixmap, xbm_image_p)
      (w32_create_pixmap_from_bitmap_data, xbm_load, xpm_lookup_color)
      (xpm_image_p, x_create_bitmap_from_xpm_data, xpm_load)
      (init_color_table, x_build_heuristic_mask, pbm_image_p, pbm_load)
      (png_image_p, png_read_from_memory, png_load, jpeg_image_p)
      (tiff_image_p, tiff_read_from_memory, gif_image_p)
      (gif_read_from_memory, gif_load, svg_image_p, gs_image_p):
      Likewise.
      * indent.c (scan_for_column, compute_motion): Likewise.
      * insdel.c (gap_left, gap_right, make_gap_smaller, copy_text)
      (insert_1_both, insert_from_gap, replace_range_2): Likewise.
      * intervals.c (reproduce_tree, reproduce_tree_obj): Likewise.
      * keyboard.c (echo_char, save_getcjmp, restore_getcjmp)
      (kbd_buffer_store_event_hold, apply_modifiers_uncached)
      (store_user_signal_events, menu_bar_items, tool_bar_items)
      (process_tool_bar_item, append_tool_bar_item)
      (read_char_minibuf_menu_prompt, read_key_sequence)
      (Fread_key_sequence, Fread_key_sequence_vector, Frecent_keys):
      Likewise.
      * keymap.c (current_minor_maps, Fdescribe_buffer_bindings):
      Likewise.
      * lisp.h (STRING_COPYIN): Likewise.
      * lread.c (Fload, read1, oblookup): Likewise.
      * msdos.c (Frecent_doskeys): Likewise.
      * nsfns.m (Fx_create_frame): Likewise.
      * nsfont.m (nsfont_open, nsfont_text_extents, ns_glyph_metrics):
      Likewise.
      * nsimage.m (EmacsImage-initFromSkipXBM:width:height:)
      (EmacsImage-initForXPMWithDepth:width:height:flip:length:):
      Likewise.
      * nsmenu.m (ns_update_menubar): Likewise.
      * nsterm.m (ns_draw_fringe_bitmap, ns_term_init): Likewise.
      * print.c (print_unwind, printchar, strout, print_string)
      (print_error_message): Likewise.
      * process.c (conv_lisp_to_sockaddr, set_socket_option)
      (Fmake_network_process, Fnetwork_interface_list)
      (Fnetwork_interface_info, read_process_output, Fprocess_send_eof)
      (init_process): Likewise.
      * ralloc.c (resize_bloc, r_alloc_sbrk, r_alloc_init): Likewise.
      * regex.c (init_syntax_once, regex_compile, re_compile_fastmap):
      Likewise.
      * scroll.c (do_scrolling, do_direct_scrolling)
      (scrolling_max_lines_saved): Likewise.
      * search.c (search_buffer, wordify, Freplace_match): Likewise.
      * sound.c (wav_init, au_init, Fplay_sound_internal): Likewise.
      * syntax.c (skip_chars, skip_syntaxes): Likewise.
      * sysdep.c (child_setup_tty, sys_subshell, emacs_get_tty)
      (emacs_set_tty): Likewise.
      * term.c (encode_terminal_code, calculate_costs)
      (produce_special_glyphs, create_tty_output, init_tty, delete_tty):
      Likewise.
      * termcap.c (tgetst1, gobble_line): Likewise.
      * termhooks.h (EVENT_INIT): Likewise.
      * tparam.c (tparam1): Likewise.
      * unexalpha.c (unexec): Likewise.
      * unexec.c (write_segment): Likewise.
      * unexmacosx.c (unexec_write_zero): Likewise.
      * w32fns.c (w32_wnd_proc, Fx_create_frame, x_create_tip_frame)
      (Fx_file_dialog, Fsystem_move_file_to_trash): Likewise.
      * w32font.c (w32font_list_family, w32font_text_extents)
      (w32font_list_internal, w32font_match_internal)
      (w32font_open_internal, compute_metrics, Fx_select_font):
      Likewise.
      * w32menu.c (set_frame_menubar, add_menu_item)
      (w32_menu_display_help, w32_free_submenu_strings): Likewise.
      * w32term.c (XCreateGC, w32_initialize_display_info): Likewise.
      * w32uniscribe.c (uniscribe_list_family): Likewise.
      * w32xfns.c (get_next_msg, post_msg, prepend_msg): Likewise.
      * window.c (make_window, replace_window, set_window_buffer)
      (Fsplit_window): Likewise.
      * xdisp.c (init_iterator, RECORD_OVERLAY_STRING, reseat_to_string)
      (add_to_log, message3, x_consider_frame_title)
      (append_space_for_newline, extend_face_to_end_of_line)
      (decode_mode_spec_coding, init_glyph_string): Likewise.
      * xfaces.c (x_create_gc, get_lface_attributes_no_remap)
      (Finternal_copy_lisp_face, Finternal_merge_in_global_face)
      (face_attr_equal_p, make_realized_face, make_face_cache)
      (free_realized_faces, lookup_named_face, smaller_face)
      (face_with_height, lookup_derived_face)
      (x_supports_face_attributes_p, Finternal_set_font_selection_order)
      (Finternal_set_font_selection_order, realize_default_face)
      (compute_char_face, face_at_buffer_position)
      (face_for_overlay_string, face_at_string_position, merge_faces):
      Likewise.
      * xfns.c (xic_create_fontsetname, Fx_create_frame)
      (Fx_window_property, x_create_tip_frame)
      (Fx_backspace_delete_keys_p): Likewise.
      * xfont.c (xfont_list, xfont_match, xfont_list_family)
      (xfont_text_extents): Likewise.
      * xmenu.c (set_frame_menubar, xmenu_show): Likewise.
      * xrdb.c (magic_file_p, x_get_resource): Likewise.
      * xselect.c (x_queue_event, x_get_window_property)
      (receive_incremental_selection): Likewise.
      * xsmfns.c (x_session_check_input): Likewise.
      * xterm.c (x_send_scroll_bar_event, SET_SAVED_MENU_EVENT)
      (handle_one_xevent, x_check_errors, xim_initialize, x_term_init):
      Likewise.
      * character.h (BCOPY_SHORT): Removed.
      * config.in: Regenerate.
      * dispnew.c (safe_bcopy): Only define as dummy if PROFILING.
      * emacs.c (main) [PROFILING]: Don't declare
      dump_opcode_frequencies.
      * lisp.h (safe_bcopy): Remove declaration.
      (memset) [!HAVE_MEMSET]: Declare.
      (memcpy) [!HAVE_MEMCPY]: Likewise.
      (memmove) [!HAVE_MEMMOVE]: Likewise.
      (memcmp) [!HAVE_MEMCMP]: Likewise.
      * s/ms-w32.h (bzero, bcopy, bcmp, GAP_USE_BCOPY)
      (BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE, HAVE_BCOPY, HAVE_BCMP):
      Don't define.
      (HAVE_MEMCMP, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET): Define.
      * s/msdos.h (GAP_USE_BCOPY, BCOPY_UPWARD_SAFE)
      (BCOPY_DOWNWARD_SAFE): Don't define.
      * sysdep.c (memset) [!HAVE_MEMSET]: Define.
      (memcpy) [!HAVE_MEMCPY]: Define.
      (memmove) [!HAVE_MEMMOVE]: Define.
      (memcmp) [!HAVE_MEMCMP]: Define.
      
      * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
      (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
      
      * sed2v2.inp (HAVE_MEMCPY, HAVE_MEMSET): Edit to 1.
      (HAVE_BZERO): Don't edit.
      
      * lwlib.c (lwlib_memset, lwlib_bcopy): Remove.
      (malloc_widget_value, free_widget_info, allocate_widget_instance)
      (lw_separator_p): Replace lwlib_memset, lwlib_bcopy, bzero, bcmp by
      memset, memcpy, memcmp.
      * lwlib-utils.c (XtApplyToWidgets): Likewise.
      * xlwmenu.c (XlwMenuInitialize): Likewise.
      * lwlib.h (lwlib_bcopy): Remove declaration.
      
      * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
      memcpy, memmove, memset.
      * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
      
      * CPP-DEFINES (BCOPY_DOWNWARD_SAFE, BCOPY_UPWARD_SAFE)
      (GAP_USE_BCOPY, HAVE_BCMP, HAVE_BCOPY, bcmp, bcopy, bzero):
      Remove.
      
      * configure.in: Don't check for bcopy, bcmp, bzero.  Don't include
      <strings.h> and don't define bcopy, bzero, BCMP in config.h.
      72af86bd
  8. 30 Jun, 2010 2 commits
    • Glenn Morris's avatar
      * configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM): · a46007e9
      Glenn Morris authored
      Set with AC_DEFINE rather than AH_BOTTOM.
      
      * src/s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now.
      
      * admin/CPP-DEFINES: Remove INHIBIT_X11R6_XIM.
      
      * configure, src/config.in: Regenerate.
      a46007e9
    • Glenn Morris's avatar
      Remove some cpp that is internal to configure.in. · 6259c2ec
      Glenn Morris authored
      * configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC):
      (USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH): Set with shell, not cpp.
      (LIBX): Remove, just use -lX11 in the one place this was used.
      (cannot_dump): Replace with CANNOT_DUMP.
      
      * src/Makefile.in (CANNOT_DUMP): Update for configure name change.
      
      * src/s/freebsd.h (USE_MMAP_FOR_BUFFERS):
      * src/s/irix6-5.h (USE_MMAP_FOR_BUFFERS):
      * src/s/darwin.h (SYSTEM_MALLOC):
      * src/s/sol2-10.h (SYSTEM_MALLOC): Move to configure.
      
      * src/m/alpha.h: Remove old comment.
      * src/s/aix4-2.h: Update comment.
      * src/s/template.h: Remove USE_MMAP_FOR_BUFFERS.
      
      * msdos/sed1v2.inp (CANNOT_DUMP): Update for configure name change.
      
      * admin/CPP-DEFINES: Remove USE_MMAP_FOR_BUFFERS, CANNOT_DUMP.
      
      * etc/DEBUG: Update SYSTEM_MALLOC and CANNOT_DUMP references.
      Some re-filling.
      6259c2ec
  9. 06 Jun, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove BSTRING related code, all platforms define it. · 3085237c
      Dan Nicolaescu authored
      * src/s/usg5-4.h (BSTRING): Remove definition.
      * src/s/template.h (BSTRING):
      * src/s/msdos.h (BSTRING):
      * src/s/ms-w32.h (BSTRING):
      * src/s/hpux10-20.h (BSTRING):
      * src/s/gnu-linux.h (BSTRING):
      * src/s/darwin.h (BSTRING):
      * src/s/cygwin.h (BSTRING):
      * src/s/bsd-common.h (BSTRING):
      * src/s/aix4-2.h (BSTRING): Likewise.
      * src/sysdep.c: Remove code depending on BSTRING not being defined.
      
      * configure.in: Remove code dealing with BSTRING.
      
      * lib-src/ntlib.h: Remove code dealing with BSTRING.
      
      * nt/config.nt: Remove code depending on BSTRING.
      3085237c
  10. 03 Jun, 2010 3 commits
    • Dan Nicolaescu's avatar
      Move UNEXEC definition to autoconf. · eb697db5
      Dan Nicolaescu authored
      * configure.in (unxec): Do not define and substitute.
      (UNEXEC_OBJ): New output variable, replaces cpp UNEXEC.
      
      * msdos/sed1v2.inp (UNEXEC_OBJ): Use UNEXEC_OBJ instead of unexec.
      
      * src/s/usg5-4.h (UNEXEC): Remove, move to configure.in.
      * src/s/sol2-10.h (UNEXEC):
      * src/s/irix6-5.h (UNEXEC):
      * src/s/hpux10-20.h (UNEXEC):
      * src/s/gnu-linux.h (UNEXEC):
      * src/s/darwin.h (UNEXEC):
      * src/s/cygwin.h (UNEXEC):
      * src/s/bsd-common.h (UNEXEC):
      * src/s/aix4-2.h (UNEXEC):
      * src/m/alpha.h (UNEXEC): Likewise.
      * src/Makefile.in (UNEXEC_OBJ): Define using @UNEXEC_OBJ@.
      eb697db5
    • Glenn Morris's avatar
      HAVE_ALLOCA not needed since alloca.s was removed. · 824e2978
      Glenn Morris authored
      * src/m/hp800.h (HAVE_ALLOCA):
      * src/m/ibms390x.h (HAVE_ALLOCA): Do not define, no longer needed.
      
      * msdos/sed2v2.inp: Do not edit HAVE_ALLOCA.
      
      * admin/CPP-DEFINES: Remove HAVE_ALLOCA.
      824e2978
    • Glenn Morris's avatar
      NOT_C_CODE is always true now. · 0d4bcf4d
      Glenn Morris authored
      * configure.in (AH_BOTTOM): Remove NOT_C_CODE test, it is always true.
      
      * m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h:
      Remove NOT_C_CODE tests, it is always true now.
      
      * nt/config.nt: Remove NOT_C_CODE tests, it is always true now.
      
      * admin/CPP-DEFINES: Remove NOT_C_CODE.
      0d4bcf4d
  11. 15 May, 2010 1 commit
  12. 14 May, 2010 2 commits
  13. 11 May, 2010 1 commit
  14. 10 May, 2010 1 commit
  15. 08 May, 2010 1 commit
  16. 07 May, 2010 2 commits
    • Glenn Morris's avatar
      Move LD_SWITCH_SYSTEM from cpp to configure. · 2f86b22b
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM): Set with configure, not cpp.
      Merges logic from src/s/* and src/Makefile.in.
      (LD_SWITCH_SYSTEM_TEMACS): New output variable.
      
      * src/Makefile.in (LD_SWITCH_SYSTEM): Set with configure, not cpp.
      (LD_SWITCH_SYSTEM_EXTRA): New variable, set by configure.
      (TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM and $LD_SWITCH_SYSTEM_EXTRA,
      move out of cpp section.
      * src/s/freebsd.h (LD_SWITCH_SYSTEM):
      * src/s/gnu-linux.h (LD_SWITCH_SYSTEM):
      * src/s/netbsd.h (LD_SWITCH_SYSTEM):
      
      * admin/CPP-DEFINES: Remove LD_SWITCH_SYSTEM.
      2f86b22b
    • Dan Nicolaescu's avatar
      Remove more unused symbols. · 06304e03
      Dan Nicolaescu authored
      06304e03
  17. 04 May, 2010 2 commits
  18. 27 Apr, 2010 2 commits
    • Glenn Morris's avatar
      Move LIBXTR6 from cpp to autoconf. · 8fdac2c3
      Glenn Morris authored
      * configure.in (LIBXTR6): New output variable.  Move unixware special
      case here from src/s/unixware.h.
      
      * src/Makefile.in (LIBXTR6): Set with configure, not cpp.
      * src/s/unixware.h (NEED_LIBW): Remove definition.
      
      * admin/CPP-DEFINES: Remove NEED_LIBW.
      8fdac2c3
    • Glenn Morris's avatar
      Move MOTIF_LIBW to autoconf. · c6ea2936
      Glenn Morris authored
      * configure.in (HAVE_MOTIF_2_1): Remove unused variable.
      (LIBXP): No longer substitute in Makefiles.
      (MOTIF_LIBW): New output variable.  Move system-specific settings here
      from src/s files.
      
      * src/Makefile.in (LIBXP): Remove, since included in MOTIF_LIBW.
      (MOTIF_LIBW): Set with configure, not cpp.
      * s/aix4-2.h (LIB_MOTIF):
      * s/gnu-linux.h (LIB_MOTIF):
      * s/unixware.h (LIB_MOTIF): Move to configure.in.
      
      * admin/CPP-DEFINES: Remove LIB_MOTIF.
      c6ea2936
  19. 21 Apr, 2010 1 commit
  20. 11 Apr, 2010 1 commit
  21. 01 Apr, 2010 2 commits
  22. 30 Mar, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove all uses of C_DEBUG_SWITCH and LIBS_DEBUG. · 32a8894e
      Dan Nicolaescu authored
      * s/usg5-4.h (LIBS_DEBUG):
      * s/irix6-5.h (C_DEBUG_SWITCH):
      * s/gnu-linux.h (LIBS_DEBUG):
      * s/darwin.h (LIBS_DEBUG):
      * s/bsd-common.h (LIBS_DEBUG):
      * s/aix4-2.h (LIBS_DEBUG, C_DEBUG_SWITCH):
      * m/iris4d.h (LIBS_DEBUG):
      * m/hp800.h (LIBS_DEBUG): Remove definitions.
      
      * Makefile.in (LIBES): Remove reference to LIBS_DEBUG.
      (LIBS_DEBUG): Remove definition.
      
      * configure.in: Remove all references to C_DEBUG_SWITCH.
      32a8894e
  23. 22 Mar, 2010 1 commit
  24. 20 Mar, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove non-working support for lynxos 3.0. · 605f35cd
      Dan Nicolaescu authored
      * s/lynxos.h: Remove file.
      
      * unexec.c (unexec, adjust_lnnoptrs): Do not depend on
      COFF_BSD_SYMBOLS, nothing defines it anymore.
      
      * os.texi (System Environment): Do not mention lynxos.
      
      * configure.in: Remove non-working lynxos port.
      605f35cd
  25. 04 Feb, 2009 1 commit
  26. 19 Dec, 2008 1 commit
    • Dan Nicolaescu's avatar
      Reorganize implementation of Flist_system_processes and · 06e111a6
      Dan Nicolaescu authored
      Fsystem_process_attributes.  No functional changes.
      * process.c: Don't #include pwd.h, grp.h and limits.h.
      (Flist_system_processes): Just call list_system_processes.
      (Fsystem_process_attributes): Just call system_process_attributes.
      (procfs_list_system_processes, time_from_jiffies)
      (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
      (procfs_get_total_memory, procfs_system_process_attributes): Move ...
      
      * sysdep.c: ... here.  Include pwd.h, grp.h and limits.h.
      (list_system_processes): Rename from
      procfs_list_system_processes.  Enclose in #ifdef HAVE_PROCFS.
      Provide a do nothing implementation.
      (system_process_attributes): Rename from
      procfs_list_system_processes.
      (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
      (procfs_get_total_memory):  Enclose in #ifdef GNU_LINUX.
      
      * w32.c (list_system_processes): Rename from
      w32_list_system_processes.
      (system_process_attributes): Rename from
      w32_system_process_attributes.
      
      * s/gnu-linux.h (LISTPROC, PROCATTR): Remove.
      
      * process.h (w32_list_system_processes)
      (w32_system_process_attributes): Remove.
      (list_system_processes, system_process_attributes): New
      prototypes.
      
      * config.nt (LISTPROC, PROCATTR): Remove.
      06e111a6
  27. 18 Oct, 2008 1 commit
  28. 04 Oct, 2008 1 commit
  29. 23 Aug, 2008 1 commit
  30. 06 Aug, 2008 1 commit
  31. 04 Aug, 2008 1 commit