On 02/10/15 05:01 AM, Matthieu Herrb wrote:
In the case of startx / xinitrc I think it is possible to get rid of
cpp without too much difficulty. It's doing static substitutions at
build time only.

The case of xrdb is more problematic. There the use of cpp to
preprocess resources files at run time is a feature (and it depends on
a "traditional" pre-processour). For this case using tradcpp (pointed
out by Thomas Klausner further down this thread) is indeed the way to
go.

Right - build time uses such as startx & xinitrc should be replacable
with a bit of work, such as Gaetan did in the past to use sed instead
of cpp on a bunch of man pages.

I think we're pretty much stuck with the runtime calls in xrdb & imake
though.

--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to