Mercurial > emacs
annotate src/s/netbsd.h @ 108507:ea7b1bab920f
Move LIB_GCC from cpp to configure.
* configure.in (LIB_GCC): New output variable.
* src/Makefile.in (LIB_GCC): Set using configure, not cpp.
(GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC.
* src/m/arm.h (LIB_GCC) [GNU_LINUX]:
* src/s/cygwin.h (LIB_GCC):
* src/s/freebsd.h (LIB_GCC):
* src/s/gnu-linux.h (LIB_GCC):
* src/s/msdos.h (LIB_GCC):
* src/s/netbsd.h (LIB_GCC):
Move to configure.
* msdos/sed1v2.inp (LIB_GCC): Edit to -Lgcc.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 11 May 2010 20:01:16 -0700 |
parents | 17d73312ed65 |
children | f8e62c2bf3e9 |
rev | line source |
---|---|
75942
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
1 /* s/ file for netbsd system. |
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
2 |
108278
9c003610b6fc
Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108274
diff
changeset
|
3 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
9c003610b6fc
Move LD_SWITCH_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents:
108274
diff
changeset
|
4 2010 Free Software Foundation, Inc. |
75942
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
5 |
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
6 This file is part of GNU Emacs. |
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
7 |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
8 GNU Emacs is free software: you can redistribute it and/or modify |
75942
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
9 it under the terms of the GNU General Public License as published by |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
10 the Free Software Foundation, either version 3 of the License, or |
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
11 (at your option) any later version. |
75942
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
12 |
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
13 GNU Emacs is distributed in the hope that it will be useful, |
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
16 GNU General Public License for more details. |
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
17 |
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
94715
1f134b61867c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79756
diff
changeset
|
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
75942
c365fcdf7c2a
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
73704
diff
changeset
|
20 |
4690 | 21 |
96303 | 22 /* Get most of the stuff from bsd-common */ |
23 #include "bsd-common.h" | |
4690 | 24 |
28640 | 25 #define HAVE_GETLOADAVG 1 |
4690 | 26 |
27 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | |
28 | |
12534
3f869873946a
(AMPERSAND_FULL_NAME): Defined.
Karl Heuer <kwzh@gnu.org>
parents:
11705
diff
changeset
|
29 #define AMPERSAND_FULL_NAME |
20032
8b3f96c4cad1
(LD_SWITCH_SYSTEM): Use -Wl,-rpath if __ELF__.
Richard M. Stallman <rms@gnu.org>
parents:
18121
diff
changeset
|
30 |
21475 | 31 /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears |
32 the library search parth, i.e. it won't search /usr/lib | |
33 for libc and friends. Using -nostartfiles instead avoids | |
34 this problem, and will also work on earlier NetBSD releases */ | |
35 | |
36 #define LINKER $(CC) -nostartfiles | |
25032 | 37 |
30079
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
29430
diff
changeset
|
38 #define DEFAULT_SOUND_DEVICE "/dev/audio" |
31332 | 39 |
40 /* Greg A. Woods <woods@weird.com> says we must include signal.h | |
41 before syssignal.h is included, to work around interface conflicts | |
42 that are handled with CPP __RENAME() macro in signal.h. */ | |
43 | |
31524
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31332
diff
changeset
|
44 #ifndef NOT_C_CODE |
31332 | 45 #include <signal.h> |
46 #endif | |
47 | |
48 /* Don't close pty in process.c to make it as controlling terminal. | |
49 It is already a controlling terminal of subprocess, because we did | |
50 ioctl TIOCSCTTY. */ | |
51 | |
52 #define DONT_REOPEN_PTY | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
45600
diff
changeset
|
53 |
31332 | 54 /* Tell that garbage collector that setjmp is known to save all |
55 registers relevant for conservative garbage collection in the | |
56 jmp_buf. */ | |
57 | |
58 #define GC_SETJMP_WORKS 1 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
45600
diff
changeset
|
59 |
31332 | 60 /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */ |
61 | |
34472
76076c5b2009
(GC_MARK_STACK): Use GC_MAKE_GCPROS_NOOPS instead of `1'.
Gerd Moellmann <gerd@gnu.org>
parents:
31524
diff
changeset
|
62 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
31332 | 63 |
52401 | 64 /* arch-tag: e80f364a-04e9-4faf-93cb-f36a0fe95c81 |
65 (do not change this comment) */ |