annotate src/s/sol2-static.h @ 132:757f1c4d15f7 xemacs-20-1

Added tag xemacs-20-1p4 for changeset 869e1851236b
author cvs
date Mon, 13 Aug 2007 09:29:09 +0200
parents 376386a54a3c
children 538048ae2ab8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* Synched up with: Not in FSF. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 #ifndef DONT_INCLUDE_SOL2_H
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 #include "sol2.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 /* Force static linking */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 /* Here is how to find X Windows. The -R option says where
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 to find X windows at run time. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 #undef LD_SWITCH_SYSTEM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 #ifndef __GNUC__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 # ifdef USE_LCC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 # define LD_SWITCH_SYSTEM -R /usr/openwin/lib -Bstatic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 # else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 # define LD_SWITCH_SYSTEM -R/usr/openwin/lib -Bstatic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 #else /* GCC */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 /* jwz: note that we need "-Xlinker -Bstatic" and not just "-static" */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 #define LD_SWITCH_SYSTEM -Xlinker -R/usr/openwin/lib -Xlinker -Bstatic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 #endif /* GCC */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 /* static linking and Solaris don't mix real well */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 #undef LIB_STANDARD
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 #ifndef __GNUC__
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 # ifdef I18N4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 # define LIB_STANDARD -lw -Bdynamic -lc -ldl -Bstatic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 # else /* !I18N4 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 # define LIB_STANDARD -lw -lc -Bdynamic -ldl -Bstatic
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 # endif /* !I18N4 */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 # define LIB_STANDARD -lw -lc -Xlinker -Bdynamic -ldl
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 #undef LIBS_SYSTEM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 #ifdef NOT_C_CODE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 # undef LIBS_SYSTEM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 # define LIBS_SYSTEM -lsocket -lnsl -lintl -lkvm -lelf -lgen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 #else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 # define LIBS_SYSTEM -lsocket -lnsl -lkvm -lelf -lgen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 #endif