aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorGlenn Morris2010-04-27 00:02:12 -0700
committerGlenn Morris2010-04-27 00:02:12 -0700
commitc6ea2936cc41ada03967fc7b89c49b012e44aceb (patch)
tree3be1a4c350b1d0e7e7b69d9b524478513e6361c1 /src/s
parent7dd7fbb97528d964a25566a55b590a5a5774809b (diff)
downloademacs-c6ea2936cc41ada03967fc7b89c49b012e44aceb.tar.gz
emacs-c6ea2936cc41ada03967fc7b89c49b012e44aceb.zip
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.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix4-2.h5
-rw-r--r--src/s/gnu-linux.h3
-rw-r--r--src/s/unixware.h8
3 files changed, 1 insertions, 15 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index 32bc67bfd46..c14835531df 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -135,9 +135,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
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
@@ -148,7 +145,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
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.
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 3d470032efc..948f96a1e40 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -197,9 +197,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
197 anyone's still using Emacs on those. --fx 2002-12-14 */ 197 anyone's still using Emacs on those. --fx 2002-12-14 */
198/* #define C_SWITCH_SYSTEM -D_BSD_SOURCE */ 198/* #define C_SWITCH_SYSTEM -D_BSD_SOURCE */
199 199
200/* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */
201#define LIB_MOTIF -lXm -lXpm
202
203#ifdef HAVE_LIBNCURSES 200#ifdef HAVE_LIBNCURSES
204#define TERMINFO 201#define TERMINFO
205#define LIBS_TERMCAP -lncurses 202#define LIBS_TERMCAP -lncurses
diff --git a/src/s/unixware.h b/src/s/unixware.h
index 27fd41b7416..d019b8bba80 100644
--- a/src/s/unixware.h
+++ b/src/s/unixware.h
@@ -59,14 +59,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
59/* Use libw.a along with X11R6 Xt. */ 59/* Use libw.a along with X11R6 Xt. */
60#define NEED_LIBW 60#define NEED_LIBW
61 61
62/* ryanr@ellingtn.ftc.nrcs.usda.gov (Richard Anthony Ryan) says -lXimp
63 is needed in UNIX_SV ... 4.2 1.1.2. */
64#define LIB_MOTIF -lXm -lXimp
65
66/* arch-tag: 9bbfcfc1-19be-45a1-9699-af57b87da2c6
67 (do not change this comment) */
68
69
70/* Data type of load average, as read out of kmem. */ 62/* Data type of load average, as read out of kmem. */
71 63
72#define LOAD_AVE_TYPE long 64#define LOAD_AVE_TYPE long