[PATCH:xbiff 0/2] v2 of checks for mailbox directory

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jan 7 17:23:57 PST 2011

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(-)


More information about the xorg-devel mailing list