wohler@SPAM.ISTC.SRI.COM (Bill Wohler) (10/07/87)
so, now that i've changed my *DIR options in Imake.tmpl, what more do i need to do? recompiling didn't compile anything. i found some hardcoded path names in server/include/site.h--do these have to be changed? if this is the case, i suggest that site.h (and whatever others) depend on the makefile, and that the makefile pass -DLIB=\"$(LIBDIR) into the files. then, for example, #define COMPILEDDEFAULTFONTPATH "/usr/lib/X11/fonts/" would be changed into #define COMPILEDDEFAULTFONTPATH LIB/fonts/" note the tricky placement of the doublequotes (idea from xtrek, actually). we've got a sun 3/160 running 3.4 here. --bw
bilbo.geoff@CS.UCLA.EDU (Geoff Kuenning) (10/08/87)
> From: Bill Wohler <wohler@spam.istc.sri.com> > #define COMPILEDDEFAULTFONTPATH LIB/fonts/" > note the tricky placement of the doublequotes (idea from xtrek, actually). Trickiness such as this is not advisable, as X is being ported to many systems with non-PCC-based compilers. (For example, many people have expressed interest in PC ports). Better to construct it in the Makefile: -DCOMPILEDDEFAULTFONTPATH=\"$(LIBDIR)/fonts/\" or with sprintf. Geoff Kuenning geoff@lcc.ucla.edu geoff@ITcorp.com