diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-01-07 16:06:40 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-01-13 21:42:49 -0800 |
commit | dc963f6d676d1735144ff3997c0ab5bf7cc3889f (patch) | |
tree | 6de8f481f360ef6aef3b99ea092a8a038b8c38d3 /configure.ac | |
parent | 6cabab62873999d56a6cca6452c0cbe84dbacd9a (diff) |
Use <paths.h> and _PATH_MAILDIR to find mailboxes if present
Use autoconf to check for paths.h on all systems, instead of
only including it #ifdef CSRG_BASED
Makes _PATH_MAILDIR the preferred mail directory path on all systems
if it's defined, falls back to old per-system hardcoded paths if not.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 5891c6c..05937be 100644 --- a/configure.ac +++ b/configure.ac @@ -41,4 +41,7 @@ XORG_DEFAULT_OPTIONS # Checks for pkg-config packages PKG_CHECK_MODULES(XBIFF, xaw7 xmu xbitmaps xext x11) +# Checks for headers +AC_CHECK_HEADERS([paths.h]) + AC_OUTPUT([Makefile]) |