On 15/10/2009 12:25, Yaakov (Cygwin/X) wrote: > 1) To match the defaults in font-util, in X11.tmpl change: > > #ifndef FontDir > #define FontDir $(LIBDIR)/fonts > #endif > #ifndef FontEncDir > #define FontEncDir $(LIBDIR)/fonts/encodings > #endif > > to something like: > > #ifndef FontDir > # ifdef ProjectRoot > # define FontDir Concat(ProjectRoot,/share/fonts/X11) > # else > # define FontDir /usr/share/fonts/X11 > # endif > #endif > #ifndef FontEncDir > #define FontEncDir Concat(FontDir,/encodings) > #endif
OTOH perhaps this part is a bit overboard. Instead you could add to configure.ac: XORG_FONTSUBDIR([ENCODINGSDIR],[encodingsdir],[encodings]) and add to site.def.in: #ifndef FontEncDir #define FontEncDir @ENCODINGSDIR@ #endif and leave it at that. Dealing with all the #ifdef's that really shouldn't NOT be defined is a different discussion entirely. Ah, isn't imake just SO much fun? :-) Yaakov Cygwin/X _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
