#5 Configure improvements

feature-request
closed-fixed
server (16)
2
2001-10-13
2001-09-22
Guillaume Filion
No

Two thing requested:
1) ./configure --help should show a list of available
drivers

2) ./configure --select-drivers=all should
automatically remove drivers that we can't compile.

I've included a proposed patch for autoconf.

Discussion

  • Proposed patch.

     
    Attachments
    • priority: 5 --> 2
     
  • Logged In: YES
    user_id=53970

    Attached is a new patch for CVS version 1.12.

    Example improvements:
    -----
    [gfk@cesam lcdproc]$ ./configure --help
    [...]
    --enable-drivers=<list> compile driver for LCDs in <list>.
    drivers may be separated with commas.
    Possible choices are:
    mtxorb,cfontz,curses,text,lb216,
    hd44780,joy,irman,lircin,bayrad,
    glk,stv5730,sed1520,svgalib
    "all" compiles all drivers
    -----

    -----
    [gfk@cesam lcdproc]$ ./configure --enable-drivers=all
    [...]
    checking for which drivers to compile... checking for main
    in -lncurses... (cached) yes
    checking for main in -lirman... no
    configure: warning: The irman driver needs the irman library.
    checking for main in -llirc_client... no
    configure: warning: The lirc driver needs the lirc client
    library
    checking for main in -lvga... no
    configure: warning: The svgalib driver needs the vga library
    Will compile drivers: mtxorb cfontz ncurses text lb216
    hd44780 joy bayrad glk stv5730 sed1520
    [...]
    -----

    -----
    [gfk@cesam lcdproc]$ ./configure --enable-drivers=hd44780
    [...]
    checking for which drivers to compile... Will compile
    drivers: hd44780
    [...]
    -----

    Could someone commit this to CVS? I don't have CVS commit
    access and I'm getting tired of updating my patch to make it
    work with the lastest CVS version. 8)

    GFK's

     
  • Patch for CVS version 1.12

     
    Attachments
    • assigned_to: nobody --> gfk
    • status: open --> closed-fixed