--- Imakefile.orig	Sun Dec 13 16:59:08 1998
+++ Imakefile	Sun Dec 13 17:37:16 1998
@@ -13,6 +13,17 @@
       XPOLL_DEF = -DNO_XPOLL_H
 #endif
 
+#ifdef USE_XAW3DLIB
+#undef XawClientLibs
+#define XawClientLibs	-lXaw3d $(XMULIB) $(XTOOLLIB) $(XLIB)
+#endif
+
+#ifdef USE_NEXTAWLIB
+#undef XawClientLibs
+#define XawClientLibs	-lneXtaw $(XMULIB) $(XTOOLLIB) $(XLIB)
+#endif
+
+
 /*
  * add -DWTMP and -DLASTLOG if you want them.
  */
