This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add the files from dist/meta to perl's repo
[metaconfig.git] / dist / U / maildir.U
1 ?RCS: $Id: maildir.U 1 2006-08-24 12:32:52Z rmanfredi $
2 ?RCS:
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
4 ?RCS: 
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
10 ?RCS:
11 ?RCS: $Log: maildir.U,v $
12 ?RCS: Revision 3.0.1.1  1993/12/15  08:21:56  ram
13 ?RCS: patch15: now also looks under /var/mail for BSD/386
14 ?RCS:
15 ?RCS: Revision 3.0  1993/08/18  12:09:09  ram
16 ?RCS: Baseline for dist 3.0 netwide release.
17 ?RCS:
18 ?MAKE:maildir maildirexp: Getfile Loc Oldconfig
19 ?MAKE:  -pick add $@ %<
20 ?S:maildir:
21 ?S:     This variable contains the name of the directory in which mail is
22 ?S:     spooled. Programs using this variable must be prepared to deal with
23 ?S:     ~name substitutions.
24 ?S:.
25 ?S:maildirexp:
26 ?S:     This is the same as the maildir variable, but is filename expanded
27 ?S:     at configuration time, for programs not willing to deal with it at
28 ?S:     run-time.
29 ?S:.
30 : determine where mail is spooled
31 case "$maildir" in
32 '') dflt=`./loc . /usr/spool/mail /usr/spool/mail /usr/mail /var/mail`;;
33 *) dflt="$maildir";;
34 esac
35 echo " "
36 fn=d~
37 rp='Where is yet-to-be-read mail spooled?'
38 . ./getfile
39 maildir="$ans"
40 maildirexp="$ansexp"
41