> Neither.  These are all options passed to the configure script - in this 
> case, CFLAGS and LDFLAGS are set as environment variables for it (since 
> they're specified prior to the actual ./configure call).  Configure 
> options are set by the ebuild in Gentoo, so you could conceivably look 
> through the ebuild for the option you need, to see if it's controlled by 
> a USE flag.
> 
> However, there is a far faster and easier solution: a quick 'emerge 
> --pretend --verbose apcupsd' (long options shown here for readability: 
> the actual line I typed was 'emerge -pv apcupsd') shows me that one of 
> the USE flags supported by apcupsd is 'snmp', which from the name I 
> would deduce controls SNMP support.  To enable SNMP in apcupsd, simply 
> either add snmp to your USE in make.conf, or create an appropriate 
> package.use entry.


Ryan,  Thanks for the reply and explanation, it is much appreciated.

Regards,

Richard
-- 
gentoo-user@gentoo.org mailing list

Reply via email to