summaryrefslogtreecommitdiff
path: root/src/s/aix4-2.h
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-05-03 19:56:19 -0700
committerGlenn Morris <rgm@gnu.org>2010-05-03 19:56:19 -0700
commit496287859b525d24bf38ef19a38ea2fd7d309bd1 (patch)
tree834b0172fea80021902a60f2febec10d6a709706 /src/s/aix4-2.h
parent7dff330b76dd3421febadb5e11509d36ddaf39ed (diff)
downloademacs-496287859b525d24bf38ef19a38ea2fd7d309bd1.tar.gz
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/aix4-2.h')
-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 @@
/*
-Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
- Free Software Foundation, Inc.
+Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
+ 2010 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -118,13 +118,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* AIX doesn't define this. */
#define unix 1
-#ifndef __GNUC__
-/* Some programs in src produce warnings saying certain subprograms
- are to comples and need a MAXMEM value greater than 2000 for
- additional optimization. --nils@exp-math.uni-essen.de */
-#define C_SWITCH_SYSTEM -ma -qmaxmem=4000
-#endif
-
/* string.h defines rindex as a macro, at least with native cc, so we
lose declaring char * rindex without this.
It is just a guess which versions of AIX need this definition. */