Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!asuvax!ncar!ames!lll-winken!gauss.llnl.gov!casey From: casey@gauss.llnl.gov (Casey Leedom) Newsgroups: comp.windows.x Subject: Re: XFILESEARCHPATH Message-ID: <43368@lll-winken.LLNL.GOV> Date: 6 Jan 90 19:13:45 GMT References: <9001050301.AA11248@gaucho.rand.org> <9001051426.AA03443@expire.lcs.mit.edu> Sender: usenet@lll-winken.LLNL.GOV Reply-To: casey@gauss.llnl.gov.UUCP (Casey Leedom) Organization: Lawrence Livermore National Laboratory Lines: 56 / From: salzman@rand.org (Isaac J. Salzman) | | [[Isaac finds that the notes in the ERRATA FILE REGARDING | XFILESEARCHPATHDEFAULT AND ERRORDB don't work. Isaac offers a fix to \ mit/lib/Xt/Imakefile.]] / From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) | | [[Bob acknowledges that the ERRATA file is itself in error: ``(too much \ of a hurry)'']] Here I offer what I think is a better fix. Note however that I really can't see any need to override the choices for these values relative to the value of $(LIBDIR). I provide the code that does allow their supersession in site.def simply because the ERRATA file intended this. I expect that if an official fix is forthcoming, it will not include the ability to override these values from site.def. *** mit/lib/Xt/Imakefile-dist Mon Dec 18 13:03:06 1989 --- mit/lib/Xt/Imakefile Sat Jan 6 11:03:10 1990 *************** *** 7,15 **** #if UnalignedReferencesAllowed ALIGN_DEFINES = -DUNALIGNED #endif ! DEFINES = AllocateLocalDefines $(ALIGN_DEFINES) APP_DEFINES = -DXAPPLOADDIR=\"$(XAPPLOADDIR)$(PATHSEP)\" ! DB_DEFINES = -DERRORDB=\"$(LIBDIR)/XtErrorDB\" INSTALLFLAGS = $(INSTINCFLAGS) LINTLIBS = $(LINTXLIB) --- 7,30 ---- #if UnalignedReferencesAllowed ALIGN_DEFINES = -DUNALIGNED #endif ! ! #ifdef XtFileSearchPathDefault ! XFILESEARCHPATH = XtFileSearchPathDefault ! #else ! XFILESEARCHPATH = $(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S ! #endif ! #ifdef XtErrorDB ! ERRORDB = XtErrorDB ! #else ! ERRORDB = $(LIBDIR)/XtErrorDB ! #endif ! ! XFSP_DEFINES = -DXFILESEARCHPATHDEFAULT=\"$(XFILESEARCHPATH)\" ! ERRDB_DEFINES = -DERRORDB=\"$(ERRORDB)\" ! DEFINES = AllocateLocalDefines $(ALIGN_DEFINES) \ ! $(XFSP_DEFINES) $(ERRDB_DEFINES) APP_DEFINES = -DXAPPLOADDIR=\"$(XAPPLOADDIR)$(PATHSEP)\" ! DB_DEFINES = $(ERRDB_DEFINES) INSTALLFLAGS = $(INSTINCFLAGS) LINTLIBS = $(LINTXLIB)