From 4434c06e069d65e39e93c0b5c69747b278190175 Mon Sep 17 00:00:00 2001 From: Dan Harkless Date: Mon, 4 Oct 1999 22:23:29 +0000 Subject: [PATCH] Added '-L' to the calls of 'ls' in configure.in -- I have seen multiple machines in the past where the mail spool was a symlink to a directory on another device with more free space. --- ChangeLog | 6 ++++++ configure | 4 ++-- configure.in | 4 ++-- stamp-h.in | 1 + 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7931935..3c4f423 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Oct 4 15:22:46 1999 Dan Harkless + + * Added '-L' to the calls of 'ls' in configure.in -- I have seen + multiple machines in the past where the mail spool was a symlink + to a directory on another device with more free space. + Fri Oct 1 22:36:56 1999 Dan Harkless * Fixed a portability problem in Doug's fix of a portability diff --git a/configure b/configure index f4bf559..967f80b 100755 --- a/configure +++ b/configure @@ -1640,7 +1640,7 @@ echo "configure:1640: checking whether the mail spool is world-writable" >&5 if eval "test \"`echo '$''{'nmh_cv_mailspool_world_writable'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - if test "`$lspath -dl $mailspool | $cutpath -c9`" = "-"; then + if test "`$lspath -dlL $mailspool | $cutpath -c9`" = "-"; then nmh_cv_mailspool_world_writable=no else nmh_cv_mailspool_world_writable=yes @@ -1663,7 +1663,7 @@ echo "configure:1663: checking what group owns the mail spool" >&5 if eval "test \"`echo '$''{'nmh_cv_ls_mail_grp'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - nmh_cv_ls_mail_grp=`$lspath -d $nmh_cv_ls_grpopt $mailspool |$AWK '{print $4}'` + nmh_cv_ls_mail_grp=`$lspath -dL $nmh_cv_ls_grpopt $mailspool|$AWK '{print $4}'` if test x$nmh_cv_ls_mail_grp = xmail; then MAIL_SPOOL_GRP="mail" elif test x$nmh_cv_ls_mail_grp = xwheel; then diff --git a/configure.in b/configure.in index 0904f1b..d4b924d 100644 --- a/configure.in +++ b/configure.in @@ -246,7 +246,7 @@ dnl See whether the mail spool directory is world-writable. if test "$lspath" != "no" -a "$cutpath" != "no"; then AC_CACHE_CHECK(whether the mail spool is world-writable, nmh_cv_mailspool_world_writable, - [if test "`$lspath -dl $mailspool | $cutpath -c9`" = "-"; then + [if test "`$lspath -dlL $mailspool | $cutpath -c9`" = "-"; then nmh_cv_mailspool_world_writable=no else nmh_cv_mailspool_world_writable=yes @@ -263,7 +263,7 @@ AC_SUBST(SETGID_MAIL)dnl dnl see if we can determine which group owns the mail spool dir AC_CACHE_CHECK(what group owns the mail spool, nmh_cv_ls_mail_grp, -[nmh_cv_ls_mail_grp=`$lspath -d $nmh_cv_ls_grpopt $mailspool |$AWK '{print $4}'` +[nmh_cv_ls_mail_grp=`$lspath -dL $nmh_cv_ls_grpopt $mailspool|$AWK '{print $4}'` dnl Should we just set it to whatever ls reports, rather than only allowing dnl certain values...? if test x$nmh_cv_ls_mail_grp = xmail; then diff --git a/stamp-h.in b/stamp-h.in index e69de29..8b13789 100644 --- a/stamp-h.in +++ b/stamp-h.in @@ -0,0 +1 @@ + -- 1.7.10.4