comparison src/s/gnu-linux.h @ 88155:d7ddb3e565de

sync with trunk
author Henrik Enberg <henrik.enberg@telia.com>
date Mon, 16 Jan 2006 00:03:54 +0000
parents 8aaa2f3ae722
children
comparison
equal deleted inserted replaced
88154:8ce476d3ba36 88155:d7ddb3e565de
1 /* This file is the configuration file for Linux-based GNU systems 1 /* This file is the configuration file for Linux-based GNU systems
2 Copyright (C) 1985, 86, 92, 94, 96, 1999, 2002 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1992, 1994, 1996, 1999, 2002, 2003, 2004,
3 2005 Free Software Foundation, Inc.
3 4
4 This file is part of GNU Emacs. 5 This file is part of GNU Emacs.
5 6
6 GNU Emacs is free software; you can redistribute it and/or modify 7 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details. 15 GNU General Public License for more details.
15 16
16 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to 18 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02111-1307, USA. */ 20 Boston, MA 02110-1301, USA. */
20 21
21 /* This file was put together by Michael K. Johnson and Rik Faith. */ 22 /* This file was put together by Michael K. Johnson and Rik Faith. */
22 23
23 24
24 /* 25 /*
128 /usr/spool/mail/$USER.lock. */ 129 /usr/spool/mail/$USER.lock. */
129 130
130 /* On GNU/Linux systems, both methods are used by various mail 131 /* On GNU/Linux systems, both methods are used by various mail
131 programs. I assume that most people are using newer mailers that 132 programs. I assume that most people are using newer mailers that
132 have heard of flock. Change this if you need to. */ 133 have heard of flock. Change this if you need to. */
133 134 /* Debian contains a patch which says: ``On Debian/GNU/Linux systems,
135 configure gets the right answers, and that means *NOT* using flock.
136 Using flock is guaranteed to be the wrong thing. See Debian Policy
137 for details.'' and then uses `#ifdef DEBIAN'. Unfortunately the
138 Debian maintainer hasn't provided a clean fix for Emacs.
139 movemail.c will use `maillock' when MAILDIR, HAVE_LIBMAIL and
140 HAVE_MAILLOCK_H are defined, so the following appears to be the
141 correct logic. -- fx */
142
143 #if !(defined (HAVE_LIBMAIL) && defined (HAVE_MAILLOCK_H))
134 #define MAIL_USE_FLOCK 144 #define MAIL_USE_FLOCK
145 #endif
135 146
136 /* Define CLASH_DETECTION if you want lock files to be written 147 /* Define CLASH_DETECTION if you want lock files to be written
137 so that Emacs can tell instantly when you try to modify 148 so that Emacs can tell instantly when you try to modify
138 a file that someone else has modified in his Emacs. */ 149 a file that someone else has modified in his Emacs. */
139 150
343 /* Don't use #cpu here since in newest development versions of GCC, 354 /* Don't use #cpu here since in newest development versions of GCC,
344 we must call cpp with -traditional, and that disables #cpu. */ 355 we must call cpp with -traditional, and that disables #cpu. */
345 356
346 #if defined __i386__ || defined __sparc__ || defined __mc68000__ \ 357 #if defined __i386__ || defined __sparc__ || defined __mc68000__ \
347 || defined __alpha__ || defined __mips__ || defined __s390__ \ 358 || defined __alpha__ || defined __mips__ || defined __s390__ \
348 || defined __arm__ || defined __powerpc__ 359 || defined __arm__ || defined __powerpc__ || defined __amd64__ \
360 || defined __ia64__
349 #define GC_SETJMP_WORKS 1 361 #define GC_SETJMP_WORKS 1
350 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS 362 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
351 #ifdef __mc68000__ 363 #ifdef __mc68000__
352 #define GC_LISP_OBJECT_ALIGNMENT 2 364 #define GC_LISP_OBJECT_ALIGNMENT 2
353 #endif 365 #endif
354 #endif 366 #ifdef __ia64__
367 #define GC_MARK_SECONDARY_STACK() \
368 do { \
369 extern void *__libc_ia64_register_backing_store_base; \
370 __builtin_ia64_flushrs (); \
371 mark_memory (__libc_ia64_register_backing_store_base, \
372 __builtin_ia64_bsp ()); \
373 } while (0)
374 #endif
375 #endif
376
377 /* arch-tag: 6244ea2a-abd0-44ec-abec-ff3dcc9afea9
378 (do not change this comment) */