aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorGlenn Morris2010-05-03 19:56:19 -0700
committerGlenn Morris2010-05-03 19:56:19 -0700
commit496287859b525d24bf38ef19a38ea2fd7d309bd1 (patch)
tree834b0172fea80021902a60f2febec10d6a709706 /src/s
parent7dff330b76dd3421febadb5e11509d36ddaf39ed (diff)
downloademacs-496287859b525d24bf38ef19a38ea2fd7d309bd1.tar.gz
emacs-496287859b525d24bf38ef19a38ea2fd7d309bd1.zip
Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
* configure.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New output variables, replacing c_switch_machine, c_switch_system. * src/s/aix4-2.h (C_SWITCH_SYSTEM): * src/m/alpha.h (C_SWITCH_MACHINE): Move to configure.in. * src/Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New variables, set by configure. (ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of $c_switch_machine and $c_switch_system. * lib-src/Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than @c_switch_system@, @c_switch_machine@.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix4-2.h11
1 files changed, 2 insertions, 9 deletions
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/*
2Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 2Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
3 Free Software Foundation, Inc. 3 2010 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This 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. */