Mercurial > hg > xemacs-beta
comparison src/s/sco5.h @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | 9f59509498e1 |
children | 2d532a89d707 |
comparison
equal
deleted
inserted
replaced
162:4de2936b4e77 | 163:0132846995bd |
---|---|
48 #ifndef HAVE_SOCKETS | 48 #ifndef HAVE_SOCKETS |
49 #define HAVE_SOCKETS | 49 #define HAVE_SOCKETS |
50 #endif | 50 #endif |
51 | 51 |
52 #ifndef __GNUC__ | 52 #ifndef __GNUC__ |
53 #define LINKER cc -Xc | 53 #define LINKER "cc -Xc" |
54 #else | 54 #else |
55 #define LINKER gcc | 55 #define LINKER "gcc" |
56 #endif | 56 #endif |
57 | 57 |
58 #undef LIBX11_SYSTEM | 58 #undef LIBX11_SYSTEM |
59 #define LIBX11_SYSTEM -lsocket | 59 #define LIBX11_SYSTEM "-lsocket" |
60 | 60 |
61 #undef LIB_X11_LIB | 61 #undef LIB_X11_LIB |
62 #define LIB_X11_LIB -lX11 -lgen | 62 #define LIB_X11_LIB "-lX11 -lgen" |
63 | 63 |
64 #define LIBS_SYSTEM -lsocket -lPW -lgen -lcrypt -lmalloc | 64 #define LIBS_SYSTEM "-lsocket -lPW -lgen -lcrypt -lmalloc" |
65 | 65 |
66 #ifndef MAXPATHLEN | 66 #ifndef MAXPATHLEN |
67 # define MAXPATHLEN PATHSIZE | 67 # define MAXPATHLEN PATHSIZE |
68 #endif | 68 #endif |
69 | 69 |
77 #endif | 77 #endif |
78 | 78 |
79 #undef ADDR_CORRECT | 79 #undef ADDR_CORRECT |
80 #define ADDR_CORRECT(x) (int)((char *)(x) - (char*)0) | 80 #define ADDR_CORRECT(x) (int)((char *)(x) - (char*)0) |
81 | 81 |
82 #define C_SWITCH_SYSTEM -D_NO_STATIC | 82 #define C_SWITCH_SYSTEM "-D_NO_STATIC" |
83 | 83 |
84 #ifndef __GNUC__ | 84 #ifndef __GNUC__ |
85 #define C_OPTIMIZE_SWITCH -O3 -Xc | 85 #define C_OPTIMIZE_SWITCH "-O3 -Xc" |
86 #define C_DEBUG_SWITCH -g -Xc | 86 #define C_DEBUG_SWITCH "-g -Xc" |
87 #else | 87 #else |
88 #define C_OPTIMIZE_SWITCH -O99 -m486 -fomit-frame-pointer | 88 #define C_OPTIMIZE_SWITCH "-O99 -m486 -fomit-frame-pointer" |
89 #define C_DEBUG_SWITCH -g | 89 #define C_DEBUG_SWITCH "-g" |
90 #endif | 90 #endif |
91 | 91 |
92 /* configure can't get this right linking fails unless -lsocket is used. */ | 92 /* configure can't get this right linking fails unless -lsocket is used. */ |
93 #undef HAVE_XSCREENNUMBEROFSCREEN | 93 #undef HAVE_XSCREENNUMBEROFSCREEN |
94 #define HAVE_XSCREENNUMBEROFSCREEN | 94 #define HAVE_XSCREENNUMBEROFSCREEN |
99 /* SCO does have TIOCGWINSZ. */ | 99 /* SCO does have TIOCGWINSZ. */ |
100 #undef BROKEN_TIOCGWINSZ | 100 #undef BROKEN_TIOCGWINSZ |
101 #define NEED_PTEM_H | 101 #define NEED_PTEM_H |
102 | 102 |
103 #ifndef __GNUC__ | 103 #ifndef __GNUC__ |
104 #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xc.o | 104 #define START_FILES "pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xc.o" |
105 #else | 105 #else |
106 #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o | 106 #define START_FILES "pre-crt0.o /usr/ccs/lib/crt1.o" |
107 #endif | 107 #endif |
108 #define LIB_STANDARD -lc | 108 #define LIB_STANDARD "-lc" |
109 | 109 |
110 /* Send signals to subprocesses by "typing" signal chars at them. */ | 110 /* Send signals to subprocesses by "typing" signal chars at them. */ |
111 #define SIGNALS_VIA_CHARACTERS | 111 #define SIGNALS_VIA_CHARACTERS |
112 | 112 |
113 /* Specify program for etc/fakemail to run. Define SMAIL if you are | 113 /* Specify program for etc/fakemail to run. Define SMAIL if you are |
130 #ifndef HAVE_VFORK | 130 #ifndef HAVE_VFORK |
131 #define HAVE_VFORK | 131 #define HAVE_VFORK |
132 #endif | 132 #endif |
133 | 133 |
134 #ifdef _SCO_ELF | 134 #ifdef _SCO_ELF |
135 # undef COFF /* coz we're NOT */ | 135 #undef COFF /* coz we're NOT */ |
136 # define UNEXEC unexelf.o | 136 #define UNEXEC "unexelf.o" |
137 # define LIB_GCC -lgcc-elf | 137 #define LIB_GCC "-lgcc-elf" |
138 #endif | 138 #endif |
139 | 139 |