3 /* Identify OSF1 for the m- files. */
7 #define C_SWITCH_SYSTEM -D_BSD
8 #define LIBS_SYSTEM -lbsd
10 #define GETPGRP_NO_ARG
12 #define SYSV_SYSTEM_DIR
14 /* If your system uses COFF (Common Object File Format) then define the
15 preprocessor symbol "COFF". */
19 /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option
20 says where to find X windows at run time. We convert it to a -rpath option
21 which is what OSF1 uses. */
22 #define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`
27 /* Optimize, inaccurate debugging. */
28 #define C_DEBUG_SWITCH -g3
32 #ifndef OSF5 /* fixed in 5.0 */
33 /* Hack alert! For reasons unknown to mankind the string.h file insists
34 on defining bcopy etc. as taking char pointers as arguments. With
35 Emacs this produces an endless amount of warning which are harmless,
36 but tends to flood the real errors. This hack works around this problem
37 by not prototyping. */
38 #define bcopy string_h_bcopy
39 #define bzero string_h_bzero
40 #define bcmp string_h_bcmp
50 /* Some systems seem to have this, others don't. */
52 #define LIBS_MACHINE -ldnet
54 #define LIBS_MACHINE -ldnet_stub
58 #define START_FILES pre-crt0.o
60 #define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */
61 #define PTY_NAME_SPRINTF /* none */
62 #define PTY_TTY_NAME_SPRINTF /* none */
68 mask = sigblock (sigmask (SIGCHLD)); \
69 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
72 emacs_close (dummy); \