02/11/2013 18:03, Tommaso Cucinotta:
Hi,

as the LyX Chat patch would add a new dependency on libqxmpp, is it better to
add some autoconf logic that excludes it at compile-time, if said libraries
are not found on the system ?

Hints in this regard ?

Have a look at what is done in config/spell.m4 for the different spell checkers, There are two ingredients:

- a USE_xxx #define, that can be used in the code to do conditional compilation

- a USE_xxx automake conditional that is used to decide which pieces of code shall be compiled.

HTH
JMarc

Reply via email to