changeset 96643:79121a8f01e3

* config.nt (HAVE_FACES): Remove, unused. * s/vms.h: Use __GNUC__ instead of _GNUC_. * m/macppc.h: * m/alpha.h: Use GNU_LINUX instead of LINUX. Reorganize conditionals. * m/ibms390x.h (XINT, XUINT): Don't define, same as the default (SPECIAL_EMACS_INT): * m/ia64.h (SPECIAL_EMACS_INT): * m/amdx86-64.h (SPECIAL_EMACS_INT): * s/gnu.h (NLIST_STRUCT): * aix4-2.h (X11R5_INHIBIT_I18N): * s/gnu-linux.h (LINUX): * s/msdos.h (HAVE_FACES): * s/ms-w32.h (HAVE_FACES): Don't define, unused. * systty.h: * sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used anymore.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 13 Jul 2008 07:35:26 +0000
parents aee1275a4e6e
children 5d614d0d26de
files admin/CPP-DEFINES nt/ChangeLog nt/config.nt src/ChangeLog src/eval.c src/m/alpha.h src/m/amdx86-64.h src/m/ia64.h src/m/ibms390x.h src/m/macppc.h src/s/aix4-2.h src/s/gnu-linux.h src/s/gnu.h src/s/ms-w32.h src/s/msdos.h src/s/usg5-4.h src/s/vms.h src/sysdep.c src/systty.h
diffstat 19 files changed, 40 insertions(+), 53 deletions(-) [+]
line wrap: on
line diff
--- a/admin/CPP-DEFINES	Sun Jul 13 07:35:15 2008 +0000
+++ b/admin/CPP-DEFINES	Sun Jul 13 07:35:26 2008 +0000
@@ -130,7 +130,6 @@
 HAVE_CRTIN
 HAVE_DUP2
 HAVE_EUIDACCESS
-HAVE_FACES
 HAVE_FMOD
 HAVE_FPATHCONF
 HAVE_FREXP
@@ -241,7 +240,6 @@
 LIB_STANDARD_LIBSRC
 LINKER
 LINK_CRTL_SHARE
-LINUX
 LINUX_SBRK_BUG
 LISP_FLOAT_TYPE
 LNOFLSH
@@ -263,7 +261,6 @@
 NEED_ERRNO
 NEED_LIBW
 NEED_PTEM_H
-NEED_SIOCTL
 NEED_UNISTD_H
 NLIST_STRUCT
 NOMULTIPLEJOBS
@@ -285,7 +282,6 @@
 NULL
 NULL_DEVICE
 N_BADMAG
-N_PAGSIZ
 N_SYMOFF
 N_TRELOFF
 N_TXTOFF
@@ -331,7 +327,6 @@
 SIGTRAP
 SIGTYPE
 SOLARIS2
-SPECIAL_EMACS_INT
 START_FILES
 START_FILES_1
 STDC_HEADERS
@@ -369,7 +364,6 @@
 VMS
 WORDS_BIG_ENDIAN
 WRETCODE
-X11R5_INHIBIT_I18N
 XINT
 XOS_NEEDS_TIME_H
 XPNTR
@@ -379,7 +373,6 @@
 _ARCH_PPC64
 _CALLBACK_
 _FILE_OFFSET_BITS
-_GNUC_
 _LP64
 _MALLOC_INTERNAL
 _NAIVE_DOS_REGS
--- a/nt/ChangeLog	Sun Jul 13 07:35:15 2008 +0000
+++ b/nt/ChangeLog	Sun Jul 13 07:35:26 2008 +0000
@@ -1,3 +1,7 @@
+2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* config.nt (HAVE_FACES): Remove, unused.
+
 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
 	    Eli Zaretskii  <eliz@gnu.org>
 
--- a/nt/config.nt	Sun Jul 13 07:35:15 2008 +0000
+++ b/nt/config.nt	Sun Jul 13 07:35:26 2008 +0000
@@ -82,7 +82,6 @@
 #ifdef HAVE_X_WINDOWS
 #define HAVE_WINDOW_SYSTEM
 #define MULTI_KBOARD
-#define HAVE_FACES
 #define HAVE_MOUSE
 #endif
 
--- a/src/ChangeLog	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/ChangeLog	Sun Jul 13 07:35:26 2008 +0000
@@ -1,3 +1,24 @@
+2008-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* s/vms.h: Use __GNUC__ instead of _GNUC_.
+
+	* m/macppc.h:
+	* m/alpha.h: Use GNU_LINUX instead of LINUX.  Reorganize conditionals.
+
+	* m/ibms390x.h (XINT, XUINT): Don't define, same as the default
+	(SPECIAL_EMACS_INT): 
+	* m/ia64.h (SPECIAL_EMACS_INT): 
+	* m/amdx86-64.h (SPECIAL_EMACS_INT):
+	* s/gnu.h (NLIST_STRUCT):
+	* aix4-2.h (X11R5_INHIBIT_I18N):
+	* s/gnu-linux.h (LINUX):
+	* s/msdos.h (HAVE_FACES):
+	* s/ms-w32.h (HAVE_FACES): Don't define, unused.
+
+	* systty.h: 
+	* sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used
+	anymore.
+
 2008-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* syswait.h: Remove old if 0 code.  Do not define WAITTYPE, it was
--- a/src/eval.c	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/eval.c	Sun Jul 13 07:35:26 2008 +0000
@@ -455,7 +455,7 @@
 }
 
 DEFUN ("prog1", Fprog1, Sprog1, 1, UNEVALLED, 0,
-       doc: /* Eval FIRST and BODY sequentially; value from FIRST.
+       doc: /* Eval FIRST and BODY sequentially; return value from FIRST.
 The value of FIRST is saved during the evaluation of the remaining args,
 whose values are discarded.
 usage: (prog1 FIRST BODY...)  */)
@@ -489,7 +489,7 @@
 }
 
 DEFUN ("prog2", Fprog2, Sprog2, 2, UNEVALLED, 0,
-       doc: /* Eval FORM1, FORM2 and BODY sequentially; value from FORM2.
+       doc: /* Eval FORM1, FORM2 and BODY sequentially; return value from FORM2.
 The value of FORM2 is saved during the evaluation of the
 remaining args, whose values are discarded.
 usage: (prog2 FORM1 FORM2 BODY...)  */)
--- a/src/m/alpha.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/m/alpha.h	Sun Jul 13 07:35:26 2008 +0000
@@ -96,12 +96,15 @@
 #ifdef __ELF__
 #undef UNEXEC
 #define UNEXEC unexelf.o
-#ifndef LINUX
+#ifndef GNU_LINUX
 #define DATA_START    0x140000000
 #endif
+
+#if (defined (__NetBSD__) || defined (__OpenBSD__))
+#define HAVE_TEXT_START
 #endif
 
-#ifndef __ELF__
+#else  /* not __ELF__ */
 
 /* Describe layout of the address space in an executing process.  */
 
@@ -112,9 +115,9 @@
 
 #define UNEXEC unexalpha.o
 
-#endif /* notdef __ELF__ */
+#endif /* __ELF__ */
 
-#if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6
+#if defined (GNU_LINUX) && __GNU_LIBRARY__ - 0 < 6
 /* This controls a conditional in main.  */
 #define LINUX_SBRK_BUG
 #endif
@@ -123,7 +126,7 @@
    termio and struct termios are mutually incompatible.  */
 #define NO_TERMIO
 
-#if defined (LINUX) || defined (__NetBSD__) || defined (__OpenBSD__)
+#if defined (GNU_LINUX) || defined (__NetBSD__) || defined (__OpenBSD__)
 # define TEXT_END ({ extern int _etext; &_etext; })
 # ifndef __ELF__
 #  define COFF
@@ -131,10 +134,6 @@
 # endif /* notdef __ELF__ */
 #endif
 
-#if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__)
-#define HAVE_TEXT_START
-#endif
-
 /* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN:
    they generate code that uses a signaling NaN instead of DBL_MIN.
    Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN:
--- a/src/m/amdx86-64.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/m/amdx86-64.h	Sun Jul 13 07:35:26 2008 +0000
@@ -52,7 +52,6 @@
 /* Define the type to use.  */
 #define EMACS_INT               long
 #define EMACS_UINT              unsigned long
-#define SPECIAL_EMACS_INT
 
 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
    the 24-bit bit field into an int.  In other words, if bit fields
--- a/src/m/ia64.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/m/ia64.h	Sun Jul 13 07:35:26 2008 +0000
@@ -42,7 +42,6 @@
 /* Define the type to use.  */
 #define EMACS_INT		long
 #define EMACS_UINT		unsigned long
-#define SPECIAL_EMACS_INT
 
 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
    the 24-bit bit field into an int.  In other words, if bit fields
--- a/src/m/ibms390x.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/m/ibms390x.h	Sun Jul 13 07:35:26 2008 +0000
@@ -48,7 +48,6 @@
 /* Define the type to use.  */
 #define EMACS_INT long
 #define EMACS_UINT unsigned long
-#define SPECIAL_EMACS_INT
 
 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
    the 24-bit bit field into an int.  In other words, if bit fields
@@ -126,10 +125,6 @@
 
 #define LINKER $(CC) -nostdlib
 
-/* Define XINT and XUINT so that they can take arguments of type int */
-#define XINT(a)  (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS))
-#define XUINT(a) ((long) (a) & VALMASK)
-
 /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */
 
 #define XPNTR(a) XUINT (a)
--- a/src/m/macppc.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/m/macppc.h	Sun Jul 13 07:35:26 2008 +0000
@@ -54,7 +54,7 @@
 
 /* #define NO_SOCK_SIGIO */
 
-#if defined (LINUX) || defined (__NetBSD__) || defined (__OpenBSD__)
+#if defined (GNU_LINUX) || defined (__NetBSD__) || defined (__OpenBSD__)
 # define TEXT_END ({ extern int _etext; &_etext; })
 #endif
 
@@ -65,7 +65,7 @@
 /* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed
    For MkLinux/LinuxPPC.  */
 
-#ifdef LINUX
+#ifdef GNU_LINUX
 #define LINKER $(CC) -nostdlib
 /* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here
    because prefix-args is not used.  */
--- a/src/s/aix4-2.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/s/aix4-2.h	Sun Jul 13 07:35:26 2008 +0000
@@ -141,13 +141,6 @@
 #define C_SWITCH_SYSTEM -ma -qmaxmem=4000
 #endif
 
-/* The character-composition stuff is broken in X11R5.
-   Even with XIMStatusNothing aliased to XIMStatusNone,
-   tranle@intellicorp.com (Minh Tran-Le) reports that enabling
-   the internationalization code causes the modifier keys C, M and Shift
-   to beep after a mouse click.  */
-#define X11R5_INHIBIT_I18N
-
 /* string.h defines rindex as a macro, at least with native cc, so we
    lose declaring char * rindex without this.
    It is just a guess which versions of AIX need this definition.  */
--- a/src/s/gnu-linux.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/s/gnu-linux.h	Sun Jul 13 07:35:26 2008 +0000
@@ -25,11 +25,9 @@
  *	Define all the symbols that apply correctly.
  */
 
-/* #define UNIPLUS */
 /* #define USG5 */
 #define USG
 /* #define BSD_SYSTEM */
-#define LINUX
 #define GNU_LINUX
 
 /* SYSTEM_TYPE should indicate the kind of system you are using.
--- a/src/s/gnu.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/s/gnu.h	Sun Jul 13 07:35:26 2008 +0000
@@ -27,8 +27,6 @@
 #undef SYSTEM_TYPE
 #define SYSTEM_TYPE "gnu"
 
-#undef NLIST_STRUCT
-
 /* XXX should getloadavg be in libc?  Should we have a libutil?
 #define HAVE_GETLOADAVG */
 #undef NLIST_STRUCT
--- a/src/s/ms-w32.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/s/ms-w32.h	Sun Jul 13 07:35:26 2008 +0000
@@ -296,7 +296,6 @@
 
 #ifdef HAVE_NTGUI
 #define HAVE_WINDOW_SYSTEM 1
-#define HAVE_FACES 1
 #define HAVE_MENUS 1
 #endif
 
--- a/src/s/msdos.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/s/msdos.h	Sun Jul 13 07:35:26 2008 +0000
@@ -241,9 +241,6 @@
 /* We canuse mouse menus.  */
 #define HAVE_MENUS
 
-/* We have support for faces.  */
-#define HAVE_FACES
-
 /* Define one of these for easier conditionals.  */
 #ifdef HAVE_X_WINDOWS
 /* We need a little extra space, see ../../lisp/loadup.el */
--- a/src/s/usg5-4.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/s/usg5-4.h	Sun Jul 13 07:35:26 2008 +0000
@@ -50,8 +50,7 @@
  */
 
 /* Some versions of V.3 have this, but not all.
-   #define HAVE_PTYS
-   #define SYSV_PTYS  */
+   #define HAVE_PTYS  */
 
 /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets.  */
 
--- a/src/s/vms.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/s/vms.h	Sun Jul 13 07:35:26 2008 +0000
@@ -149,7 +149,7 @@
 #define rindex strrchr
 #define unlink delete
 
-#ifndef _GNUC_
+#ifndef __GNUC__
 extern double mth$dmod(double, double);
 #endif
 
--- a/src/sysdep.c	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/sysdep.c	Sun Jul 13 07:35:26 2008 +0000
@@ -1866,7 +1866,7 @@
      Since the latter lossage is more benign, we may as well
      lose that way.  -- cph */
 #ifdef FIONBIO
-#if defined(SYSV_PTYS) || defined(UNIX98_PTYS)
+#if defined(UNIX98_PTYS)
   {
     int on = 1;
     ioctl (fd, FIONBIO, &on);
--- a/src/systty.h	Sun Jul 13 07:35:15 2008 +0000
+++ b/src/systty.h	Sun Jul 13 07:35:26 2008 +0000
@@ -109,12 +109,6 @@
 #include <unistd.h>
 #endif
 
-#ifdef SYSV_PTYS
-#include <sys/types.h>
-#include <sys/tty.h>
-#include <sys/pty.h>
-#endif
-
 
 /* Special cases - inhibiting the use of certain features.  */