0
|
1 /* Synched up with: FSF 19.31. */
|
|
2
|
|
3 /* Handle Solaris 2.5. */
|
|
4
|
|
5 #include "sol2-4.h"
|
|
6
|
|
7 #if 0 /* A recent patch in unexelf.c should eliminate the need for this. */
|
|
8 /* Don't use the shared libraries for -lXt and -lXaw,
|
|
9 to work around a linker bug in Solaris 2.5.
|
|
10 (This also affects the other libraries used specifically for
|
|
11 the X toolkit, which may not be necessary.) */
|
|
12 #define LIBXT_STATIC
|
|
13
|
|
14 #ifdef __GNUC__
|
|
15 #define STATIC_OPTION -Xlinker -Bstatic
|
|
16 #define DYNAMIC_OPTION -Xlinker -Bdynamic
|
|
17 #else
|
|
18 #define STATIC_OPTION -Bstatic
|
|
19 #define DYNAMIC_OPTION -Bdynamic
|
|
20 #endif
|
|
21
|
|
22 #endif /* 0 */
|
|
23
|
|
24 #ifndef NOT_C_CODE
|
|
25 /* Solaris 2.5 is the first Solaris that has getpagesize(), srandom()
|
|
26 and random(), but they forgot to add prototypes to the header
|
|
27 files. */
|
|
28 int getpagesize (void);
|
|
29 long random (void);
|
2
|
30 void srandom (unsigned int seed);
|
0
|
31 #endif /* NOT_C_CODE */
|
|
32
|
|
33 /* 2.5 now has random back in libc but we don't want to use it. */
|
|
34 #undef HAVE_RANDOM
|
|
35
|
|
36 /* Apparently this is not necessary here, and it causes 10% CPU
|
|
37 chewage. */
|
|
38 #undef BROKEN_SIGCHLD
|