changeset 19474:750d8bbecb4f

(LIB_MOTIF_EXTRA): New variable. (LIBW): Use LIB_MOTIF_EXTRA.
author Richard M. Stallman <rms@gnu.org>
date Fri, 22 Aug 1997 21:26:45 +0000
parents 5dd02300cc31
children c8c9212a86a7
files src/Makefile.in
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Fri Aug 22 21:16:48 1997 +0000
+++ b/src/Makefile.in	Fri Aug 22 21:26:45 1997 +0000
@@ -331,10 +331,15 @@
 LIBW= -lXaw
 #endif
 #ifdef MOTIF
+#ifdef HAVE_MOTIF_2_1
+#define LIB_MOTIF_EXTRA -lXp
+#else
+#define LIB_MOTIF_EXTRA
+#endif
 #ifdef LIB_MOTIF
-LIBW= LIB_MOTIF
+LIBW= LIB_MOTIF LIB_MOTIF_EXTRA
 #else
-LIBW= -lXm
+LIBW= -lXm LIB_MOTIF_EXTRA
 #endif
 #endif
 #ifdef OPEN_LOOK