diff options
| author | Glenn Morris | 2012-06-11 19:17:11 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-06-11 19:17:11 -0400 |
| commit | a9be7d2b190bb334b9b43a86ce7cbf8478f68e9b (patch) | |
| tree | f7f3d7a43ff549fbc46db58a2629e92bf46e74fd | |
| parent | 71cca84d57cd7b90c2cb9040fc703cdbe78e024c (diff) | |
| download | emacs-a9be7d2b190bb334b9b43a86ce7cbf8478f68e9b.tar.gz emacs-a9be7d2b190bb334b9b43a86ce7cbf8478f68e9b.zip | |
Move SYSTEM_TYPE from src/s to configure
* configure.in (SYSTEM_TYPE): New AC_DEFINE.
* msdos/sed2v2.inp (SYSTEM_TYPE): Set it.
* nt/config.nt (SYSTEM_TYPE): Define it.
* src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-kfreebsd.h, src/s/gnu-linux.h, src/s/gnu.h, src/s/hpux10-20.h:
* src/s/irix6-5.h, src/s/ms-w32.h, src/s/msdos.h, src/s/template.h:
* src/s/usg5-4-common.h: Remove SYSTEM_TYPE.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.in | 14 | ||||
| -rw-r--r-- | msdos/ChangeLog | 4 | ||||
| -rw-r--r-- | msdos/sed2v2.inp | 1 | ||||
| -rw-r--r-- | nt/ChangeLog | 4 | ||||
| -rw-r--r-- | nt/config.nt | 3 | ||||
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/s/aix4-2.h | 4 | ||||
| -rw-r--r-- | src/s/bsd-common.h | 4 | ||||
| -rw-r--r-- | src/s/cygwin.h | 4 | ||||
| -rw-r--r-- | src/s/darwin.h | 4 | ||||
| -rw-r--r-- | src/s/gnu-kfreebsd.h | 6 | ||||
| -rw-r--r-- | src/s/gnu-linux.h | 4 | ||||
| -rw-r--r-- | src/s/gnu.h | 3 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 4 | ||||
| -rw-r--r-- | src/s/irix6-5.h | 5 | ||||
| -rw-r--r-- | src/s/ms-w32.h | 4 | ||||
| -rw-r--r-- | src/s/msdos.h | 4 | ||||
| -rw-r--r-- | src/s/template.h | 5 | ||||
| -rw-r--r-- | src/s/usg5-4-common.h | 4 |
20 files changed, 37 insertions, 55 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-06-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.in (SYSTEM_TYPE): New AC_DEFINE. | ||
| 4 | |||
| 1 | 2012-06-09 Michael Albinus <michael.albinus@gmx.de> | 5 | 2012-06-09 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 6 | ||
| 3 | * configure.in (dbus_type_is_valid): Check for library function. | 7 | * configure.in (dbus_type_is_valid): Check for library function. |
diff --git a/configure.in b/configure.in index 4fc151d796c..48644658586 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -934,6 +934,11 @@ AC_DEFUN([AC_TYPE_UID_T]) | |||
| 934 | LIB_MATH=-lm | 934 | LIB_MATH=-lm |
| 935 | LIB_STANDARD= | 935 | LIB_STANDARD= |
| 936 | START_FILES= | 936 | START_FILES= |
| 937 | dnl Current possibilities handled by sed (aix4-2 -> aix, | ||
| 938 | dnl gnu-linux -> gnu/linux, etc.): | ||
| 939 | dnl gnu, gnu/linux, gnu/kfreebsd, aix, cygwin, darwin, hpux, irix. | ||
| 940 | dnl And special cases: berkeley-unix, usg-unix-v, ms-dos, windows-nt. | ||
| 941 | SYSTEM_TYPE=`echo $opsys | sed -e 's/[0-9].*//' -e 's|-|/|'` | ||
| 937 | 942 | ||
| 938 | dnl NB do not use CRT_DIR unquoted here, since it might not be set yet. | 943 | dnl NB do not use CRT_DIR unquoted here, since it might not be set yet. |
| 939 | case $opsys in | 944 | case $opsys in |
| @@ -949,6 +954,7 @@ case $opsys in | |||
| 949 | freebsd ) | 954 | freebsd ) |
| 950 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o' | 955 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o' |
| 951 | START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o' | 956 | START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o' |
| 957 | SYSTEM_TYPE=berkeley-unix | ||
| 952 | ;; | 958 | ;; |
| 953 | gnu-linux | gnu-kfreebsd ) | 959 | gnu-linux | gnu-kfreebsd ) |
| 954 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o' | 960 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o' |
| @@ -962,11 +968,19 @@ case $opsys in | |||
| 962 | netbsd | openbsd ) | 968 | netbsd | openbsd ) |
| 963 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o' | 969 | LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o' |
| 964 | START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crtbegin.o' | 970 | START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crtbegin.o' |
| 971 | SYSTEM_TYPE=berkeley-unix | ||
| 965 | ;; | 972 | ;; |
| 973 | |||
| 974 | sol2* | unixware ) | ||
| 975 | SYSTEM_TYPE=usg-unix-v | ||
| 976 | ;; | ||
| 977 | |||
| 966 | esac | 978 | esac |
| 967 | 979 | ||
| 968 | AC_SUBST(LIB_MATH) | 980 | AC_SUBST(LIB_MATH) |
| 969 | AC_SUBST(START_FILES) | 981 | AC_SUBST(START_FILES) |
| 982 | AC_DEFINE_UNQUOTED(SYSTEM_TYPE, "$SYSTEM_TYPE", | ||
| 983 | [The type of system you are compiling for; sets `system-type'.]) | ||
| 970 | 984 | ||
| 971 | dnl Not all platforms use crtn.o files. Check if the current one does. | 985 | dnl Not all platforms use crtn.o files. Check if the current one does. |
| 972 | crt_files= | 986 | crt_files= |
diff --git a/msdos/ChangeLog b/msdos/ChangeLog index 934a32ba24a..2b981168fea 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-06-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * sed2v2.inp (SYSTEM_TYPE): Set it. | ||
| 4 | |||
| 1 | 2012-05-27 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-05-27 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT) | 7 | * sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT) |
diff --git a/msdos/sed2v2.inp b/msdos/sed2v2.inp index 06a59513af7..85ab02c877e 100644 --- a/msdos/sed2v2.inp +++ b/msdos/sed2v2.inp | |||
| @@ -59,6 +59,7 @@ | |||
| 59 | /^#undef PACKAGE_TARNAME/s/^.*$/#define PACKAGE_TARNAME ""/ | 59 | /^#undef PACKAGE_TARNAME/s/^.*$/#define PACKAGE_TARNAME ""/ |
| 60 | /^#undef PACKAGE_VERSION/s/^.*$/#define PACKAGE_VERSION ""/ | 60 | /^#undef PACKAGE_VERSION/s/^.*$/#define PACKAGE_VERSION ""/ |
| 61 | /^#undef VERSION/s/^.*$/#define VERSION "24.1.50"/ | 61 | /^#undef VERSION/s/^.*$/#define VERSION "24.1.50"/ |
| 62 | /^#undef SYSTEM_TYPE/s/^.*$/#define SYSTEM_TYPE "ms-dos"/ | ||
| 62 | /^#undef HAVE_DECL_GETENV/s/^.*$/#define HAVE_DECL_GETENV 1/ | 63 | /^#undef HAVE_DECL_GETENV/s/^.*$/#define HAVE_DECL_GETENV 1/ |
| 63 | /^#undef SYS_SIGLIST_DECLARED/s/^.*$/#define SYS_SIGLIST_DECLARED 1/ | 64 | /^#undef SYS_SIGLIST_DECLARED/s/^.*$/#define SYS_SIGLIST_DECLARED 1/ |
| 64 | /^#undef HAVE_DIRENT_H/s/^.*$/#define HAVE_DIRENT_H 1/ | 65 | /^#undef HAVE_DIRENT_H/s/^.*$/#define HAVE_DIRENT_H 1/ |
diff --git a/nt/ChangeLog b/nt/ChangeLog index 0687e8be605..a103c8b1c2c 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-06-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * config.nt (SYSTEM_TYPE): Define it. | ||
| 4 | |||
| 1 | 2012-05-31 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-05-31 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * configure.bat (genmakefiles): Move the redirection away from the | 7 | * configure.bat (genmakefiles): Move the redirection away from the |
diff --git a/nt/config.nt b/nt/config.nt index 2e56633d4fd..f32c38f8435 100644 --- a/nt/config.nt +++ b/nt/config.nt | |||
| @@ -326,6 +326,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 326 | /* Version number of package */ | 326 | /* Version number of package */ |
| 327 | #define VERSION "24.1.50" | 327 | #define VERSION "24.1.50" |
| 328 | 328 | ||
| 329 | /* The type of system you are compiling for; sets `system-type'. */ | ||
| 330 | #define SYSTEM_TYPE "windows-nt" | ||
| 331 | |||
| 329 | /* Define to `__inline__' or `__inline' if that's what the C compiler | 332 | /* Define to `__inline__' or `__inline' if that's what the C compiler |
| 330 | calls it, or to nothing if 'inline' is not supported under any name. */ | 333 | calls it, or to nothing if 'inline' is not supported under any name. */ |
| 331 | #ifdef __GNUC__ | 334 | #ifdef __GNUC__ |
diff --git a/src/ChangeLog b/src/ChangeLog index dc2e6845c50..9acdb5fbf27 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-06-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/darwin.h: | ||
| 4 | * s/gnu-kfreebsd.h, s/gnu-linux.h, s/gnu.h, s/hpux10-20.h: | ||
| 5 | * s/irix6-5.h, s/ms-w32.h, s/msdos.h, s/template.h: | ||
| 6 | * s/usg5-4-common.h: Move SYSTEM_TYPE to configure. | ||
| 7 | |||
| 1 | 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * alloc.c (make_byte_code): New function. | 10 | * alloc.c (make_byte_code): New function. |
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index cacfdc7ed63..51ac9748f27 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -26,10 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 26 | #define _AIX | 26 | #define _AIX |
| 27 | #endif | 27 | #endif |
| 28 | 28 | ||
| 29 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 30 | It sets the Lisp variable system-type. */ | ||
| 31 | #define SYSTEM_TYPE "aix" | ||
| 32 | |||
| 33 | /* In AIX, you allocate a pty by opening /dev/ptc to get the master side. | 29 | /* In AIX, you allocate a pty by opening /dev/ptc to get the master side. |
| 34 | To get the name of the slave side, you just ttyname() the master side. */ | 30 | To get the name of the slave side, you just ttyname() the master side. */ |
| 35 | #define PTY_ITERATION int c; for (c = 0; !c ; c++) | 31 | #define PTY_ITERATION int c; for (c = 0; !c ; c++) |
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h index c2dbdb9a109..ce3d63bb49f 100644 --- a/src/s/bsd-common.h +++ b/src/s/bsd-common.h | |||
| @@ -46,10 +46,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 46 | for X functions taking float or double parameters. */ | 46 | for X functions taking float or double parameters. */ |
| 47 | #define NARROWPROTO 1 | 47 | #define NARROWPROTO 1 |
| 48 | 48 | ||
| 49 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 50 | It sets the Lisp variable system-type. */ | ||
| 51 | #define SYSTEM_TYPE "berkeley-unix" | ||
| 52 | |||
| 53 | /* Do not use interrupt_input = 1 by default, because in 4.3 | 49 | /* Do not use interrupt_input = 1 by default, because in 4.3 |
| 54 | we can make noninterrupt input work properly. */ | 50 | we can make noninterrupt input work properly. */ |
| 55 | #undef INTERRUPT_INPUT | 51 | #undef INTERRUPT_INPUT |
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 9310890351e..9b437341324 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -17,10 +17,6 @@ GNU General Public License for more details. | |||
| 17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License |
| 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 18 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 19 | 19 | ||
| 20 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 21 | It sets the Lisp variable system-type. */ | ||
| 22 | #define SYSTEM_TYPE "cygwin" | ||
| 23 | |||
| 24 | /* Emacs can read input using SIGIO and buffering characters itself, | 20 | /* Emacs can read input using SIGIO and buffering characters itself, |
| 25 | or using CBREAK mode and making C-g cause SIGINT. | 21 | or using CBREAK mode and making C-g cause SIGINT. |
| 26 | The choice is controlled by the variable interrupt_input. | 22 | The choice is controlled by the variable interrupt_input. |
diff --git a/src/s/darwin.h b/src/s/darwin.h index 7c8e26f46cc..5033f91813d 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -31,10 +31,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 31 | #define DARWIN_OS | 31 | #define DARWIN_OS |
| 32 | 32 | ||
| 33 | 33 | ||
| 34 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 35 | It sets the Lisp variable system-type. */ | ||
| 36 | #define SYSTEM_TYPE "darwin" | ||
| 37 | |||
| 38 | /* Emacs can read input using SIGIO and buffering characters itself, | 34 | /* Emacs can read input using SIGIO and buffering characters itself, |
| 39 | or using CBREAK mode and making C-g cause SIGINT. | 35 | or using CBREAK mode and making C-g cause SIGINT. |
| 40 | The choice is controlled by the variable interrupt_input. | 36 | The choice is controlled by the variable interrupt_input. |
diff --git a/src/s/gnu-kfreebsd.h b/src/s/gnu-kfreebsd.h index a85571915df..f32e6faccd2 100644 --- a/src/s/gnu-kfreebsd.h +++ b/src/s/gnu-kfreebsd.h | |||
| @@ -1,9 +1,3 @@ | |||
| 1 | #include "gnu-linux.h" | 1 | #include "gnu-linux.h" |
| 2 | 2 | ||
| 3 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 4 | It sets the Lisp variable system-type. */ | ||
| 5 | #undef SYSTEM_TYPE | ||
| 6 | #define SYSTEM_TYPE "gnu/kfreebsd" /* All the best software is free */ | ||
| 7 | |||
| 8 | #define NO_TERMIO /* use only <termios.h> */ | 3 | #define NO_TERMIO /* use only <termios.h> */ |
| 9 | |||
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index 409d0205520..20ce65207a1 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -25,10 +25,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 25 | #define USG | 25 | #define USG |
| 26 | #define GNU_LINUX | 26 | #define GNU_LINUX |
| 27 | 27 | ||
| 28 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 29 | It sets the Lisp variable system-type. */ | ||
| 30 | #define SYSTEM_TYPE "gnu/linux" /* All the best software is free. */ | ||
| 31 | |||
| 32 | #ifdef emacs | 28 | #ifdef emacs |
| 33 | #ifdef HAVE_LINUX_VERSION_H | 29 | #ifdef HAVE_LINUX_VERSION_H |
| 34 | #include <linux/version.h> | 30 | #include <linux/version.h> |
diff --git a/src/s/gnu.h b/src/s/gnu.h index cd72164a520..089890a12b5 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h | |||
| @@ -21,9 +21,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | /* Get most of the stuff from bsd-common */ | 21 | /* Get most of the stuff from bsd-common */ |
| 22 | #include "bsd-common.h" | 22 | #include "bsd-common.h" |
| 23 | 23 | ||
| 24 | #undef SYSTEM_TYPE | ||
| 25 | #define SYSTEM_TYPE "gnu" | ||
| 26 | |||
| 27 | #define SIGNALS_VIA_CHARACTERS | 24 | #define SIGNALS_VIA_CHARACTERS |
| 28 | 25 | ||
| 29 | /* libc defines data_start. */ | 26 | /* libc defines data_start. */ |
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index f1ae50c533a..36227b6ba7b 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -26,10 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 26 | #define USG5 | 26 | #define USG5 |
| 27 | #define HPUX | 27 | #define HPUX |
| 28 | 28 | ||
| 29 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 30 | It sets the Lisp variable system-type. */ | ||
| 31 | #define SYSTEM_TYPE "hpux" | ||
| 32 | |||
| 33 | /* Letter to use in finding device name of first pty, | 29 | /* Letter to use in finding device name of first pty, |
| 34 | if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */ | 30 | if system supports pty's. 'p' means it is /dev/ptym/ptyp0 */ |
| 35 | #define FIRST_PTY_LETTER 'p' | 31 | #define FIRST_PTY_LETTER 'p' |
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h index e5479c3b8d3..7e5a5505ee2 100644 --- a/src/s/irix6-5.h +++ b/src/s/irix6-5.h | |||
| @@ -26,11 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 26 | 26 | ||
| 27 | #define SETPGRP_RELEASES_CTTY | 27 | #define SETPGRP_RELEASES_CTTY |
| 28 | 28 | ||
| 29 | #ifdef SYSTEM_TYPE | ||
| 30 | #undef SYSTEM_TYPE | ||
| 31 | #endif | ||
| 32 | #define SYSTEM_TYPE "irix" | ||
| 33 | |||
| 34 | #ifdef SETUP_SLAVE_PTY | 29 | #ifdef SETUP_SLAVE_PTY |
| 35 | #undef SETUP_SLAVE_PTY | 30 | #undef SETUP_SLAVE_PTY |
| 36 | #endif | 31 | #endif |
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index f88128b27aa..5bf71d5f321 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h | |||
| @@ -36,10 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 36 | convention must be whatever standard the libraries expect. */ | 36 | convention must be whatever standard the libraries expect. */ |
| 37 | #define _CALLBACK_ __cdecl | 37 | #define _CALLBACK_ __cdecl |
| 38 | 38 | ||
| 39 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 40 | It sets the Lisp variable system-type. */ | ||
| 41 | #define SYSTEM_TYPE "windows-nt" | ||
| 42 | |||
| 43 | #define NO_MATHERR 1 | 39 | #define NO_MATHERR 1 |
| 44 | 40 | ||
| 45 | /* Letter to use in finding device name of first pty, | 41 | /* Letter to use in finding device name of first pty, |
diff --git a/src/s/msdos.h b/src/s/msdos.h index add2902d5f3..fc1a8c7506a 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h | |||
| @@ -33,10 +33,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ | |||
| 33 | #define DOS_NT /* MSDOS or WINDOWSNT */ | 33 | #define DOS_NT /* MSDOS or WINDOWSNT */ |
| 34 | #undef BSD_SYSTEM | 34 | #undef BSD_SYSTEM |
| 35 | 35 | ||
| 36 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 37 | It sets the Lisp variable system-type. */ | ||
| 38 | #define SYSTEM_TYPE "ms-dos" | ||
| 39 | |||
| 40 | /* subprocesses should be defined if you want to have code for | 36 | /* subprocesses should be defined if you want to have code for |
| 41 | asynchronous subprocesses (as used in M-x compile and M-x shell). | 37 | asynchronous subprocesses (as used in M-x compile and M-x shell). |
| 42 | This is the only system that needs this. */ | 38 | This is the only system that needs this. */ |
diff --git a/src/s/template.h b/src/s/template.h index 527694bd4bb..d8f811dc8aa 100644 --- a/src/s/template.h +++ b/src/s/template.h | |||
| @@ -30,11 +30,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 30 | /* #define BSD4_3 */ | 30 | /* #define BSD4_3 */ |
| 31 | /* #define BSD_SYSTEM */ | 31 | /* #define BSD_SYSTEM */ |
| 32 | 32 | ||
| 33 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 34 | It sets the Lisp variable system-type. */ | ||
| 35 | |||
| 36 | #define SYSTEM_TYPE "berkeley-unix" | ||
| 37 | |||
| 38 | /* Emacs can read input using SIGIO and buffering characters itself, | 33 | /* Emacs can read input using SIGIO and buffering characters itself, |
| 39 | or using CBREAK mode and making C-g cause SIGINT. | 34 | or using CBREAK mode and making C-g cause SIGINT. |
| 40 | The choice is controlled by the variable interrupt_input. | 35 | The choice is controlled by the variable interrupt_input. |
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index fabdd66f3bb..d2f3b5d77f5 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h | |||
| @@ -26,10 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 26 | #define USG5 | 26 | #define USG5 |
| 27 | #define USG5_4 | 27 | #define USG5_4 |
| 28 | 28 | ||
| 29 | /* SYSTEM_TYPE should indicate the kind of system you are using. | ||
| 30 | It sets the Lisp variable system-type. */ | ||
| 31 | #define SYSTEM_TYPE "usg-unix-v" | ||
| 32 | |||
| 33 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, | 29 | /* setjmp and longjmp can safely replace _setjmp and _longjmp, |
| 34 | but they will run slower. */ | 30 | but they will run slower. */ |
| 35 | #define _setjmp setjmp | 31 | #define _setjmp setjmp |