summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 48365194..141b29cc 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -246,8 +246,6 @@ if test -z "$PAGE"; then
if test -n "$descfile" \
&& grep "^paperlength 841890" $descfile >/dev/null 2>&1; then
PAGE=A4
- else
- PAGE=letter
fi
fi
if test -z "$PAGE"; then
@@ -255,7 +253,8 @@ if test -z "$PAGE"; then
/etc/resolv.conf 2>/dev/null`
if test -z "$dom"; then
dom=`(domainname) 2>/dev/null | tr -d '+'`
- if test -z "$dom"; then
+ if test -z "$dom" \
+ || test "$dom" = '(none)'; then
dom=`(hostname) 2>/dev/null | grep '\.'`
fi
fi