Mercurial > hg > xemacs-beta
comparison src/s/sol2.h @ 149:538048ae2ab8 r20-3b1
Import from CVS: tag r20-3b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:36:16 +0200 |
parents | 0d2f883870bc |
children | 59463afc5666 |
comparison
equal
deleted
inserted
replaced
148:f659db2a1f73 | 149:538048ae2ab8 |
---|---|
15 | 15 |
16 /* This triggers a conditional in xfaces.c. */ | 16 /* This triggers a conditional in xfaces.c. */ |
17 #define XOS_NEEDS_TIME_H | 17 #define XOS_NEEDS_TIME_H |
18 | 18 |
19 #define POSIX | 19 #define POSIX |
20 | |
21 /* FSF uses LD_SWITCH_X_SITE_AUX in the following definitions to deal with | |
22 the -R flags. While the intention is good, it doesn't seem to work that | |
23 well -- Solaris is just too damn screwy. So we go ahead and let | |
24 configure have special checks for Solaris. */ | |
25 | |
26 /* Here is how to find X Windows. The -R option says where | |
27 to find X windows at run time. */ | |
28 #define LD_SWITCH_SYSTEM_RPATH -R/usr/dt/lib:/opt/SUNWdt/lib:/usr/openwin/lib | |
29 #ifdef __GNUC__ | |
30 #define LD_SWITCH_SYSTEM -Xlinker LD_SWITCH_SYSTEM_RPATH | |
31 #else | |
32 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_RPATH | |
33 #endif | |
34 | |
35 /* XEmacs change -- Sun CC needs this to default to ANSI */ | |
36 #ifdef __SUNPRO_C | |
37 #define C_SWITCH_SYSTEM -Xa | |
38 #endif /* __SUNPRO_C */ | |
39 | 20 |
40 #ifndef NOT_C_CODE | 21 #ifndef NOT_C_CODE |
41 /* The standard Solaris library nsl has this function in it which is | 22 /* The standard Solaris library nsl has this function in it which is |
42 supposed to only be in the BSD compat stuff. Yuck. Of course, | 23 supposed to only be in the BSD compat stuff. Yuck. Of course, |
43 there isn't a prototype for it other than in /usr/ucbinclude. */ | 24 there isn't a prototype for it other than in /usr/ucbinclude. */ |
67 /* | 48 /* |
68 * XEmacs change -- some Motif packages need -lgen to get regex and regcmp | 49 * XEmacs change -- some Motif packages need -lgen to get regex and regcmp |
69 */ | 50 */ |
70 | 51 |
71 #undef LIBS_SYSTEM | 52 #undef LIBS_SYSTEM |
72 #define LIBS_SYSTEM -lsocket -lnsl -lkvm -lelf -lgen -ldl | 53 #define LIBS_SYSTEM -lsocket -lnsl -lelf -lgen -ldl |
73 | 54 |
74 /* XEmacs change -- Mark Borges says this is needed. */ | 55 /* XEmacs change -- Mark Borges says this is needed. */ |
75 #define LIBS_TERMCAP -ltermlib | 56 #define LIBS_TERMCAP -ltermlib |
76 | 57 |
77 /* #### XEmacs change: until we've gotten the Energize builds converted | 58 /* #### XEmacs change: until we've gotten the Energize builds converted |
78 over to use configure instead of ymakefile, we still need this. | 59 over to use configure instead of ymakefile, we still need this. |
79 */ | 60 */ |
80 #if defined (NOT_C_CODE) && defined (ENERGIZE) | 61 #if defined (NOT_C_CODE) && defined (ENERGIZE) |
81 | 62 |
82 # define LIB_INTL -L/usr/openwin/lib -lintl -lw | |
83 # define LIBS_DEBUG | 63 # define LIBS_DEBUG |
84 # undef LIBS_SYSTEM | 64 # undef LIBS_SYSTEM |
85 # define LIBS_SYSTEM -lsocket -lnsl -lintl -lelf -lkvm -lgen -ldl | 65 # define LIBS_SYSTEM -lsocket -lnsl -lelf -lgen -ldl |
86 # define START_FILES | 66 # define START_FILES |
87 # define LD_CMD $(CC) | 67 # define LD_CMD $(CC) |
88 | 68 |
89 #endif | 69 #endif |
90 | 70 |