1. 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
      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. 04 May, 2010 3 commits
    • 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
  3. 27 Apr, 2010 2 commits
    • 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
    • Glenn Morris's avatar
      Use $CRT_DIR in more places. · 76cda504
      Glenn Morris authored
      * configure.in (--with-crt-dir): Doc fix (now valid for all platforms).
      (CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64.
      On hpux10-20, default to /lib.
      
      * src/m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around,
      since the defaults (set by the system file) are fine in most cases.
      [GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__]: Remove sections.
      * src/m/ibms390x.h (START_FILES, LIB_STANDARD):
      * src/m/macppc.h (START_FILES, LIB_STANDARD) [GNU_LINUX]:
      * src/m/sparc.h (START_FILES, LIB_STANDARD) [__linux__]:
      Remove definitions, since they are set correctly in s/gnu-linux.h.
      * src/s/freebsd.h (START_FILES, LIB_STANDARD):
      * src/s/gnu-linux.h (START_FILES, LIB_STANDARD):
      * src/s/hpux10-20.h (START_FILES):
      * src/s/netbsd.h (START_FILES, LIB_STANDARD, START_FILES_1, END_FILES_1):
      Use $CRT_DIR in place of fixed /usr/lib, /lib directories.
      
      * src/Makefile.in: Comment.
      76cda504
  4. 21 Apr, 2010 1 commit
    • Dan Nicolaescu's avatar
      Simplify LD_SWITCH_SYSTEM_TEMACS usage. · 4285ac5a
      Dan Nicolaescu authored
      * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS):
      * s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure
      detects -znocombreloc and passes it to the linker
      * s/hpux10-20.h (LD_SWITCH_SYSTEM_TEMACS): Remove, empty.
      4285ac5a
  5. 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
  6. 23 Mar, 2010 1 commit
  7. 13 Jan, 2010 1 commit
  8. 10 May, 2009 1 commit
  9. 08 Jan, 2009 1 commit
  10. 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
  11. 02 Oct, 2008 1 commit
  12. 02 Aug, 2008 1 commit
  13. 24 Jul, 2008 1 commit
  14. 23 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * config.in: Regenerate. · 77ccee09
      Dan Nicolaescu authored
      * s/ms-w32.h (subprocesses): Define unconditionally.
      * s/template.h (subprocesses): Update comment.
      * s/vms.h (subprocesses):
      * s/usg5-4.h (subprocesses):
      * s/hpux10-20.h (subprocesses):
      * s/gnu-linux.h (subprocesses):
      * s/cygwin.h (subprocesses):
      * s/bsd-common.h (subprocesses):
      * s/aix4-2.h (subprocesses):
      * s/darwin.h (subprocesses): Do not define, defined by default now.
      
      * Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused.
      Remove all references.
      (temacs): Add GNUStep specific ld flags.
      
      * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE.
      
      * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine.
      
      * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE.
      
      * configure.in (LD_SWITCH_SITE): Remove, set the values directly
      in src/Makefile.in.
      (static): Remove, autoconf would always comment it out anyway.
      (subprocesses): Define unconditionally.
      77ccee09
  15. 20 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was · 89f1e540
      Dan Nicolaescu authored
      added not supported anymore.
      
      * s/usg5-4-2.h (LIBS_SYSTEM):
      * s/sol2.h (LIBS_SYSTEM): Do not undefine.
      
      * s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF):
      * s/lynxos.h (GETPGRP_NO_ARG):
      * s/hpux10-20.h (NO_SIOCTL_H):
      * s/gnu.h (GETPGRP_NO_ARG):
      * s/gnu-linux.h (NO_SIOCTL_H):
      * s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF):
      * s/cygwin.h (GETPGRP_NO_ARG):
      * s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused.
      (C_DEBUG_SWITCH): Remove duplicate definition.
      
      * m/ibms390.h: Remove boilerplate comments.
      
      * sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4.
      
      * process.c (HAVE_SERIAL): Consolidate ifdefs.
      (wait_reading_process_output): Remove code for SunOS, platform not
      supported anymore.  Use SOLARIS2 instead of sun.
      89f1e540
  16. 16 Jul, 2008 2 commits
    • Dan Nicolaescu's avatar
      Remove boilerplate comments. · 3ec8ef33
      Dan Nicolaescu authored
      3ec8ef33
    • Dan Nicolaescu's avatar
      * systty.h: Remove code for Aix on 386, unsupported platform. · 132d0475
      Dan Nicolaescu authored
      * s/ms-w32.h: Remove boilerplate comments.
      (fcloseall, fgetchar, flushall, fputchar, getw, putw): Remove, unused.
      
      * s/gnu-linux.h (TERM): Remove support.
      (HAVE_SYSVIPC): Remove, unused.
      (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Remove, not used
      for this system.
      
      * process.c: Remove support for IRIS, unused.
      Remove support for TERM, not relevant anymore.
      
      * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Remove, replace the only
      used with the definition.
      
      * s/aix4-2.h (static): Do not undef.
      
      * m/ibmrs6000.h: Remove code depending on USG5_4, this file is
      only used on Aix.
      (HAVE_SYSVIPC): Remove, unused.
      
      * m/hp800.h (CANNOT_DUMP): Do not undef.
      
      * m/alpha.h: Fix comment.
      
      * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused.
      (USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not
      used by this configuration.
      * emacs.c: Remove code depending on USG_SHARED_LIBRARIES.
      * unexec.c: Remove code depending on HPUX and
      USG_SHARED_LIBRARIES, not used with this file.  Remove code
      depending on IRIS, unused.  Remove if 0-ed code.
      132d0475
  17. 13 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * config.nt (HAVE_FACES): Remove, unused. · bdee2ef3
      Dan Nicolaescu authored
      * s/vms.h: Use __GNUC__ instead of _GNUC_.
      
      * m/macppc.h:
      * m/alpha.h: Use GNU_LINUX instead of LINUX.  Reorganize conditionals.
      
      * m/ibms390x.h (XINT, XUINT): Don't define, same as the default
      (SPECIAL_EMACS_INT):
      * m/ia64.h (SPECIAL_EMACS_INT):
      * m/amdx86-64.h (SPECIAL_EMACS_INT):
      * s/gnu.h (NLIST_STRUCT):
      * aix4-2.h (X11R5_INHIBIT_I18N):
      * s/gnu-linux.h (LINUX):
      * s/msdos.h (HAVE_FACES):
      * s/ms-w32.h (HAVE_FACES): Don't define, unused.
      
      * systty.h:
      * sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used
      anymore.
      bdee2ef3
  18. 12 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * syswait.h: Remove old if 0 code. Do not define WAITTYPE, it was · bba104c1
      Dan Nicolaescu authored
      always defined as int.
      
      * s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT):
      * s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT):
      * s/gnu-linux.h (HAVE_WAIT_HEADER):
      * s/freebsd.h (HAVE_WAIT_HEADER):
      * s/bsd-common.h (HAVE_UNION_WAIT):
      * s/aix4-2.h (HAVE_WAIT_HEADER):
      * m/mips.h (HAVE_UNION_WAIT):
      * s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used.
      (COFF, static): Do not define, they are undefined later in the file.
      
      * process.c (update_status): Don't use a union.
      (status_convert):
      (sigchld_handler): Use int instead of WAITTYPE.
      
      * movemail.c (main): Use int instead of WAITTYPE.
      bba104c1
  19. 10 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * src/fileio.c: · c5e7567d
      Dan Nicolaescu authored
      * src/sysdep.c
      * src/systty.h:
      * src/m/ibmrs6000.h:
      * src/m/iris4d.h:
      * src/s/aix4-2.h:
      * src/s/freebsd.h:
      * src/s/gnu-linux.h:
      * src/s/hpux10-20.h:
      * src/s/hpux11.h:
      * src/s/netbsd.h:
      * src/s/sol2-3.h:
      * src/s/sol2-4.h:
      * src/s/sol2.h:
      * src/s/usg5-4.h:
      * src/s/vms.h: Remove references to unused variables.
      c5e7567d
  20. 07 May, 2008 1 commit
  21. 10 Feb, 2008 1 commit
  22. 09 Feb, 2008 1 commit
    • Dan Nicolaescu's avatar
      * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete · deeaffe1
      Dan Nicolaescu authored
      variable.
      
      * s/gnu-linux.h: Remove commented out code.
      
      * unexec.c: Remove references to obsolete variable
      COFF_ENCAPSULATE.
      
      * Makefile.in: Update what RMS says about using autoconf.
      (C_COMPILER):
      (COFF_ENCAPSULATE):
      (MAKE_PARALLEL): Remove obsolete variable.
      (C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1):
      (C_SWITCH_X_SITE_1, C_SWITCH_X_MACHINE_1)
      (C_SWITCH_X_SYSTEM_1): Move invariant code outside conditional.
      deeaffe1
  23. 08 Jan, 2008 1 commit
  24. 25 Jul, 2007 1 commit
  25. 14 Jan, 2007 1 commit
  26. 18 Nov, 2006 1 commit
  27. 23 Sep, 2006 1 commit
  28. 03 Jul, 2006 1 commit
  29. 24 Jun, 2006 1 commit
  30. 06 Feb, 2006 1 commit
  31. 07 Aug, 2005 1 commit
  32. 04 Jul, 2005 1 commit
  33. 27 Nov, 2004 1 commit
  34. 21 Jul, 2004 1 commit
  35. 16 Apr, 2004 1 commit