aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index b2bc4fd1da..0b24585512 100644
--- a/configure.in
+++ b/configure.in
@@ -115,7 +115,7 @@ AC_PATH_PROG(SENDMAIL, sendmail, /usr/sbin/sendmail, /usr/sbin:/usr/lib)
AC_DEFINE_UNQUOTED(SENDMAIL_PATH, "$SENDMAIL")
AC_MSG_CHECKING(system mail directory)
-if test -d /var/mail; then
+if test -d /var/mail -a '!' -L /var/mail ; then
system_mail_dir=/var/mail
else
system_mail_dir=/var/spool/mail