diff options
author | wlemb <wlemb> | 2001-06-26 06:01:03 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-06-26 06:01:03 +0000 |
commit | cda1c8789faf92c5cc53d77c3066c2cfc309550d (patch) | |
tree | e5ab4d68c8accd1c1828210a7ed3df2cafe20dd0 /aclocal.m4 | |
parent | 5f89fe4c9f1077ef9e4c5e1a6756b3a74a26214e (diff) | |
download | groff-cda1c8789faf92c5cc53d77c3066c2cfc309550d.tar.gz |
* aclocal.m4 (GROFF_PAGE): Fix page detection code.
* configure: Regenerated.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |