Mercurial > emacs
comparison src/s/aix4-2.h @ 108133:d5c67777ae39
Move MOTIF_LIBW to autoconf.
* configure.in (HAVE_MOTIF_2_1): Remove unused variable.
(LIBXP): No longer substitute in Makefiles.
(MOTIF_LIBW): New output variable. Move system-specific settings here
from src/s files.
* src/Makefile.in (LIBXP): Remove, since included in MOTIF_LIBW.
(MOTIF_LIBW): Set with configure, not cpp.
* s/aix4-2.h (LIB_MOTIF):
* s/gnu-linux.h (LIB_MOTIF):
* s/unixware.h (LIB_MOTIF): Move to configure.in.
* admin/CPP-DEFINES: Remove LIB_MOTIF.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 27 Apr 2010 00:02:12 -0700 |
parents | dbd787c249c5 |
children | 1c3ecdb885b5 |
comparison
equal
deleted
inserted
replaced
108132:5e9162ac53b2 | 108133:d5c67777ae39 |
---|---|
133 | 133 |
134 /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ | 134 /* Perry Smith <pedz@ddivt1.austin.ibm.com> says these are correct. */ |
135 #define POSIX_SIGNALS | 135 #define POSIX_SIGNALS |
136 #undef sigmask | 136 #undef sigmask |
137 | 137 |
138 /* olson@mcs.anl.gov says -li18n is needed by -lXm. */ | |
139 #define LIB_MOTIF -lXm -li18n | |
140 | |
141 #ifndef HAVE_LIBXMU | 138 #ifndef HAVE_LIBXMU |
142 #define LIBXMU | 139 #define LIBXMU |
143 | 140 |
144 /* Unfortunately without libXmu we cannot support EditRes. */ | 141 /* Unfortunately without libXmu we cannot support EditRes. */ |
145 #define NO_EDITRES | 142 #define NO_EDITRES |
146 #endif | 143 #endif |
147 | 144 |
148 /* On AIX Emacs uses the gmalloc.c malloc implementation. But given | 145 /* On AIX Emacs uses the gmalloc.c malloc implementation. But given |
149 the way this system works, libc functions that return malloced | 146 the way this system works, libc functions that return malloced |
150 memory use the libc malloc implementation. Calling xfree or | 147 memory use the libc malloc implementation. Calling xfree or |
151 xrealloc on the results of such functions results in a crash. | 148 xrealloc on the results of such functions results in a crash. |
152 | 149 |
153 One solution for this could be to define SYSTEM_MALLOC here, but | 150 One solution for this could be to define SYSTEM_MALLOC here, but |
154 that does not currently work on this system. | 151 that does not currently work on this system. |
155 | 152 |
156 It is possible to completely override the malloc implementation on | 153 It is possible to completely override the malloc implementation on |