comparison src/s/sco4.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 376386a54a3c
children 2d532a89d707
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
52 #define PTY_TTY_NAME_SPRINTF \ 52 #define PTY_TTY_NAME_SPRINTF \
53 sprintf (pty_name, "/dev/ttyp%d", i); 53 sprintf (pty_name, "/dev/ttyp%d", i);
54 54
55 /* Must use 'cc' to link when build with motif toolkit. */ 55 /* Must use 'cc' to link when build with motif toolkit. */
56 #ifndef __GNUC__ 56 #ifndef __GNUC__
57 #define LINKER cc 57 #define LINKER "cc"
58 #endif 58 #endif
59 59
60 /* This is safe since we already assumed HAVE_SOCKETS 60 /* This is safe since we already assumed HAVE_SOCKETS
61 if using X windows. */ 61 if using X windows. */
62 #undef LIBX11_SYSTEM 62 #undef LIBX11_SYSTEM
63 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lc_s -lsocket 63 #define LIBX11_SYSTEM "-lpt -lnls -lnsl_s -lc_s -lsocket"
64 64
65 #ifdef HAVE_SOCKETS 65 #ifdef HAVE_SOCKETS
66 #define LIBS_SYSTEM -lsocket -lPW 66 #define LIBS_SYSTEM "-lsocket -lPW"
67 67
68 /* SCO has gettimeofday in socket library */ 68 /* SCO has gettimeofday in socket library */
69 /* Autoconf should determine this, but for now, 69 /* Autoconf should determine this, but for now,
70 play safe to avoid error rather than deleting this 70 play safe to avoid error rather than deleting this
71 and risking the wrong result. */ 71 and risking the wrong result. */
74 #endif 74 #endif
75 #endif 75 #endif
76 76
77 /* This enables configure to tell that we have alloca. */ 77 /* This enables configure to tell that we have alloca. */
78 #ifndef LIBS_SYSTEM 78 #ifndef LIBS_SYSTEM
79 #define LIBS_SYSTEM -lPW 79 #define LIBS_SYSTEM "-lPW"
80 #endif 80 #endif
81 81
82 #ifdef HAVE_X11R5 82 #ifdef HAVE_X11R5
83 /* configure can't get this right linking fails unless -lsocket is used. */ 83 /* configure can't get this right linking fails unless -lsocket is used. */
84 #undef HAVE_XSCREENNUMBEROFSCREEN 84 #undef HAVE_XSCREENNUMBEROFSCREEN
91 /* SCO does have TIOCGWINSZ. */ 91 /* SCO does have TIOCGWINSZ. */
92 #undef BROKEN_TIOCGWINSZ 92 #undef BROKEN_TIOCGWINSZ
93 #define NEED_PTEM_H 93 #define NEED_PTEM_H
94 94
95 /* We need to link with crt1.o and crtn.o. */ 95 /* We need to link with crt1.o and crtn.o. */
96 #define START_FILES pre-crt0.o /lib/crt1.o 96 #define START_FILES "pre-crt0.o /lib/crt1.o"
97 #define LIB_STANDARD -lc /lib/crtn.o 97 #define LIB_STANDARD "-lc /lib/crtn.o"
98 98
99 /* Send signals to subprocesses by "typing" signal chars at them. */ 99 /* Send signals to subprocesses by "typing" signal chars at them. */
100 #define SIGNALS_VIA_CHARACTERS 100 #define SIGNALS_VIA_CHARACTERS
101 101
102 /* Specify program for etc/fakemail to run. Define SMAIL if you are 102 /* Specify program for etc/fakemail to run. Define SMAIL if you are