summaryrefslogtreecommitdiff
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-07-16 08:06:18 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-07-16 08:06:18 +0000
commit132d04752a194336e0ea965245294af64f27226f (patch)
tree1431f9f0381484382c74033ac993f2bfa5fa8c33 /src/s/gnu-linux.h
parent316460cf4825107087fed9a93694d3520b90d91f (diff)
downloademacs-132d04752a194336e0ea965245294af64f27226f.tar.gz
* systty.h: Remove code for Aix on 386, unsupported platform.
* 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.
Diffstat (limited to 'src/s/gnu-linux.h')
-rw-r--r--src/s/gnu-linux.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 1904d71b6c8..445694987fd 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -90,7 +90,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define FIRST_PTY_LETTER 'p'
-#endif /* not HAVE_GRANDPT */
+#endif /* not HAVE_GRANTPT */
/* Define HAVE_TERMIOS if the system provides POSIX-style
functions and macros for terminal control. */
@@ -153,12 +153,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
your system and must be used only through an encapsulation
(Which you should place, by convention, in sysdep.c). */
-/* If you mount the proc file system somewhere other than /proc
- you will have to uncomment the following and make the proper
- changes */
-
-/* #define LINUX_LDAV_FILE "/proc/loadavg" */
-
/* This is needed for dispnew.c:update_frame */
#ifdef emacs
@@ -220,14 +214,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define C_DEBUG_SWITCH
#endif
-/* Rob Malouf <malouf@csli.stanford.edu> says:
- SYSV IPC is standard a standard part of Linux since version 0.99pl10,
- and is a very common addition to previous versions. */
-
-#ifdef TERM
-#define LIBS_SYSTEM -lclient
-#define C_SWITCH_SYSTEM -D_BSD_SOURCE -I/usr/src/term
-#else
/* alane@wozzle.linet.org says that -lipc is not a separate library,
since libc-4.4.1. So -lipc was deleted. */
#define LIBS_SYSTEM
@@ -235,7 +221,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
_GNU_SOURCE. Left in in case it's relevant to libc5 systems and
anyone's still using Emacs on those. --fx 2002-12-14 */
#define C_SWITCH_SYSTEM -D_BSD_SOURCE
-#endif
/* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */
#define LIB_MOTIF -lXm -lXpm
@@ -245,15 +230,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define LIBS_TERMCAP -lncurses
#endif
-#define HAVE_SYSVIPC
-
#define UNEXEC unexelf.o
-#define A_TEXT_OFFSET(hdr) (N_MAGIC(hdr) == QMAGIC ? sizeof (struct exec) : 0)
-#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
-#define ADJUST_EXEC_HEADER \
- unexec_text_start = N_TXTADDR(ohdr) + A_TEXT_OFFSET(ohdr)
-
/* This is to work around mysterious gcc failures in some system versions.
It is unlikely that Emacs changes will work around this problem;
therefore, this should remain permanently. */