1. 07 May, 2010 7 commits
    • Vincent Belaïche's avatar
      * floatfns.c (Fisnan, Fcopysign, Ffrexp, Fldexp): New functions. · 15e12598
      Vincent Belaïche authored
      * configure.in: Add tests for `isnan' and `copysign'.
      15e12598
    • Eli Zaretskii's avatar
      Fix bug #6126. · 5cba3209
      Eli Zaretskii authored
       w32fns.c: Include w32.h.
       (Fw32_shell_execute): Decode the error message before passing it
       to `error'.
      5cba3209
    • Eli Zaretskii's avatar
      Don't use XSYMBOL (foo)->value. · d16bdfc3
      Eli Zaretskii authored
       msdos.c (dos_set_window_size):
       w16select.c (Fx_selection_exists_p): Use `Fsymbol_value (foo)'
       instead of `XSYMBOL (foo)->value'.
      d16bdfc3
    • Eli Zaretskii's avatar
      Fix MS-DOS configuring in lib-src/ and src/, broken by autoconfiscation. · 9fdec8bc
      Eli Zaretskii authored
       src/Makefile.in: Don't use Make-style comments past the "start of
       cpp stuff" line.
       (MSDOS_OBJ): Remove xmenu.o (it is now defined by XMENU_OBJ).
       src/s/msdos.h (UNEXEC): Don't define (@unexec@ in Makefile.in is
       edited directly by msdos/sed1v2.inp).
       msdos/sed3v2.inp (C_SWITCH_MACHINE): Edit to empty.
       msdos/sed1v2.inp (@LIB_MATH@): Edit to -lm.
       (C_SWITCH_MACHINE, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM_TEMACS)
       (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH)
       (LD_SWITCH_SYSTEM, LD_SWITCH_SYSTEM_EXTRA, LIBTIFF, LIBJPEG)
       (LIBPNG, LIBGIF, LIBXPM, XFT_LIBS, DBUS_CFLAGS, DBUS_LIBS)
       (DBUS_OBJ, GCONF_CFLAGS, GCONF_LIBS, GTK_OBJ, LIBXMU, LIBXSM)
       (LIBXTR6, XOBJ, TOOLKIT_LIBW, WIDGET_OBJ, CYGWIN_OBJ, NS_OBJ)
       (NS_SUPPORT, LIBSELINUX_LIBS, START_FILES): Edit to empty.
       (XMENU_OBJ): Edit to xmenu.o.
       (FONT_OBJ): Edit to value used for X on Unix.
       (PRE_ALLOC_OBJ): Edit to lastfile.o.
       (POST_ALLOC_OBJ): Edit to $(vmlimitobj).
       (@unexec@): Edit to unexec.o.
      9fdec8bc
    • Eli Zaretskii's avatar
      Fix the "config msdos" step of MS-DOS build (due to removal of some cpp stuff from configury). · f724825e
      Eli Zaretskii authored
       config.bat: Allow for 2 leading `#'s in comments in src/Makefile.in.
       src/Makefile.in: Don't use Make-style comments past the
       "start of cpp stuff" line.
      f724825e
    • 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
      Define LIB_STANDARD and START_FILES using autoconf. · 49ebbd65
      Dan Nicolaescu authored
      * s/usg5-4.h (LIB_STANDARD):
      * s/netbsd.h (START_FILES):
      * s/irix6-5.h (LIB_STANDARD):
      * s/hpux10-20.h (LIB_STANDARD, START_FILES):
      * s/gnu-linux.h (START_FILES, LIB_STANDARD):
      * s/freebsd.h (START_FILES):
      * s/darwin.h (START_FILES):
      * s/cygwin.h (START_FILES):
      * s/aix4-2.h (LIB_STANDARD):
      * m/ibmrs6000.h (START_FILES): Remove, move logic to configure.in.
      * Makefile.in (STARTFILES): Rename to START_FILES, define using
      autoconf, not cpp.
      
      Define START_FILES and LIB_STANDARD using autoconf.
      * configure.in (START_FILES, LIB_STANDARD): New definitions, moved
      here from src/s/*.h.
      (HAVE_CRTIN): Remove, inline logic in the netbsd
      START_FILES/LIB_STANDARD computation.
      49ebbd65
  2. 06 May, 2010 5 commits
  3. 05 May, 2010 2 commits
  4. 04 May, 2010 9 commits
    • Juanma Barranquero's avatar
      * src/ChangeLog: Formatting fixes. · 80f00217
      Juanma Barranquero authored
      80f00217
    • Stefan Monnier's avatar
      Misc tweaks. · 178f2507
      Stefan Monnier authored
      * eval.c (Fdefvaralias): Remove unintended nested if.
      (internal_condition_case_2, internal_condition_case_n): Use ANSI type.
      178f2507
    • Jan Djärv's avatar
    • Dan Nicolaescu's avatar
      Remove BSD_PGRPS. · 58eb6cf0
      Dan Nicolaescu authored
      * s/bsd-common.h (BSD_PGRPS): Remove undef.
      * s/gnu-linux.h (BSD_PGRPS): Remove.
      * term.c (dissociate_if_controlling_tty):
      * sysdep.c (narrow_foreground_group, widen_foreground_group)
      (init_sys_modes, reset_sys_modes):
      * emacs.c (main):
      * callproc.c (Fcall_process, child_setup): Remove code depending
      on BSD_PGRPS.
      58eb6cf0
    • Dan Nicolaescu's avatar
      Remove POSIX_SIGNALS. · ef03a4e6
      Dan Nicolaescu authored
      * s/usg5-4.h (POSIX_SIGNALS):
      * s/netbsd.h (POSIX_SIGNALS):
      * s/msdos.h (POSIX_SIGNALS):
      * s/ms-w32.h (POSIX_SIGNALS):
      * s/hpux11.h (POSIX_SIGNALS):
      * s/gnu.h (POSIX_SIGNALS):
      * s/gnu-linux.h (POSIX_SIGNALS):
      * s/freebsd.h (POSIX_SIGNALS):
      * s/darwin.h (POSIX_SIGNALS):
      * s/cygwin.h (POSIX_SIGNALS):
      * s/aix4-2.h (POSIX_SIGNALS): Remove definition.
      * s/unixware.h:
      * s/sol2-6.h: Remove comments on POSIX_SIGNALS.
      * process.c (create_process):
      * syssignal.h:
      * sysdep.c (wait_for_termination, init_signals):
      * process.c (create_process):
      * msdos.c: POSIX_SIGNALS is always defined on all platforms,
      remove all code that assumes the contrary.
      ef03a4e6
    • Glenn Morris's avatar
      Move LD_SWITCH_X_SITE_AUX from cpp to autoconf. · 27a2cdfc
      Glenn Morris authored
      * configure.in (LD_SWITCH_X_SITE_AUX): Use AC_SUBST only, not AC_DEFINE as well.
      (LD_SWITCH_X_SITE_AUX_RPATH): New output variable.
      
      * nt/config.nt (LD_SWITCH_X_SITE_AUX): Remove.
      
      * src/s/gnu-linux.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX as a shell
      variable.
      * src/s/netbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH.
      * src/s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
      (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH instead of
      LD_SWITCH_SYSTEM_tmp.
      * src/Makefile.in (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH):
      New variables, set by configure.
      27a2cdfc
    • 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.
      (TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM_TEMACS.
      eb21eab5
    • 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@.
      49628785
    • 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.
      7dff330b
  5. 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.
      (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
      (Bug#6070).
      53967e09
    • 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.
      3dee6fdb
  6. 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.
      a101e0fb
    • 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
      shut_down_emacs.
      
      * emacs.c (USAGE1): Mention --chdir.
      (main): Handle --chdir.
      (standard_args): Add --chdir.
      (fatal_error_signal): Call Fkill_emacs for SIGTERM and SIGHUP (Bug
      #5552).
      
      * cmdargs.texi (Initial Options): Mention --chdir.
      f63d0028
  7. 01 May, 2010 11 commits
  8. 30 Apr, 2010 2 commits