[Nut-upsdev] New default for SNMP and USB (and HAL) compilation

Niklas Edmundsson nikke at acc.umu.se
Thu Dec 21 12:20:00 CET 2006


On Thu, 21 Dec 2006, Arnaud Quette wrote:

> fellows,
>
> I'm working on integrating the preliminary HAL support, and thought a
> bit about the default configure values below:
> --with-snmp             build and install SNMP drivers (no)
> --with-usb              build and install USB drivers (no)
> [  --with-hal              build and install HAL support (no) ]
>
> I wonder if some auto detection magic (if the requirement is present
> enable the feature) wouldn't be better, allowing user to bypass this
> using --with-feature=no
>
> Notes:
> - that this might be broaden to all "--with-feature"
> - a feature synthesis might also be interesting at the end of the
> configure run, to easily check what is enabled or disabled.
>
> any thought?

Sounds like a good idea to me, in general you tend to expect configure 
to detect the fact that you have the relevant devel stuff installed 
for feature X. Having to provide endles occurances of --with-foo is 
annoying.

/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke at acc.umu.se
---------------------------------------------------------------------------
  Keptin, it's an inwisible moderator decloaking...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Nut-upsdev mailing list