aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ccfa389d1b..bf419f7aa4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-05 Peter Williams <peterw@ximian.com>
+
+ * configure.in (SYSTEM_MAIL_DIR): Make sure /var/mail
+ isn't a symbolic link such as on Red Hat 7.
+
2001-07-05 Christopher James Lahey <clahey@ximian.com>
* configure.in: Upped the required version of gal.
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