comparison src/s/sol2.h @ 96833:c06568fd3844

* s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was 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.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 20 Jul 2008 13:03:56 +0000
parents 8b34dc6bbff5
children
comparison
equal deleted inserted replaced
96832:f6418143551e 96833:c06568fd3844
38 has anything in it. It can be empty. 38 has anything in it. It can be empty.
39 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ 39 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */
40 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` 40 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX`
41 #endif /* GCC */ 41 #endif /* GCC */
42 42
43 #undef LIBS_SYSTEM
44 #define LIBS_SYSTEM -lsocket -lnsl -lkstat 43 #define LIBS_SYSTEM -lsocket -lnsl -lkstat
45 44
46 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. 45 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root.
47 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined 46 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined
48 (e.g., by config.h). */ 47 (e.g., by config.h). */