diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/Makefile.in | 9 | ||||
| -rw-r--r-- | src/m/alpha.h | 10 | ||||
| -rw-r--r-- | src/s/aix4-2.h | 11 |
4 files changed, 19 insertions, 21 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ab5780106b7..33d550e7824 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2010-05-04 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * s/aix4-2.h (C_SWITCH_SYSTEM): | ||
| 4 | * m/alpha.h (C_SWITCH_MACHINE): | ||
| 5 | Move to configure.in. | ||
| 6 | * Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): | ||
| 7 | New variables, set by configure. | ||
| 8 | (ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of | ||
| 9 | $c_switch_machine and $c_switch_system. | ||
| 10 | |||
| 1 | 2010-05-04 Dan Nicolaescu <dann@ics.uci.edu> | 11 | 2010-05-04 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 12 | ||
| 3 | * s/hpux10-20.h (LIB_STANDARD): New definition. | 13 | * s/hpux10-20.h (LIB_STANDARD): New definition. |
diff --git a/src/Makefile.in b/src/Makefile.in index a7ad10446e2..220eac61c1f 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -70,6 +70,11 @@ OTHER_FILES = @OTHER_FILES@ | |||
| 70 | 70 | ||
| 71 | CRT_DIR=@CRT_DIR@ | 71 | CRT_DIR=@CRT_DIR@ |
| 72 | 72 | ||
| 73 | ## Machine-specific CFLAGS. | ||
| 74 | C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ | ||
| 75 | ## System-specific CFLAGS. | ||
| 76 | C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ | ||
| 77 | |||
| 73 | LIBTIFF=@LIBTIFF@ | 78 | LIBTIFF=@LIBTIFF@ |
| 74 | LIBJPEG=@LIBJPEG@ | 79 | LIBJPEG=@LIBJPEG@ |
| 75 | LIBPNG=@LIBPNG@ | 80 | LIBPNG=@LIBPNG@ |
| @@ -232,7 +237,7 @@ shared=no | |||
| 232 | 237 | ||
| 233 | /* C_SWITCH_X_SITE must come before C_SWITCH_X_SYSTEM | 238 | /* C_SWITCH_X_SITE must come before C_SWITCH_X_SYSTEM |
| 234 | since it may have -I options that should override those two. */ | 239 | since it may have -I options that should override those two. */ |
| 235 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} @c_switch_machine@ @c_switch_system@ @C_SWITCH_X_SITE@ @C_SWITCH_X_SYSTEM@ ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${DBUS_CFLAGS} ${GCONF_CFLAGS} ${CFLAGS} @FREETYPE_CFLAGS@ @FONTCONFIG_CFLAGS@ @LIBOTF_CFLAGS@ @M17N_FLT_CFLAGS@ ${DEPFLAGS} | 240 | ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} ${C_SWITCH_MACHINE} ${C_SWITCH_SYSTEM} @C_SWITCH_X_SITE@ @C_SWITCH_X_SYSTEM@ ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${DBUS_CFLAGS} ${GCONF_CFLAGS} ${CFLAGS} @FREETYPE_CFLAGS@ @FONTCONFIG_CFLAGS@ @LIBOTF_CFLAGS@ @M17N_FLT_CFLAGS@ ${DEPFLAGS} |
| 236 | ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@ | 241 | ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@ |
| 237 | 242 | ||
| 238 | .SUFFIXES: .m | 243 | .SUFFIXES: .m |
| @@ -968,7 +973,7 @@ window.o: window.c indent.h commands.h frame.h window.h buffer.h termchar.h \ | |||
| 968 | keymap.h blockinput.h atimer.h systime.h $(INTERVALS_H) \ | 973 | keymap.h blockinput.h atimer.h systime.h $(INTERVALS_H) \ |
| 969 | xterm.h w32term.h nsterm.h nsgui.h lisp.h $(config_h) | 974 | xterm.h w32term.h nsterm.h nsgui.h lisp.h $(config_h) |
| 970 | xdisp.o: xdisp.c macros.h commands.h process.h indent.h buffer.h dispextern.h \ | 975 | xdisp.o: xdisp.c macros.h commands.h process.h indent.h buffer.h dispextern.h \ |
| 971 | coding.h termchar.h frame.h window.h disptab.h termhooks.h character.h \ | 976 | coding.h termchar.h frame.h window.h disptab.h termhooks.h character.h \ |
| 972 | charset.h lisp.h $(config_h) keyboard.h $(INTERVALS_H) region-cache.h \ | 977 | charset.h lisp.h $(config_h) keyboard.h $(INTERVALS_H) region-cache.h \ |
| 973 | xterm.h w32term.h nsterm.h nsgui.h msdos.h composite.h fontset.h ccl.h \ | 978 | xterm.h w32term.h nsterm.h nsgui.h msdos.h composite.h fontset.h ccl.h \ |
| 974 | blockinput.h atimer.h systime.h keymap.h font.h | 979 | blockinput.h atimer.h systime.h keymap.h font.h |
diff --git a/src/m/alpha.h b/src/m/alpha.h index 80f9d6c02fe..ec0ed92e24a 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -77,16 +77,6 @@ NOTE-END | |||
| 77 | /* #define SYSTEM_MALLOC */ | 77 | /* #define SYSTEM_MALLOC */ |
| 78 | 78 | ||
| 79 | #ifdef __ELF__ | 79 | #ifdef __ELF__ |
| 80 | /* With ELF, make sure that all common symbols get allocated to in the | ||
| 81 | data section. Otherwise, the dump of temacs may miss variables in | ||
| 82 | the shared library that have been initialized. For example, with | ||
| 83 | GNU libc, __malloc_initialized would normally be resolved to the | ||
| 84 | shared library's .bss section, which is fatal. */ | ||
| 85 | # ifdef __GNUC__ | ||
| 86 | # define C_SWITCH_MACHINE -fno-common | ||
| 87 | # else | ||
| 88 | # error What gives? Fix me if DEC Unix supports ELF now. | ||
| 89 | # endif | ||
| 90 | 80 | ||
| 91 | #undef UNEXEC | 81 | #undef UNEXEC |
| 92 | #define UNEXEC unexelf.o | 82 | #define UNEXEC unexelf.o |
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 2c7f8c06157..f6ed94828d4 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | 2 | Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, |
| 3 | Free Software Foundation, Inc. | 3 | 2010 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -118,13 +118,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 118 | /* AIX doesn't define this. */ | 118 | /* AIX doesn't define this. */ |
| 119 | #define unix 1 | 119 | #define unix 1 |
| 120 | 120 | ||
| 121 | #ifndef __GNUC__ | ||
| 122 | /* Some programs in src produce warnings saying certain subprograms | ||
| 123 | are to comples and need a MAXMEM value greater than 2000 for | ||
| 124 | additional optimization. --nils@exp-math.uni-essen.de */ | ||
| 125 | #define C_SWITCH_SYSTEM -ma -qmaxmem=4000 | ||
| 126 | #endif | ||
| 127 | |||
| 128 | /* string.h defines rindex as a macro, at least with native cc, so we | 121 | /* string.h defines rindex as a macro, at least with native cc, so we |
| 129 | lose declaring char * rindex without this. | 122 | lose declaring char * rindex without this. |
| 130 | It is just a guess which versions of AIX need this definition. */ | 123 | It is just a guess which versions of AIX need this definition. */ |