[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [patch] faster Makefile.in -> Makefile translation
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-04-03 14:23:51
[Download RAW message or body]

Michael Matz wrote:
> 
> May be, we could pop up a fat message annoying the user until he does
> srcdir!=blddir ;)

as gcc? "if you have any kind of problems and build with
srcdir=builddir,
don't bother us". We could even disable the bug report dialog in case
;-)

> 
> OK, the diff in the attachment is against fresh CVSup. It's kind of
> all-singing-and-dancing, but ugly as ....
> 
> It now works the following way:
> 1) provides macro KDE_FAST_CONFIGURE (thereby --disable-fast-perl)
> 2) (1) is called from KDE_SET_PREFIX (so most configure.in.in's work)
> 3) Makefile.common patches configure, after it is created with a sed
>    script (shudder), to conditionally (on with_fast_perl) patch the
>    config.status it just created (yes, before running ;)
> 4) If by configure time --disable-fast-perl is given, nothing happens
>    and normal autoconf behaviour is crawling, if it's not given,
>    admin/conf.change.pl reads and processes config.status, throwing away
>    autoconf sed horror and including fast fresh perl.
> 5) config.status does the main loop in admin/config.pl (which is now a
>    little bit more robust, with respect to the given substitutions)
> 
> Note, that we don't have to include any GPL autoconf code anymore. The
> parsing in conf.change.pl is of course sensitive to changes in
> config.status (and so to changes in autoconf), but I hope it works at
> least on the machines doing the snapshots. Try it and let me know.
> 
Well, autoconf had to change _a lot_ to not make this work :)

I like it - I love it! 

Greetings, Stephan

-- 
It said Windows 95 or better, so in theory Linux should run it
                                                GeorgeH on /.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic