Daniel Pocock wrote:
> Before 3.1.3, /etc/ganglia was hardcoded into various places in the code
>
> As of 3.1.3, the code refers to $sysconfdir
>
> If configure is called without specifying --prefix or --sysconfdir, then 
> the default value is /usr/etc/ganglia
>
> configure.in could be tweaked to check if the user has explicitly given 
> --prefix or --sysconfdir - does anyone have any preference for the 
> circumstances in which we try to mimic the old behavior?  In other 
> words, should we default to /etc/ganglia only if neither --prefix or 
> --sysconfdir is given?
>   

Having thought about this some more, there is no single solution that 
can please everyone.

a) existing users who upgrade to >3.1.2 are likely to be surprised that 
the default location changes and that they have to specify --sysconfdir 
to retain the old location

b) new users, or those familiar with autoconf best practice, would be 
surprised by the old behavior (i.e. they would be surprised to find 
--sysconfdir ignored and they would be confused by the help output from 
configure telling them that PREFIX/etc is the default)

If configure tries to guess the best thing to do, then it would have to 
satisfy one group of users and exclude those in the other group.

Therefore, the patch I've now applied (r2219 on 3.1) refuses to try and 
guess and requires the user to explicitly specify --sysconfdir.  
configure will refuse to run without it.  This is only for 3.1 though.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to