Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!leah!narten From: narten@leah.Albany.Edu (Thomas Narten) Newsgroups: comp.windows.x Subject: Re: Not cluttering up /usr with R4 Message-ID: <2744@leah.Albany.Edu> Date: 22 Mar 90 13:03:36 GMT Organization: The University at Albany, Computer Services Center Lines: 18 In article <22726@metropolis.super.ORG> rminnich@super.ORG (Ronald G Minnich) writes: >in mit/lib/Xt/Imakefile >fix FS_DEFINES >FS_DEFINES= -DXFILESEARCHPATHDEFAULT=\"/usr/local/lib/X11R4/X11/%T/%N%S:\ >\" Seems to me that a better fix here would be to use $(LIBDIR) instead of the hardcoded path name. This will grab the LIBDIR defined in site.def, making the fix work regardless of where you install your X libraries and binaries. In fact, although perhaps not necessary, I defined the default path as follows, mirroring the definition in the header file we want to override. -DXFILESEARCHPATHDEFAULT=\"$(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S\" -- Thomas Narten narten@cs.albany.edu