Commit | Line | Data |
---|---|---|
1eb52acd RS |
1 | #include "isc3-0.h" |
2 | ||
35a474bb RS |
3 | #undef LIBS_SYSTEM |
4 | #ifdef HAVE_X_WINDOWS | |
5 | #define LIBS_SYSTEM -linet -lcposix | |
6 | #else | |
7 | #define LIBS_SYSTEM -lcposix | |
8 | #endif | |
5de573c4 RS |
9 | |
10 | #define ISC4_0 | |
ed80e1ca RS |
11 | |
12 | /* fmcphers@csugrad.cs.vt.edu reported this was necessary. | |
13 | He used GCC. I don't know what is needed with other compilers. */ | |
14 | #ifdef __GNUC__ | |
15 | #undef LIBX11_SYSTEM | |
16 | #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc | |
17 | #endif | |
35a474bb RS |
18 | |
19 | /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> | |
20 | says this is needed. */ | |
21 | ||
3be64b69 | 22 | #ifndef POSIX_SIGNALS |
35a474bb RS |
23 | #ifndef sigblock |
24 | #ifndef SIG_BLOCK | |
25 | #define SIG_BLOCK 0 | |
26 | #endif | |
27 | #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) | |
28 | #endif | |
3be64b69 | 29 | #endif /* not POSIX_SIGNALS */ |