Hello Michael, hello list !
I modified deeply the autoconf/automake stuff to be able to choose the
plugins we want, just as drivers :
- first, I did some cleanup and moved drivers stuff to drivers.m4, and
created plugins.m4 to handle plugins stuff
- there's a new configure switch : --with-plugins, which should work as
--with-drivers (as I copied a lot of code), but strangely all,!a_plugin
doesn't work ! I have to work though it tomorrow.
- I modified plugin.c in the same fashion as drv.c, and it initializes
just the plugins whose WITH_... config.h option as on.
- Here are the advantages :
* mysql plugin works out of the box, as it's possible to add libraries
(PLUGINLIBS, just as DRVLIBS), and it's possible to checks headers/libs
to activate a plugin (dvb/ppp/mysql for the moment, I must add wireless)
* one can choose the plugins he wants to avoid silly error messages
(think i2c_sensors Martin :) ) or reduce memory footprint.
* the configure stuff will be ready for dynamic loading ;)
* it's more professional ;)
Michael, check it and put it in CVS. And as usual, testing is welcomed !
Bye !
----
Xavier VELLO <xav...@fr...>
|