* 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.
HAVE_CRTIN
HAVE_DUP2
HAVE_EUIDACCESS
-HAVE_FACES
HAVE_FMOD
HAVE_FPATHCONF
HAVE_FREXP
LIB_STANDARD_LIBSRC
LINKER
LINK_CRTL_SHARE
-LINUX
LINUX_SBRK_BUG
LISP_FLOAT_TYPE
LNOFLSH
NEED_ERRNO
NEED_LIBW
NEED_PTEM_H
-NEED_SIOCTL
NEED_UNISTD_H
NLIST_STRUCT
NOMULTIPLEJOBS
NULL
NULL_DEVICE
N_BADMAG
-N_PAGSIZ
N_SYMOFF
N_TRELOFF
N_TXTOFF
SIGTRAP
SIGTYPE
SOLARIS2
-SPECIAL_EMACS_INT
START_FILES
START_FILES_1
STDC_HEADERS
VMS
WORDS_BIG_ENDIAN
WRETCODE
-X11R5_INHIBIT_I18N
XINT
XOS_NEEDS_TIME_H
XPNTR
_ARCH_PPC64
_CALLBACK_
_FILE_OFFSET_BITS
-_GNUC_
_LP64
_MALLOC_INTERNAL
_NAIVE_DOS_REGS
+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>
#ifdef HAVE_X_WINDOWS
#define HAVE_WINDOW_SYSTEM
#define MULTI_KBOARD
-#define HAVE_FACES
#define HAVE_MOUSE
#endif
+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
}
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...) */)
}
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...) */)
#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. */
#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
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
# 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:
/* 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
/* 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
/* 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
#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)
/* #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
/* 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. */
#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. */
* 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.
#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
#ifdef HAVE_NTGUI
#define HAVE_WINDOW_SYSTEM 1
-#define HAVE_FACES 1
#define HAVE_MENUS 1
#endif
/* 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 */
*/
/* 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. */
#define rindex strrchr
#define unlink delete
-#ifndef _GNUC_
+#ifndef __GNUC__
extern double mth$dmod(double, double);
#endif
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);
#include <unistd.h>
#endif
-#ifdef SYSV_PTYS
-#include <sys/types.h>
-#include <sys/tty.h>
-#include <sys/pty.h>
-#endif
-
\f
/* Special cases - inhibiting the use of certain features. */