Mercurial > emacs
annotate src/s/sol2-10.h @ 112255:f6386067f593
Distinguish between terminfo and termcap on NetBSD (Bug#7642).
* configure.in [netbsd systems]: Check for tputs definition.
* src/config.in (TERMINFO): New definition.
* src/s/netbsd.h: Use it to choose between terminfo and termcap.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 11 Jan 2011 21:29:23 -0500 |
parents | 387ca5b2d869 |
children | f8e62c2bf3e9 |
rev | line source |
---|---|
99087
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
1 /* Handle Solaris 2.10. */ |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
2 |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
3 #include "sol2-6.h" |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
4 |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
5 #define SYSTEM_MALLOC |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
6 |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
7 /* |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
8 * Use the Solaris dldump() function, called from unexsol.c, to dump |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
9 * emacs, instead of the generic ELF dump code found in unexelf.c. |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
10 * The resulting binary has a complete symbol table, and is better |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
11 * for debugging and other observabilty tools (debuggers, pstack, etc). |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
12 * |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
13 * If you encounter a problem using dldump(), please consider sending |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
14 * a message to the OpenSolaris tools-linking mailing list: |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
15 * http://mail.opensolaris.org/mailman/listinfo/tools-linking |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
16 * |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
17 * It is likely that dldump() works with older Solaris too, |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
18 * but this has not been tested, and so, this change is for |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
19 * Solaris 10 and newer only at this time. |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
20 */ |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
21 #undef UNEXEC |
9e243867e168
* configure (*-sunos5*, *-solaris* ): Use the new file sol2-10.h.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff
changeset
|
22 #define UNEXEC unexsol.o |
99150 | 23 |
100567
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
24 /* This is used in list_system_processes. */ |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
25 #define HAVE_PROCFS 1 |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
26 |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
27 /* This is needed for the system_process_attributes implementation. */ |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
28 #define _STRUCTURED_PROC 1 |
387ca5b2d869
* sysdep.c (system_process_attributes): Add implementation for Solaris.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
99150
diff
changeset
|
29 |
99150 | 30 /* arch-tag: 7c51a134-5469-4d16-aa00-d69224640eeb |
31 (do not change this comment) */ |