Re: Kconfig (qt) -> Gconfig (gtk)

Christoph Hellwig
2002-11-03T03:02:44Z

On Sun, Nov 03, 2002 at 01:30:09AM +0000, Alan Cox wrote:
> On Sun, 2002-11-03 at 00:06, J.A. Magallón wrote:
> > As I see it, the onle thing that should be included in a standard kernel
> > would be something like a kconfig-xaw, that is sure to be on every box that
> > has X, and could be a reference implementation.
>
> Lots of people no longer include Xaw either nowdays 8)
>
> Probably the easiest way to do this would be to move the GUI tools out
> of the kernel (or maybe leave the common useful ones) and have make
> guiconfig do
>
> if [ -f /usr/sbin/kernel-gui-config ] ; then
> /usr/sbin/kernel-gui-config
> elif got_qt() ; then
> qt config
> elif got_gtk() ; then
> gtk_config
> else
> warnign message
> make config
> fi

Why does the kernel have to know about that tools at all? Just put them
into $PATH and let people just call $FOOCONFIG. This works pretty well
with mconfig on 2.2/2.4..