diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2013-05-08 16:12:56 +0200 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2013-05-09 11:20:41 -0400 |
commit | 9a5c46146d935367e11adc26f66953ee0f87ef6e (patch) | |
tree | abfd20bf554dabae9874ec2f01f75f93b2b6f6b8 /Configure | |
parent | c6c6975ea49b129f0bdacbb49075b92e5100883b (diff) | |
download | perl-9a5c46146d935367e11adc26f66953ee0f87ef6e.tar.gz |
maildomain to support /etc/mailname
Now backported to upstream dist/meta
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -8868,7 +8868,13 @@ EOM cont=x while test "$cont"; do case "$MAILDOMAIN" in - '') maildomain="$myhostname$mydomain";; + '') + if $test -s /etc/mailname; then + maildomain=`$cat /etc/mailname` + else + maildomain="$myhostname$mydomain" + fi + ;; *) maildomain="$MAILDOMAIN";; esac case "$cf_email" in |