--- Imakefile.orig	Tue Mar 16 09:00:21 1999
+++ Imakefile	Sun Apr  4 15:06:31 1999
@@ -63,7 +63,7 @@
 SRCS = 	$(OBJS:.o=.c)
 
 XCOMM Sometimes you need -lXp after -lXm
-          XMLIB = -lXm
+          XMLIB = ${MOTIFLIB}
         DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
  EXTRA_INCLUDES = -I../../libastro
   LOCAL_LDFLAGS = -L../../libastro