Changed to use test -h instead of -L for checking /var/mail vs

2001-07-16  Not Zed  <NotZed@Ximian.com>

        * configure.in: Changed to use test -h instead of -L for checking
        /var/mail vs /var/spool/mail

svn path=/trunk/; revision=11118
This commit is contained in:
Not Zed
2001-07-16 03:24:11 +00:00
committed by Michael Zucci
parent a3bc79cacc
commit 4f04fb23bb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-07-16 Not Zed <NotZed@Ximian.com>
* configure.in: Changed to use test -h instead of -L for checking
/var/mail vs /var/spool/mail
2001-07-13 JP Rosevear <jpr@ximian.com>
* NEWS: more updates

View File

@ -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 -a '!' -L /var/mail ; then
if test -d /var/mail -a '!' -h /var/mail ; then
system_mail_dir=/var/mail
else
system_mail_dir=/var/spool/mail