diff options
| author | Francesco Potortì | 1995-05-08 14:48:26 +0000 |
|---|---|---|
| committer | Francesco Potortì | 1995-05-08 14:48:26 +0000 |
| commit | c150694b7ee60925b752163b33c45ad6fb37bb8e (patch) | |
| tree | 79a57d5d8dfc9d3bf9be006010ed0896d8b3992f /src | |
| parent | f21c6f675fb89210bc196253370eff5415c3daf3 (diff) | |
| download | emacs-c150694b7ee60925b752163b33c45ad6fb37bb8e.tar.gz emacs-c150694b7ee60925b752163b33c45ad6fb37bb8e.zip | |
* delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
68040 or 68030. Don't condition on __STDC__.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/delta.h | 35 |
1 files changed, 12 insertions, 23 deletions
diff --git a/src/m/delta.h b/src/m/delta.h index 166775bbdcb..994409f8b0a 100644 --- a/src/m/delta.h +++ b/src/m/delta.h | |||
| @@ -163,17 +163,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 163 | #undef sigsetmask | 163 | #undef sigsetmask |
| 164 | 164 | ||
| 165 | #ifdef HAVE_X_WINDOWS | 165 | #ifdef HAVE_X_WINDOWS |
| 166 | /* I have not tested X, but I think these are obsolete, so let's | ||
| 167 | commment them -pot@cnuce.cnr.it */ | ||
| 168 | /* debug switches enabled because of some difficulties w/X11 | ||
| 169 | # define C_DEBUG_SWITCH -g | ||
| 170 | # define OBJECTS_MACHINE -lg | ||
| 171 | # define C_OPTIMIZE_SWITCH | ||
| 172 | # define CANNOT_DUMP | ||
| 173 | # define XDEBUG */ | ||
| 174 | /* X library is in 'nonstandard' location. */ | ||
| 175 | /* This should be taken care of by configure -pot@cnuce.cnr.it | ||
| 176 | # define LD_SWITCH_MACHINE -L/usr/lib/X11/ */ | ||
| 177 | # define HAVE_RANDOM | 166 | # define HAVE_RANDOM |
| 178 | # define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */ | 167 | # define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */ |
| 179 | # define HAVE_XSCREENNUMBEROFSCREEN | 168 | # define HAVE_XSCREENNUMBEROFSCREEN |
| @@ -191,25 +180,25 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 191 | /* Union lisp objects do not yet work as of 19.15. */ | 180 | /* Union lisp objects do not yet work as of 19.15. */ |
| 192 | /* # undef NO_UNION_TYPE */ | 181 | /* # undef NO_UNION_TYPE */ |
| 193 | 182 | ||
| 194 | /* There are three ways to use the gnucc provided with R3V7. Either | 183 | /* We are assuming here that the `true' GNU gcc has not been |
| 195 | link /bin/ccd/cc to /bin/cc and then configure (supposing that CC | 184 | installed, and we are using the gnucc provided by Motorola. No |
| 196 | is unset or set to cc). Or configure like this: `CC=/bin/ccd/cc | 185 | support exists for compiling with GNU gcc, as I do not have it on |
| 197 | configure', or else configure like this: `CC=gnucc configure'. */ | 186 | my machine to try it out. -pot@cnuce.cnr.it |
| 198 | 187 | If __STDC__ is defined gnucc has been called without the -traditional | |
| 199 | # ifdef __STDC__ | 188 | option, that is, we are inside configure. If THIS_IS_CONFIGURE is |
| 200 | /* Compiling with gnucc (not through ccd). This means -traditional is | 189 | not defined, then configure is trying to figure out what the right |
| 201 | not set. Let us set it, because gmalloc.c includes <stddef.h>, | 190 | option for real compilation are. |
| 202 | and we don't have that (as of SYSV68 R3V7). */ | 191 | Let us set -traditional, because gmalloc.c includes <stddef.h>, and |
| 203 | # define C_SWITCH_MACHINE -mfp0ret -m68881 -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves | 192 | we don't have that (as of SYSV68 R3V7). */ |
| 193 | # define C_SWITCH_MACHINE -mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves | ||
| 204 | # define LIB_GCC /lib/gnulib881 | 194 | # define LIB_GCC /lib/gnulib881 |
| 205 | # endif /* __STDC__ */ | ||
| 206 | 195 | ||
| 207 | #else | 196 | #else |
| 208 | /* Not __GNUC__, use the alloca in alloca.s. */ | 197 | /* Not __GNUC__, use the alloca in alloca.s. */ |
| 209 | 198 | ||
| 210 | /* Try to guess if we are using the Green Hills Compiler */ | 199 | /* Try to guess if we are using the Green Hills Compiler */ |
| 211 | # if defined mc68000 && defined MC68000 | 200 | # if defined mc68000 && defined MC68000 |
| 212 | /* Required only for use with Green Hills compiler: | 201 | /* Required only for use with Green Hills compiler: |
| 213 | -ga Because alloca relies on stack frames. This option forces | 202 | -ga Because alloca relies on stack frames. This option forces |
| 214 | the Green Hills compiler to create stack frames even for | 203 | the Green Hills compiler to create stack frames even for |
| 215 | functions with few local variables. */ | 204 | functions with few local variables. */ |