aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorGlenn Morris2010-04-28 00:01:43 -0700
committerGlenn Morris2010-04-28 00:01:43 -0700
commit294c50a065cb7aa8486b592bb641742a8d0ed11c (patch)
tree8ac6094f7092e3e3ce4160c5f346f36f6a213f59 /src/s
parente6ec4e99210e02fddacec7ec9badc48f5db08272 (diff)
downloademacs-294c50a065cb7aa8486b592bb641742a8d0ed11c.tar.gz
emacs-294c50a065cb7aa8486b592bb641742a8d0ed11c.zip
Move LIBXMU from cpp to configure.
* configure.in (LIBXMU): New output variable. * src/Makefile.in (LIBXMU): Set with configure, not cpp. * src/s/aix4-2.h (LIBXMU): * src/s/hpux10-20.h (LIBXMU): Remove definition, now set in configure.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix4-2.h6
-rw-r--r--src/s/hpux10-20.h6
2 files changed, 2 insertions, 10 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index c14835531df..b6ef00a1fdb 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -136,8 +136,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
136#undef sigmask 136#undef sigmask
137 137
138#ifndef HAVE_LIBXMU 138#ifndef HAVE_LIBXMU
139#define LIBXMU
140
141/* Unfortunately without libXmu we cannot support EditRes. */ 139/* Unfortunately without libXmu we cannot support EditRes. */
142#define NO_EDITRES 140#define NO_EDITRES
143#endif 141#endif
@@ -153,8 +151,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
153 It is possible to completely override the malloc implementation on 151 It is possible to completely override the malloc implementation on
154 AIX, but that involves putting the malloc functions in a shared 152 AIX, but that involves putting the malloc functions in a shared
155 library and setting the MALLOCTYPE environment variable to point to 153 library and setting the MALLOCTYPE environment variable to point to
156 tha shared library. 154 that shared library.
157 155
158 Emacs currently calls xrealloc on the results of get_current_dir name, 156 Emacs currently calls xrealloc on the results of get_current_dir name,
159 to avoid a crash just use the Emacs implementation for that function. 157 to avoid a crash just use the Emacs implementation for that function.
160*/ 158*/
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index 28030de8897..6573c6f4ad4 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -105,12 +105,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
105/* This triggers a conditional in xfaces.c. */ 105/* This triggers a conditional in xfaces.c. */
106#define XOS_NEEDS_TIME_H 106#define XOS_NEEDS_TIME_H
107 107
108#ifndef HAVE_LIBXMU
109/* HP-UX doesn't supply Xmu. */
110#define LIBXMU
111
112#endif
113
114/* Assar Westerlund <assar@sics.se> says this is necessary for 108/* Assar Westerlund <assar@sics.se> says this is necessary for
115 HP-UX 10.20, and that it works for HP-UX 0 as well. */ 109 HP-UX 10.20, and that it works for HP-UX 0 as well. */
116#define NO_EDITRES 110#define NO_EDITRES