summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2013-01-28 08:55:53 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2013-01-28 08:55:53 +0100
commita7cd2d385922346d1a3c4ac56230544bb7f00ef9 (patch)
treea8a8012da2088ac4f3a83c4878f42e754af0ca42 /Configure
parentd907e2e99312aeebe2e1355d660e3271a67c8221 (diff)
downloadperl-a7cd2d385922346d1a3c4ac56230544bb7f00ef9.tar.gz
Let Configure honor the external MAILDOMAIN environment variable, if set.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure10
1 files changed, 7 insertions, 3 deletions
diff --git a/Configure b/Configure
index a3bd51c29a..7a6f63f25f 100755
--- a/Configure
+++ b/Configure
@@ -28,7 +28,7 @@
# See Porting/pumpkin.pod for more information on metaconfig.
#
-# Generated on Mon Dec 24 10:05:48 CET 2012 [metaconfig 3.5 PL0]
+# Generated on Mon Jan 28 08:54:06 CET 2013 [metaconfig 3.5 PL0]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -8835,9 +8835,13 @@ your organization...
EOM
cont=x
while test "$cont"; do
+ case "$MAILDOMAIN" in
+ '') maildomain="$myhostname$mydomain";;
+ *) maildomain="$MAILDOMAIN";;
+ esac
case "$cf_email" in
- '') dflt="$cf_by@$myhostname$mydomain";;
- *) dflt="$cf_email";;
+ '') dflt="$cf_by@$maildomain";;
+ *) dflt="$cf_email";;
esac
rp='What is your e-mail address?'
. ./myread