[svn-upgrade] Integrating new upstream version, shadow (4.0.6)

This commit is contained in:
nekral-guest
2007-10-07 11:45:49 +00:00
parent b0e078d9c8
commit 164b557066
133 changed files with 366 additions and 4700 deletions
+10 -6
View File
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT
AM_INIT_AUTOMAKE(shadow, 4.0.5)
AM_INIT_AUTOMAKE(shadow, 4.0.6)
AC_CONFIG_HEADERS([config.h])
dnl Some hacks...
@@ -131,20 +131,24 @@ fi
fi
AC_CACHE_CHECK([location of shared mail directory], shadow_cv_maildir,
[for maildir in /var/mail /var/spool/mail /usr/spool/mail /usr/mail none; do
if test -d $maildir; then
[for shadow_cv_maildir in /var/mail /var/spool/mail /usr/spool/mail /usr/mail none; do
if test -d $shadow_cv_maildir; then
break
fi
done])
AC_DEFINE_UNQUOTED(MAIL_SPOOL_DIR, "$shadow_cv_maildir")
if test $shadow_cv_maildir != none; then
AC_DEFINE_UNQUOTED(MAIL_SPOOL_DIR, "$shadow_cv_maildir")
fi
AC_CACHE_CHECK([location of user mail file], shadow_cv_mailfile,
[for mailfile in Mailbox mailbox Mail mail .mail none; do
[for shadow_cv_mailfile in Mailbox mailbox Mail mail .mail none; do
if test -f $HOME/$shadow_cv_mailfile; then
break
fi
done])
AC_DEFINE_UNQUOTED(MAIL_SPOOL_FILE, "$shadow_cv_mailfile")
if test $shadow_cv_mailfile != none; then
AC_DEFINE_UNQUOTED(MAIL_SPOOL_FILE, "$shadow_cv_mailfile")
fi
AC_CACHE_CHECK([location of utmp], shadow_cv_utmpdir,
[for utmpdir in /var/run /var/adm /usr/adm /etc none; do