I agree in principle, but I think we should use different standard
configure options: --sysconfdir and --localstatedir.

Theoretically if we started picked them up, though, they'd all begin
with /usr/local or whatever --prefix is -- but I have no clue
what /usr/etc or /usr/var are supposed to be...

Aaron

On Tue, 2006-08-15 at 17:00 -0400, Matthew T. O'Connor wrote:
> I would like to see a small change in the way the build works.  That is, 
> I would like to have the --prefix be added to the path for the config 
> file, the pid file, and the log files.  So for example, after:
> 
> configure --prefix=/home/testuser/dbmail
> 
> The default paths for the logs, config file and pid files in dbmail.h 
> would be:
> 
> /** default directory and extension for pidfiles */
> #define DEFAULT_PID_DIR "/home/testuser/dbmail/var/run"
> #define DEFAULT_PID_EXT ".pid"
> 
> /** default configuration file */
> #define DEFAULT_CONFIG_FILE "/home/testuser/dbmail/etc/dbmail.conf"
> 
> /** default log files */
> #define DEFAULT_LOG_FILE "/home/testuser/var/log/dbmail.log"
> #define DEFAULT_ERROR_LOG "/home/testuser/dbmail/var/log/dbmail.err"
> 
> This allows DBMail to be more easily self contained, and eliminates the 
> need for root access just to test things.
> 
> What do people think of this idea?
> 
> 
> Matt
> 
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to