1. 04 May, 2010 3 commits
    • Glenn Morris's avatar
      Move LD_SWITCH_SYSTEM_TEMACS from cpp to autoconf. · eb21eab5
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM_TEMACS): New output variable.
      * src/s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
      * src/s/darwin.h (HEADERPAD_EXTRA, LIBS_NSGUI): Remove.
      (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
      * src/Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable, set by configure.
    • Glenn Morris's avatar
      Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf. · 49628785
      Glenn Morris authored
      * configure.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New output
      variables, replacing c_switch_machine, c_switch_system.
      * src/s/aix4-2.h (C_SWITCH_SYSTEM):
      * src/m/alpha.h (C_SWITCH_MACHINE):
      Move to configure.in.
      * src/Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM):
      New variables, set by configure.
      (ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of
      $c_switch_machine and $c_switch_system.
      * lib-src/Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@
      rather than @c_switch_system@, @c_switch_machine@.
    • Dan Nicolaescu's avatar
      * s/hpux10-20.h (LIB_STANDARD): New definition. · 7dff330b
      Dan Nicolaescu authored
      * Makefile.in (ORDINARY_LINK): Remove setting LIB_STANDARD based
      on it, not used anymore.
  2. 03 May, 2010 2 commits
    • Chong Yidong's avatar
      Add optional arg to delete-file to force deletion (Bug#6070). · 53967e09
      Chong Yidong authored
      * eval.c (internal_condition_case_n): Rename from
      (internal_condition_case_2): New function.
      * xdisp.c (safe_call): Use internal_condition_case_n.
      * fileio.c (Fdelete_file, internal_delete_file): New arg FORCE.
      (internal_delete_file, Frename_file): Callers changed.
      * buffer.c (Fkill_buffer):
      * callproc.c (delete_temp_file): Callers changed (Bug#6070).
      * lisp.h: Update prototypes.
      * diff.el (diff-sentinel):
      * epg.el (epg--make-temp-file, epg-decrypt-string)
      (epg-verify-string, epg-sign-string, epg-encrypt-string):
      * jka-compr.el (jka-compr-partial-uncompress)
      (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
      * server.el (server-sentinel): Use delete-file's new FORCE arg
    • Glenn Morris's avatar
      Replace some X-related cpp with autoconf. · 3dee6fdb
      Glenn Morris authored
      * configure.in (LIBXT_OTHER, LIBX_OTHER): New output variables.
      * src/Makefile.in (LIBX_EXTRA, LIBX_BASE): New variables.
      (LIBXT_OTHER, LIBX_OTHER): New, set by configure.
      (LIBXT): Set with configure, not cpp.
      (LIBX): Remove.
      (LIBES): Replace $LIBX with $LIBX_BASE and $LIBX_OTHER.
  3. 02 May, 2010 2 commits
    • Dan Nicolaescu's avatar
      * m/amdx86-64.h (START_FILES, LIB_STANDARD): Remove. · a101e0fb
      Dan Nicolaescu authored
      The FreeBSD is not needed, the default works, Solaris version is
      not needed, and the remaining case is not supported by configure.
    • Jan Djärv's avatar
      Run kill-emacs when exiting for display closed or SIGTERM/HUP. · f63d0028
      Jan Djärv authored
      * xsmfns.c (CHDIR_OPT): New define.
      (smc_save_yourself_CB): Add CHDIR_OPT to options to use when
      restarting emacs.
      * xterm.c (x_connection_closed): Call Fkill_emacs instead of
      * emacs.c (USAGE1): Mention --chdir.
      (main): Handle --chdir.
      (standard_args): Add --chdir.
      (fatal_error_signal): Call Fkill_emacs for SIGTERM and SIGHUP (Bug
      * cmdargs.texi (Initial Options): Mention --chdir.
  4. 01 May, 2010 11 commits
  5. 30 Apr, 2010 7 commits
  6. 29 Apr, 2010 3 commits
  7. 28 Apr, 2010 7 commits
  8. 27 Apr, 2010 5 commits
    • Eli Zaretskii's avatar
      Fix a crash when a display string is continued to the next line. · 4fc85283
      Eli Zaretskii authored
       xdisp.c (set_cursor_from_row): When looping over a display string,
       don't overstep the end of the glyph row.
    • 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.
    • Glenn Morris's avatar
      Replace LUCID_LIBW, MOTIF_LIBW with TOOLKIT_LIBW. · 986fb647
      Glenn Morris authored
      * configure.in (LUCID_LIBW, MOTIF_LIBW): No longer substitute in Makefiles.
      (TOOLKIT_LIBW): New output variable, replacing LUCID_LIBW/MOTIF_LIBW.
      * src/Makefile.in (LUCID_LIBW, MOTIF_LIBW): Remove, replacing by...
      (TOOLKIT_LIBW): New, set by configure.
      (@X_TOOLKIT_TYPE@): No longer define it.
    • 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.
    • Dan Nicolaescu's avatar
      Reduce CPP usage. · ed6281b0
      Dan Nicolaescu authored
      definitions and undefs.  Inline definitions in the only user.
      (ALL_CFLAGS): Substitute C_SWITCH_X_SYSTEM using autoconf.
      * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.
      * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf.
      * configure.in (C_SWITCH_X_SYSTEM): Define using autoconf, not cpp.