aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-06 03:17:10 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-06 03:17:10 +0800
commit92f47211fe15e0a2b3c489c022f42322063ca049 (patch)
tree0c7ff551e7580c4182b7404175f927ed9211f780
parent1421494ea6e96090d26597703022254ebead1ec8 (diff)
downloadgsoc2013-evolution-92f47211fe15e0a2b3c489c022f42322063ca049.tar
gsoc2013-evolution-92f47211fe15e0a2b3c489c022f42322063ca049.tar.gz
gsoc2013-evolution-92f47211fe15e0a2b3c489c022f42322063ca049.tar.bz2
gsoc2013-evolution-92f47211fe15e0a2b3c489c022f42322063ca049.tar.lz
gsoc2013-evolution-92f47211fe15e0a2b3c489c022f42322063ca049.tar.xz
gsoc2013-evolution-92f47211fe15e0a2b3c489c022f42322063ca049.tar.zst
gsoc2013-evolution-92f47211fe15e0a2b3c489c022f42322063ca049.zip
Make sure /var/mail isn't a symbolic link such as on Red Hat 7.
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. svn path=/trunk/; revision=10820
-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