summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-06-26 06:01:03 +0000
committerwlemb <wlemb>2001-06-26 06:01:03 +0000
commitcda1c8789faf92c5cc53d77c3066c2cfc309550d (patch)
treee5ab4d68c8accd1c1828210a7ed3df2cafe20dd0 /aclocal.m4
parent5f89fe4c9f1077ef9e4c5e1a6756b3a74a26214e (diff)
downloadgroff-cda1c8789faf92c5cc53d77c3066c2cfc309550d.tar.gz
* aclocal.m4 (GROFF_PAGE): Fix page detection code.
* configure: Regenerated.
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