This isolates the two most useful parts of the previous patch (from back in October, almost forgotten) into individual patches - generalizing <paths.h> to all OS'es, now that it's available on more than just BSD, and allowing builders to specify a path specific to their system.
As Dan suggested, the builder override is changed from AC_ARG_VAR to AC_ARG_WITH for easier use. This set doesn't include the third part, moving the fallbacks from #ifdefs in the header to autoconf checks - that's not as useful, and would force cross-compilers to use the --with-mailspool-directory flag. If someone else wants to put in the effort to do that well, go ahead. At least these two should only make things better for some systems, and worse for none. Alan Coopersmith (2): Use <paths.h> and _PATH_MAILDIR to find mailboxes if present Add --with-mailbox-directory=PATH option to configure MailboxP.h | 26 ++++++++++++++------------ configure.ac | 18 ++++++++++++++++++ 2 files changed, 32 insertions(+), 12 deletions(-) -- 1.7.3.2 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
