Mercurial > hg > xemacs-beta
comparison src/m/delta.h @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | ac2d302a0011 |
children | 2d532a89d707 |
comparison
equal
deleted
inserted
replaced
162:4de2936b4e77 | 163:0132846995bd |
---|---|
114 | 114 |
115 /* The standard C library is -lc881, not -lc. | 115 /* The standard C library is -lc881, not -lc. |
116 DO NOT USE -lPW. That version of alloca is broken in versions R3V5, | 116 DO NOT USE -lPW. That version of alloca is broken in versions R3V5, |
117 R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */ | 117 R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */ |
118 | 118 |
119 #define LIB_STANDARD -lc881 | 119 #define LIB_STANDARD "-lc881" |
120 #define LIB_MATH -lm881 | 120 #define LIB_MATH "-lm881" |
121 #define LIBS_TERMCAP -lcurses | 121 #define LIBS_TERMCAP "-lcurses" |
122 #define LIBS_SYSTEM -lbsd | 122 #define LIBS_SYSTEM "-lbsd" |
123 | 123 |
124 #ifdef HAVE_X_WINDOWS | 124 #ifdef HAVE_X_WINDOWS |
125 # define HAVE_RANDOM | 125 # define HAVE_RANDOM |
126 # define HAVE_XSCREENNUMBEROFSCREEN | 126 # define HAVE_XSCREENNUMBEROFSCREEN |
127 # undef LIB_X11_LIB /* no shared libraries */ | 127 # undef LIB_X11_LIB /* no shared libraries */ |
128 # define LIB_X11_LIB -lX11 | 128 # define LIB_X11_LIB "-lX11" |
129 # undef USG_SHARED_LIBRARIES /* once again, no shared libs */ | 129 # undef USG_SHARED_LIBRARIES /* once again, no shared libs */ |
130 # undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */ | 130 # undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */ |
131 # define LIBX11_SYSTEM -lnls -lnsl_s | 131 # define LIBX11_SYSTEM "-lnls -lnsl_s" |
132 #endif /* HAVE_X_WINDOWS */ | 132 #endif /* HAVE_X_WINDOWS */ |
133 | 133 |
134 #ifdef __GNUC__ | 134 #ifdef __GNUC__ |
135 /* Use builtin alloca. Also be sure that no other ones are tried out. */ | 135 /* Use builtin alloca. Also be sure that no other ones are tried out. */ |
136 # define alloca __builtin_alloca | 136 # define alloca __builtin_alloca |
144 option, that is, we are inside configure. If THIS_IS_CONFIGURE is | 144 option, that is, we are inside configure. If THIS_IS_CONFIGURE is |
145 not defined, then configure is trying to figure out what the right | 145 not defined, then configure is trying to figure out what the right |
146 option for real compilation are. | 146 option for real compilation are. |
147 Let us set -traditional, because gmalloc.c includes <stddef.h>, and | 147 Let us set -traditional, because gmalloc.c includes <stddef.h>, and |
148 we don't have that (as of SYSV68 R3V7). */ | 148 we don't have that (as of SYSV68 R3V7). */ |
149 # define C_SWITCH_MACHINE -mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves | 149 # define C_SWITCH_MACHINE "-mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves" |
150 # define LIB_GCC /lib/gnulib881 | 150 # define LIB_GCC "/lib/gnulib881" |
151 | 151 |
152 #else | 152 #else |
153 /* Not __GNUC__, use the alloca in alloca.s. */ | 153 /* Not __GNUC__, use the alloca in alloca.s. */ |
154 | 154 |
155 /* Try to guess if we are using the Green Hills Compiler */ | 155 /* Try to guess if we are using the Green Hills Compiler */ |
156 # if defined mc68000 && defined MC68000 | 156 # if defined mc68000 && defined MC68000 |
157 /* Required only for use with Green Hills compiler: | 157 /* Required only for use with Green Hills compiler: |
158 -ga Because alloca relies on stack frames. This option forces | 158 -ga Because alloca relies on stack frames. This option forces |
159 the Green Hills compiler to create stack frames even for | 159 the Green Hills compiler to create stack frames even for |
160 functions with few local variables. */ | 160 functions with few local variables. */ |
161 # define C_SWITCH_MACHINE -ga -O | 161 # define C_SWITCH_MACHINE "-ga -O" |
162 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */ | 162 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */ |
163 # define BCOPY_UPWARD_SAFE 0 | 163 # define BCOPY_UPWARD_SAFE 0 |
164 # define BCOPY_DOWNWARD_SAFE 1 /* bcopy does: mov.b (%a1)+,(%a0)+ */ | 164 # define BCOPY_DOWNWARD_SAFE 1 /* bcopy does: mov.b (%a1)+,(%a0)+ */ |
165 # else | 165 # else |
166 /* We are using the standard AT&T Portable C Compiler */ | 166 /* We are using the standard AT&T Portable C Compiler */ |