From 92f47211fe15e0a2b3c489c022f42322063ca049 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 5 Jul 2001 19:17:10 +0000 Subject: Make sure /var/mail isn't a symbolic link such as on Red Hat 7. 2001-07-05 Peter Williams * configure.in (SYSTEM_MAIL_DIR): Make sure /var/mail isn't a symbolic link such as on Red Hat 7. svn path=/trunk/; revision=10820 --- ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ccfa389d1b..bf419f7aa4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-07-05 Peter Williams + + * 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 * 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 -- cgit