annotate src/s/netbsd.h @ 112403:c81ff7082a9a

src/config.in: shrink slightly * configure.in: Invoke the new gnulib macro gl_ASSERT_NO_GNULIB_TESTS. This makes src/config.in a bit smaller, by removing identifiers like GNULIB_TEST_MKTIME that Emacs does not need. * m4/getopt.m4, m4/gnulib-common.m4, m4/include_next.m4: * m4/multiarch.m4, m4/stddef_h.m4, m4/time_h.m4, m4/unistd_h.m4: Sync from gnulib. This removes a few more unnecessary symbols from src/config.in, such as AA_APPLE_UNIVERSAL_BUILD and HAVE_STDDEF_H. * configure, src/config.in: Regenerate.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 21 Jan 2011 16:12:10 -0800
parents 61f7601898b1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
112284
61f7601898b1 Refill some copyright headers.
Glenn Morris <rgm@gnu.org>
parents: 112278
diff changeset
3 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
61f7601898b1 Refill some copyright headers.
Glenn Morris <rgm@gnu.org>
parents: 112278
diff changeset
4 2010, 2011 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
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
21
108511
f8e62c2bf3e9 Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
22 /* Get most of the stuff from bsd-common. */
96303
ddedcecb18ef * unexnext.c:
Dan Nicolaescu <dann@ics.uci.edu>
parents: 94715
diff changeset
23 #include "bsd-common.h"
4690
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
24
28640
7f198d98ac14 Revert HAVE_GETLOADAVG changes.
Dave Love <fx@gnu.org>
parents: 28593
diff changeset
25 #define HAVE_GETLOADAVG 1
4690
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
26
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
27 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
d14a87abdb46 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
28
30079
1572612184fc Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents: 29430
diff changeset
29 #define DEFAULT_SOUND_DEVICE "/dev/audio"
31332
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
30
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
31 /* Greg A. Woods <woods@weird.com> says we must include signal.h
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
32 before syssignal.h is included, to work around interface conflicts
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
33 that are handled with CPP __RENAME() macro in signal.h. */
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
34 #include <signal.h>
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
35
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
36 /* Don't close pty in process.c to make it as controlling terminal.
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
37 It is already a controlling terminal of subprocess, because we did
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
38 ioctl TIOCSCTTY. */
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
39 #define DONT_REOPEN_PTY
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 45600
diff changeset
40
31332
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
41 /* Tell that garbage collector that setjmp is known to save all
108511
f8e62c2bf3e9 Reformat some comments in src/s/*.h.
Glenn Morris <rgm@gnu.org>
parents: 108507
diff changeset
42 registers relevant for conservative garbage collection in the jmp_buf. */
31332
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
43 #define GC_SETJMP_WORKS 1
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 45600
diff changeset
44
31332
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
45 /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */
34472
76076c5b2009 (GC_MARK_STACK): Use GC_MAKE_GCPROS_NOOPS instead of `1'.
Gerd Moellmann <gerd@gnu.org>
parents: 31524
diff changeset
46 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
31332
9a247156dd7e Include <signal.h>.
Gerd Moellmann <gerd@gnu.org>
parents: 30079
diff changeset
47