diff options
| author | Paul Reilly | 1994-04-30 23:06:52 +0000 |
|---|---|---|
| committer | Paul Reilly | 1994-04-30 23:06:52 +0000 |
| commit | 5be71b2977cfff962c27e9c0177d3e37879ee57f (patch) | |
| tree | ce041b55f2d5c833123b573feb190b16d4c805d2 /src | |
| parent | 4432b1dd044fdc1329cdcd37bb977c4191e168f6 (diff) | |
| download | emacs-5be71b2977cfff962c27e9c0177d3e37879ee57f.tar.gz emacs-5be71b2977cfff962c27e9c0177d3e37879ee57f.zip | |
Remove the SVR4 macro. Move the kernel INTERRUPT_INPUT bug note to
the new file dgux5-4R2.h where it belongs. Set INTERUPT_INPUT as the
default. Remove the editorial comments about GNU malloc. Set
ORDINARY_LINK and move the conditional comment to DGUX5-4R2.h. Remove
C_COMPILER, LINKER and MAKE_COMMAND. Add the SVR4 macro inside the
ELF part of te conditional.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/dgux.h | 51 |
1 files changed, 11 insertions, 40 deletions
diff --git a/src/s/dgux.h b/src/s/dgux.h index 81f695e4704..5ecfb053e00 100644 --- a/src/s/dgux.h +++ b/src/s/dgux.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX | 1 | /* Definitions file for GNU Emacs running on Data General's DG/UX |
| 2 | version 4.32 and above. | 2 | version 4.32 upto and including 5.4.1. |
| 3 | Copyright (C) 1985, 1986, 1991 Free Software Foundation, Inc. | 3 | Copyright (C) 1994 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License | |||
| 18 | along with GNU Emacs; see the file COPYING. If not, write to | 18 | along with GNU Emacs; see the file COPYING. If not, write to |
| 19 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | 19 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
| 20 | 20 | ||
| 21 | |||
| 22 | /* | 21 | /* |
| 23 | * Define symbols to identify the version of Unix this is. | 22 | * Define symbols to identify the version of Unix this is. |
| 24 | * Define all the symbols that apply correctly. | 23 | * Define all the symbols that apply correctly. |
| @@ -34,7 +33,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 34 | #define BSD4_3 | 33 | #define BSD4_3 |
| 35 | #define BSD4_4 | 34 | #define BSD4_4 |
| 36 | #define BSD | 35 | #define BSD |
| 37 | #define SVR4 | ||
| 38 | 36 | ||
| 39 | /* SYSTEM_TYPE should indicate the kind of system you are using. | 37 | /* SYSTEM_TYPE should indicate the kind of system you are using. |
| 40 | It sets the Lisp variable system-type. */ | 38 | It sets the Lisp variable system-type. */ |
| @@ -64,17 +62,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 64 | to read the input and send it to the true Emacs process | 62 | to read the input and send it to the true Emacs process |
| 65 | through a pipe. | 63 | through a pipe. |
| 66 | 64 | ||
| 67 | NOTE: On DGUX, there is a problem using INTERRUPT_INPUT: When invoked | ||
| 68 | under X11 using a job control shell (csh, ksh) in the background, | ||
| 69 | emacs will stop on tty output. I suspect this is a kernel problem and | ||
| 70 | have reported it and a sample program to DGC. Meanwhile, a workaround | ||
| 71 | is to define BROKEN_FIONREAD and not use INTERRUPT_INPUT. | ||
| 72 | |||
| 73 | -pmr@rock.concert.net | ||
| 74 | */ | 65 | */ |
| 75 | 66 | ||
| 76 | #define BROKEN_FIONREAD | 67 | #define INTERRUPT_INPUT |
| 77 | /* #define INTERRUPT_INPUT */ | ||
| 78 | 68 | ||
| 79 | /* | 69 | /* |
| 80 | * Define HAVE_TIMEVAL if the system supports the BSD style clock values. | 70 | * Define HAVE_TIMEVAL if the system supports the BSD style clock values. |
| @@ -257,8 +247,6 @@ is to define BROKEN_FIONREAD and not use INTERRUPT_INPUT. | |||
| 257 | * Use BSD and POSIX-style signals. This is crucial! | 247 | * Use BSD and POSIX-style signals. This is crucial! |
| 258 | */ | 248 | */ |
| 259 | 249 | ||
| 260 | /* pmr now says the GNU malloc works. */ | ||
| 261 | /* pmr@rock.concert.net says Emacs fails without this. We don't know why. */ | ||
| 262 | /* #define SYSTEM_MALLOC */ | 250 | /* #define SYSTEM_MALLOC */ |
| 263 | 251 | ||
| 264 | /* MAKING_MAKEFILE must be defined in "ymakefile" before including config.h */ | 252 | /* MAKING_MAKEFILE must be defined in "ymakefile" before including config.h */ |
| @@ -296,12 +284,8 @@ extern struct sigaction act, oact; | |||
| 296 | CC=gcc | 284 | CC=gcc |
| 297 | #endif /* not THIS_IS_YMAKEFILE */ | 285 | #endif /* not THIS_IS_YMAKEFILE */ |
| 298 | 286 | ||
| 299 | #define LD_SWITCH_SYSTEM | 287 | #define ORDINARY_LINK |
| 300 | #define START_FILES pre-crt0.o | 288 | #define START_FILES pre-crt0.o |
| 301 | #if 0 /* Shawn M. Carey <smcarey@mailbox.syr.edu> found this | ||
| 302 | caused trouble on DGUX 5.4.2. */ | ||
| 303 | #define LIBS_SYSTEM -ldgc | ||
| 304 | #endif | ||
| 305 | #define LIB_GCC /usr/lib/gcc/libgcc.a | 289 | #define LIB_GCC /usr/lib/gcc/libgcc.a |
| 306 | 290 | ||
| 307 | #ifdef _M88KBCS_TARGET | 291 | #ifdef _M88KBCS_TARGET |
| @@ -332,19 +316,15 @@ CC=gcc | |||
| 332 | else \ | 316 | else \ |
| 333 | sprintf (pty_name, "/dev/tty%c%x", c, i); | 317 | sprintf (pty_name, "/dev/tty%c%x", c, i); |
| 334 | 318 | ||
| 335 | #define C_COMPILER \ | ||
| 336 | TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -traditional | ||
| 337 | |||
| 338 | #define LINKER \ | ||
| 339 | TARGET_BINARY_INTERFACE=m88kdguxcoff gcc | ||
| 340 | |||
| 341 | #define MAKE_COMMAND \ | ||
| 342 | TARGET_BINARY_INTERFACE=m88kdguxcoff make | ||
| 343 | |||
| 344 | #define C_DEBUG_SWITCH -g | 319 | #define C_DEBUG_SWITCH -g |
| 345 | 320 | ||
| 346 | #else /* not COFF */ | 321 | #else /* not COFF */ |
| 347 | 322 | ||
| 323 | /* We are generating ELF object format. This makes the system more | ||
| 324 | SVR4 like. */ | ||
| 325 | |||
| 326 | #define SVR4 | ||
| 327 | |||
| 348 | /* Pseudo-terminal support under SVR4 only loops to deal with errors. */ | 328 | /* Pseudo-terminal support under SVR4 only loops to deal with errors. */ |
| 349 | 329 | ||
| 350 | #define PTY_ITERATION for (i = 0; i < 1; i++) | 330 | #define PTY_ITERATION for (i = 0; i < 1; i++) |
| @@ -384,18 +364,9 @@ CC=gcc | |||
| 384 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ | 364 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ |
| 385 | fatal ("ioctl I_PUSH ttcompat", errno); | 365 | fatal ("ioctl I_PUSH ttcompat", errno); |
| 386 | 366 | ||
| 387 | |||
| 388 | #define C_COMPILER \ | ||
| 389 | TARGET_BINARY_INTERFACE=m88kdguxelf gcc -traditional | ||
| 390 | |||
| 391 | #define LINKER \ | ||
| 392 | TARGET_BINARY_INTERFACE=m88kdguxelf gcc | ||
| 393 | |||
| 394 | #define MAKE_COMMAND \ | ||
| 395 | TARGET_BINARY_INTERFACE=m88kdguxelf make | ||
| 396 | |||
| 397 | #define C_DEBUG_SWITCH -g -V2 -mversion-03.00 -mstandard | 367 | #define C_DEBUG_SWITCH -g -V2 -mversion-03.00 -mstandard |
| 398 | #endif /* COFF */ | 368 | |
| 369 | #endif /* ELF */ | ||
| 399 | 370 | ||
| 400 | /* Extra stuff which probably should be someplace else but is here out | 371 | /* Extra stuff which probably should be someplace else but is here out |
| 401 | of expediency. */ | 372 | of expediency. */ |