1. 10 May, 2010 1 commit
    • Glenn Morris's avatar
      Move LIBS_SYSTEM from cpp to configure. · 97efb629
      Glenn Morris authored
      * configure.in (LIBS_SYSTEM): New output variable, replacing cpp.
      
      * lib-src/Makefile.in (LIBS_SYSTEM) [!MSDOS]: Set with configure, not cpp.
      (LIBS_SYSTEM) [MSDOS]: Use MSDOS_LIBS_SYSTEM.
      (NOT_C_CODE): Remove, no longer used.
      (config.h) [!MSDOS]: No longer include.
      (LOADLIBES): Use LIBS_SYSTEM as a variable.
      
      * src/Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
      (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
      (LIBES): Use LIBS_SYSTEM as a variable.
      * src/s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM.  Always define.
      * src/s/aix4-2.h (LIBS_SYSTEM):
      * src/s/freebsd.h (LIBS_SYSTEM):
      * src/s/hpux10-20.h (LIBS_SYSTEM):
      * src/s/sol2-6.h (LIBS_SYSTEM):
      * src/s/unixware.h (LIBS_SYSTEM):
      Move to configure.
      
      * msdos/sed1v2.inp, msdos/sed3v2.inp (LIBS_SYSTEM): Edit to empty.
      97efb629
  2. 08 May, 2010 1 commit
    • Glenn Morris's avatar
      Move TERMINFO, LIBS_TERMCAP from cpp to configure. · 40c17879
      Glenn Morris authored
      * configure.in (HAVE_LIBNCURSES): New local variable.
      (TERMINFO, LIBS_TERMCAP, TERMCAP_OBJ): New output variables,
      replacing cpp in src/s/*.h and src/Makefile.in.
      
      * src/Makefile.in (LIBS_TERMCAP): Set with configure, not cpp.
      (TERMCAP_OBJ): New, set by configure, replacing termcapobj.
      (termcapobj): Replace with TERMCAP_OBJ.
      (otherobj): Use $TERMCAP_OBJ instead of $termcapobj.
      (LIBES): Use LIBS_TERMCAP as a variable.
      
      * src/s/freebsd.h (osreldate.h): No longer include, since this file
      does not use __FreeBSD_version any more.
      
      * srs/s/aix4-2.h (TERMINFO):
      * srs/s/cygwin.h (TERMINFO):
      * srs/s/darwin.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
      * srs/s/freebsd.h (TERMINFO, LIBS_TERMCAP):
      * srs/s/gnu-linux.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
      * srs/s/gnu.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
      * srs/s/hpux10-20.h (TERMINFO, LIBS_TERMCAP):
      * srs/s/irix6-5.h (TERMINFO):
      * srs/s/netbsd.h (LIBS_TERMCAP):
      * srs/s/openbsd.h (TERMINFO, LIBS_TERMCAP):
      * srs/s/sol2-6.h (LIBS_TERMCAP) [!TERMINFO]:
      * srs/s/usg5-4.h (TERMINFO):
      Move to configure.
      
      * msdos/sed1v2.inp (LIBS_TERMCAP): Edit to empty.
      (TERMCAP_OBJ): Edit to tparam.o.
      
      * admin/CPP-DEFINES (LIBS_TERMCAP, TERMINFO): Remove.
      40c17879
  3. 04 May, 2010 1 commit
    • 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
  4. 23 Apr, 2010 1 commit
    • Dan Nicolaescu's avatar
      Clean up Solaris code. · feeb1604
      Dan Nicolaescu authored
      * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS, C_SWITCH_X_SYSTEM)
      (LIB_MOTIF): Remove, configure takes care of this.
      (NOT_USING_MOTIF): Remove, unused.
      * xrdb.c: Remove #if 0-ed #include.
      (SYSV): Remove conditional for old SysV.
      * sysdep.c (closedir): Remove conditional code for Solaris,
      Solaris has closedir.
      feeb1604
  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. 20 Mar, 2010 2 commits
    • Dan Nicolaescu's avatar
      Consolidate redundant definitions. · 2968f561
      Dan Nicolaescu authored
      * s/usg5-4.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not define,
      it's undefined in all files that include this one.
      (POSIX_SIGNALS): Define here instead of doing it in all files that
      include this one.
      * s/irix6-5.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
      (POSIX_SIGNALS): Do not define.
      * s/sol2-6.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
      (POSIX_SIGNALS): Do not define.
      * s/unixware.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
      (POSIX_SIGNALS): Do not define.
      2968f561
    • Dan Nicolaescu's avatar
      Remove support for Solaris on PPC and for old versions. · 07e339e4
      Dan Nicolaescu authored
      * s/sol2-6.h: Add the contents of s/sol-2.3.h, s/sol-2.4.h, s/sol-2.5.h.
      (LD_SWITCH_SYSTEM, USE_MMAP_FOR_BUFFERS): Remove #defines/#undef
      that cancel each other.
      * s/sol2-3.h:
      * s/sol2-4.h:
      * s/sol2-5.h: Remove.
      * m/ibmrs6000.h: Remove code for USG5_4, this file is only used on AIX.
      (NO_REMAP): Remove, unused.
      (UNEXEC): Move definition ...
      * s/aix4-2.h (UNEXEC): ... here.
      
      * configure.in:	Remove support for Solaris on PPC and for old versions.
      07e339e4
  7. 16 Apr, 2004 1 commit
  8. 20 Mar, 2004 1 commit
  9. 04 Mar, 2004 1 commit
  10. 08 Sep, 2003 1 commit
  11. 01 Sep, 2003 1 commit
  12. 13 Sep, 2002 1 commit
  13. 09 Sep, 2002 2 commits