summaryrefslogtreecommitdiff
path: root/src/s/aix4-1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/aix4-1.h')
-rw-r--r--src/s/aix4-1.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/s/aix4-1.h b/src/s/aix4-1.h
index 0da441db70d..29aa5a63708 100644
--- a/src/s/aix4-1.h
+++ b/src/s/aix4-1.h
@@ -10,6 +10,19 @@
#undef _NO_PROTO
#endif
-/* Let's hope the X internationalization stuff is working in AIX 4.1.
- It was not working in 3.2.5. */
-#undef X11R5_INHIBIT_I18N
+/* For AIX, it turns out compiling emacs under AIX 3.2.4 REQUIRES "cc -g"
+ because "cc -O" crashes. Under AIX 3.2.5, "cc -O" is required because
+ "cc -g" crashes. Go figure. --floppy@merlin.mit.edu.
+ 4.1 seems to need -g again. -- larry@vaquita.mitra.com. */
+#ifndef __GNUC__
+#undef C_DEBUG_SWITCH
+#undef C_OPTIMIZE_SWITCH
+#define C_DEBUG_SWITCH -g
+#endif
+
+/* X internationalization stuff is still not working in AIX 4.1. */
+/* #undef X11R5_INHIBIT_I18N */
+
+/* Perry Smith <pedz@ddivt1.austin.ibm.com> says this is necessary
+ because of noncontiguous allocation. */
+#undef REL_ALLOC