diff options
| author | Glenn Morris | 2010-06-29 19:48:54 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-06-29 19:48:54 -0700 |
| commit | 6259c2ec7ae4b60f59d5101c8c544d15a90540a3 (patch) | |
| tree | e0680ee34ce375d77f41226081a616a3f1f762e1 /src/s | |
| parent | a2f043d3d72cbbc0ad64fb271a9f0545791100ec (diff) | |
| download | emacs-6259c2ec7ae4b60f59d5101c8c544d15a90540a3.tar.gz emacs-6259c2ec7ae4b60f59d5101c8c544d15a90540a3.zip | |
Remove some cpp that is internal to configure.in.
* configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC):
(USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH): Set with shell, not cpp.
(LIBX): Remove, just use -lX11 in the one place this was used.
(cannot_dump): Replace with CANNOT_DUMP.
* src/Makefile.in (CANNOT_DUMP): Update for configure name change.
* src/s/freebsd.h (USE_MMAP_FOR_BUFFERS):
* src/s/irix6-5.h (USE_MMAP_FOR_BUFFERS):
* src/s/darwin.h (SYSTEM_MALLOC):
* src/s/sol2-10.h (SYSTEM_MALLOC): Move to configure.
* src/m/alpha.h: Remove old comment.
* src/s/aix4-2.h: Update comment.
* src/s/template.h: Remove USE_MMAP_FOR_BUFFERS.
* msdos/sed1v2.inp (CANNOT_DUMP): Update for configure name change.
* admin/CPP-DEFINES: Remove USE_MMAP_FOR_BUFFERS, CANNOT_DUMP.
* etc/DEBUG: Update SYSTEM_MALLOC and CANNOT_DUMP references.
Some re-filling.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/aix4-2.h | 4 | ||||
| -rw-r--r-- | src/s/darwin.h | 3 | ||||
| -rw-r--r-- | src/s/freebsd.h | 4 | ||||
| -rw-r--r-- | src/s/irix6-5.h | 2 | ||||
| -rw-r--r-- | src/s/sol2-10.h | 2 | ||||
| -rw-r--r-- | src/s/template.h | 3 |
6 files changed, 2 insertions, 16 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 48f43126fd9..cf06f9befe0 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -89,8 +89,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 89 | memory use the libc malloc implementation. Calling xfree or | 89 | memory use the libc malloc implementation. Calling xfree or |
| 90 | xrealloc on the results of such functions results in a crash. | 90 | xrealloc on the results of such functions results in a crash. |
| 91 | 91 | ||
| 92 | One solution for this could be to define SYSTEM_MALLOC here, but | 92 | One solution for this could be to define SYSTEM_MALLOC in configure, |
| 93 | that does not currently work on this system. | 93 | but that does not currently work on this system. |
| 94 | 94 | ||
| 95 | It is possible to completely override the malloc implementation on | 95 | It is possible to completely override the malloc implementation on |
| 96 | AIX, but that involves putting the malloc functions in a shared | 96 | AIX, but that involves putting the malloc functions in a shared |
diff --git a/src/s/darwin.h b/src/s/darwin.h index 5c8db1242e1..cd1f9384833 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -114,9 +114,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 114 | /* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */ | 114 | /* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */ |
| 115 | #define TAB3 OXTABS | 115 | #define TAB3 OXTABS |
| 116 | 116 | ||
| 117 | /* Darwin ld insists on the use of malloc routines in the System framework. */ | ||
| 118 | #define SYSTEM_MALLOC | ||
| 119 | |||
| 120 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ | 117 | /* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ |
| 121 | #define HAVE_SOCKETS | 118 | #define HAVE_SOCKETS |
| 122 | 119 | ||
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index f8d88342621..9082935db07 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h | |||
| @@ -67,9 +67,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 67 | /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */ | 67 | /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */ |
| 68 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 68 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
| 69 | 69 | ||
| 70 | /* Define USE_MMAP_FOR_BUFFERS to let Emacs use mmap(2) to allocate | ||
| 71 | buffer text. This overrides REL_ALLOC. */ | ||
| 72 | #define USE_MMAP_FOR_BUFFERS 1 | ||
| 73 | |||
| 74 | /* arch-tag: 426529ca-b7c4-448f-b10a-d4dcdc9c78eb | 70 | /* arch-tag: 426529ca-b7c4-448f-b10a-d4dcdc9c78eb |
| 75 | (do not change this comment) */ | 71 | (do not change this comment) */ |
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h index 1691daa6615..e2b18b2ec2b 100644 --- a/src/s/irix6-5.h +++ b/src/s/irix6-5.h | |||
| @@ -85,8 +85,6 @@ char *_getpty(); | |||
| 85 | 85 | ||
| 86 | #define NARROWPROTO 1 | 86 | #define NARROWPROTO 1 |
| 87 | 87 | ||
| 88 | #define USE_MMAP_FOR_BUFFERS 1 | ||
| 89 | |||
| 90 | #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ | 88 | #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ |
| 91 | #define _LP64 /* lisp.h takes care of the rest */ | 89 | #define _LP64 /* lisp.h takes care of the rest */ |
| 92 | #endif /* _MIPS_SZLONG */ | 90 | #endif /* _MIPS_SZLONG */ |
diff --git a/src/s/sol2-10.h b/src/s/sol2-10.h index 7441eaa0210..fd7f30021ea 100644 --- a/src/s/sol2-10.h +++ b/src/s/sol2-10.h | |||
| @@ -2,8 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | #include "sol2-6.h" | 3 | #include "sol2-6.h" |
| 4 | 4 | ||
| 5 | #define SYSTEM_MALLOC | ||
| 6 | |||
| 7 | /* This is used in list_system_processes. */ | 5 | /* This is used in list_system_processes. */ |
| 8 | #define HAVE_PROCFS 1 | 6 | #define HAVE_PROCFS 1 |
| 9 | 7 | ||
diff --git a/src/s/template.h b/src/s/template.h index 694a1046566..67ed13e6180 100644 --- a/src/s/template.h +++ b/src/s/template.h | |||
| @@ -108,9 +108,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 108 | is not ':', #define this to be the appropriate character constant. */ | 108 | is not ':', #define this to be the appropriate character constant. */ |
| 109 | /* #define SEPCHAR ':' */ | 109 | /* #define SEPCHAR ':' */ |
| 110 | 110 | ||
| 111 | /* Define this if the system can use mmap for buffer text allocation. */ | ||
| 112 | /* #define USE_MMAP_FOR_BUFFERS 1 */ | ||
| 113 | |||
| 114 | /* ============================================================ */ | 111 | /* ============================================================ */ |
| 115 | 112 | ||
| 116 | /* Here, add any special hacks needed to make Emacs work on this | 113 | /* Here, add any special hacks needed to make Emacs work on this |