On Fri, Jan 21, 2011 at 08:31:23 -0500, Gaetan Nadon wrote: > The path substitution in x11perfcomp script can be done at configuration > time using Autoconf. This is an alternative to using sed and requires > less Makefile work. > > Signed-off-by: Gaetan Nadon <[email protected]> > --- > Makefile.am | 14 +------ > configure.ac | 6 +++- > x11pcomp.cpp | 103 ------------------------------------------------------ > x11perfcomp.in | 105 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 112 insertions(+), 116 deletions(-) > delete mode 100644 x11pcomp.cpp > create mode 100644 x11perfcomp.in > I'm not sure. Using autoconf means you get the non-expanded version of the variable, which means you need to keep track of which variables have to be defined in x11perfcomp.in. At least in theory that could change in a new autoconf version.
Cheers, Julien _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
