diff options
| author | Dan Nicolaescu | 2010-04-11 14:43:28 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-04-11 14:43:28 -0700 |
| commit | b1f5216132ed2d54f5a41f5e68fbc374551f8d2e (patch) | |
| tree | 5292acf61527fa333e885351d455ccb628da7c61 | |
| parent | 76bd82023f5cc53d6ca40f33d87a10c26e5e9821 (diff) | |
| download | emacs-b1f5216132ed2d54f5a41f5e68fbc374551f8d2e.tar.gz emacs-b1f5216132ed2d54f5a41f5e68fbc374551f8d2e.zip | |
Remove C_SWITCH_SYSTEM_TEMACS.
* s/darwin.h (C_SWITCH_SYSTEM_TEMACS): Remove.
(malloc, realloc, free): Use emacs, not temacs for conditional
definition.
* Makefile.in (C_SWITCH_SYSTEM_TEMACS): Remove.
(ALL_CFLAGS): Do not use C_SWITCH_SYSTEM_TEMACS.
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/Makefile.in | 8 | ||||
| -rw-r--r-- | src/s/darwin.h | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3813ba047dd..6f9642e606d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | Remove C_SWITCH_SYSTEM_TEMACS. | ||
| 4 | * s/darwin.h (C_SWITCH_SYSTEM_TEMACS): Remove. | ||
| 5 | (malloc, realloc, free): Use emacs, not temacs for conditional | ||
| 6 | definition. | ||
| 7 | |||
| 8 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Remove. | ||
| 9 | (ALL_CFLAGS): Do not use C_SWITCH_SYSTEM_TEMACS. | ||
| 10 | |||
| 3 | Use autoconf, not cpp for some variables. | 11 | Use autoconf, not cpp for some variables. |
| 4 | * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE) | 12 | * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE) |
| 5 | (C_SWITCH_X_SITE): Define using autoconf, not cpp. | 13 | (C_SWITCH_X_SITE): Define using autoconf, not cpp. |
diff --git a/src/Makefile.in b/src/Makefile.in index cc58ab5654c..d9ba6ffb9d1 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -166,12 +166,6 @@ DEPFLAGS = -MMD -MF deps/$*.d | |||
| 166 | #define LD_SWITCH_SYSTEM_TEMACS | 166 | #define LD_SWITCH_SYSTEM_TEMACS |
| 167 | #endif | 167 | #endif |
| 168 | 168 | ||
| 169 | /* Some s/SYSTEM.h files define this to request special switches | ||
| 170 | for compiling temacs. */ | ||
| 171 | #ifndef C_SWITCH_SYSTEM_TEMACS | ||
| 172 | #define C_SWITCH_SYSTEM_TEMACS | ||
| 173 | #endif | ||
| 174 | |||
| 175 | /* Some m/MACHINE.h files define this to request special switches in ld. */ | 169 | /* Some m/MACHINE.h files define this to request special switches in ld. */ |
| 176 | #ifndef LD_SWITCH_MACHINE | 170 | #ifndef LD_SWITCH_MACHINE |
| 177 | #define LD_SWITCH_MACHINE | 171 | #define LD_SWITCH_MACHINE |
| @@ -258,7 +252,7 @@ GCONF_LIBS = @GCONF_LIBS@ | |||
| 258 | 252 | ||
| 259 | /* C_SWITCH_X_SITE must come before C_SWITCH_X_MACHINE and C_SWITCH_X_SYSTEM | 253 | /* C_SWITCH_X_SITE must come before C_SWITCH_X_MACHINE and C_SWITCH_X_SYSTEM |
| 260 | since it may have -I options that should override those two. */ | 254 | since it may have -I options that should override those two. */ |
| 261 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} $(C_SWITCH_MACHINE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM C_SWITCH_SYSTEM_TEMACS ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${DBUS_CFLAGS} ${GCONF_CFLAGS} ${CFLAGS} @FREETYPE_CFLAGS@ @FONTCONFIG_CFLAGS@ @LIBOTF_CFLAGS@ @M17N_FLT_CFLAGS@ ${DEPFLAGS} | 255 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} $(C_SWITCH_MACHINE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${DBUS_CFLAGS} ${GCONF_CFLAGS} ${CFLAGS} @FREETYPE_CFLAGS@ @FONTCONFIG_CFLAGS@ @LIBOTF_CFLAGS@ @M17N_FLT_CFLAGS@ ${DEPFLAGS} |
| 262 | ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@ | 256 | ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@ |
| 263 | 257 | ||
| 264 | .SUFFIXES: .m | 258 | .SUFFIXES: .m |
diff --git a/src/s/darwin.h b/src/s/darwin.h index 8813127ffce..e8081c6dd25 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -165,9 +165,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 165 | each); under Cocoa 31 commands are required. */ | 165 | each); under Cocoa 31 commands are required. */ |
| 166 | #define LD_SWITCH_SYSTEM_TEMACS -prebind LIBS_NSGUI -Xlinker -headerpad -Xlinker HEADERPAD_EXTRA | 166 | #define LD_SWITCH_SYSTEM_TEMACS -prebind LIBS_NSGUI -Xlinker -headerpad -Xlinker HEADERPAD_EXTRA |
| 167 | 167 | ||
| 168 | #define C_SWITCH_SYSTEM_TEMACS -Dtemacs | 168 | #ifdef emacs |
| 169 | |||
| 170 | #ifdef temacs | ||
| 171 | #define malloc unexec_malloc | 169 | #define malloc unexec_malloc |
| 172 | #define realloc unexec_realloc | 170 | #define realloc unexec_realloc |
| 173 | #define free unexec_free | 171 | #define free unexec_free |