changeset 5222:20c59adcb164

* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible. (HAVE_UNISTD_H): deleted because configure takes care of it. (C_SWITCH_MACHINE): added optimisation options for gnu cc.
author Francesco Potortì <pot@gnu.org>
date Wed, 22 Dec 1993 17:18:49 +0000
parents 50e623c19fff
children db2e7e6a488e
files src/m/delta.h
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/delta.h	Wed Dec 22 12:06:54 1993 +0000
+++ b/src/m/delta.h	Wed Dec 22 17:18:49 1993 +0000
@@ -161,10 +161,10 @@
 #define SYSV_PTYS
 #define HAVE_SELECT
 #define HAVE_SOCKETS		/***** only if NSE has been installed *****/
-#define HAVE_UNISTD_H
 #define HAVE_TIMEVAL
 #define SIGNALS_VIA_CHARACTERS
-#define memmove safe_bcopy
+#define BROKEN_CLOSEDIR		/* builtin closedir is interruptible */
+#define memmove safe_bcopy	/* for overlapping copies */
 #undef KERNEL_FILE
 #define KERNEL_FILE "/sysv68"
 #undef LDAV_SYMBOL
@@ -213,9 +213,11 @@
 
 # ifdef __STDC__
  /* Compiling with gnucc (not through ccd).  This means -traditional is
-    not set.  Let us set it, because I didn't manage yet to make it
-    compile without -traditional. -pot@cnuce.cnr.it. */
-#  define C_SWITCH_MACHINE -traditional -mfp0ret -m68881 -Dconst=
+    not set.  Let us set it, because (as of emacs 19.21) gmalloc.c
+    includes <stddef.h>, and we don't have that (as of SYSV68 R3V7).
+    Removing the -finline-functions option to gnucc causes an
+    executable emacs smaller by about 10%. */
+#  define C_SWITCH_MACHINE -mfp0ret -m68881 -traditional -Dconst= -fdelayed-branch -fstrength-reduce -finline-functions -fcaller-saves
 #  define LIB_GCC /lib/gnulib881
 # endif /* __STDC__ */