From 2790bdd8c8d0d4db4e112ff883b4e80c6b53b321 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 22 Aug 1997 21:26:45 +0000 Subject: [PATCH] (LIB_MOTIF_EXTRA): New variable. (LIBW): Use LIB_MOTIF_EXTRA. --- src/Makefile.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index a896ba442c1..cefc9f07aa4 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -331,10 +331,15 @@ LIBXMENU= 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 -- 2.39.2