diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-04-17 12:12:05 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-04-17 12:12:05 +0000 |
commit | 1d5f6a94a87add2c3eb035043f48bb7fe1906661 (patch) | |
tree | f3137c4283de8869ebcae1dd0fe43f590276c1dc /contrib/groff/aclocal.m4 | |
parent | c8d1b47c7fde3a8a3f5530bd5e3939bba340ab4b (diff) |
Virgin import of FSF groff v1.17
Notes
Notes:
svn path=/vendor/groff/dist/; revision=75584
Diffstat (limited to 'contrib/groff/aclocal.m4')
-rw-r--r-- | contrib/groff/aclocal.m4 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/contrib/groff/aclocal.m4 b/contrib/groff/aclocal.m4 index 1cd92ce2e7cf..34ee4f1f7788 100644 --- a/contrib/groff/aclocal.m4 +++ b/contrib/groff/aclocal.m4 @@ -1,5 +1,5 @@ dnl Autoconf macros for groff. -dnl Copyright (C) 1989, 1990, 1991, 1992, 1995 Free Software Foundation, Inc. +dnl Copyright (C) 1989-1995, 2001 Free Software Foundation, Inc. dnl dnl This file is part of groff. dnl @@ -129,15 +129,12 @@ AC_LANG_RESTORE])dnl dnl dnl AC_DEFUN(GROFF_SYS_ERRLIST, -[AC_LANG_SAVE -AC_LANG_CPLUSPLUS -AC_MSG_CHECKING([for sys_errlist[] in <errno.h> or <stdio.h>]) +[AC_MSG_CHECKING([for sys_errlist[] in <errno.h> or <stdio.h>]) AC_TRY_COMPILE([#include <errno.h> #include <stdio.h>], [int k; k = (int)sys_errlist[0];], AC_MSG_RESULT(yes);AC_DEFINE(HAVE_SYS_ERRLIST), -AC_MSG_RESULT(no)) -AC_LANG_RESTORE])dnl +AC_MSG_RESULT(no))])dnl dnl dnl AC_DEFUN(GROFF_OSFCN_H, @@ -238,6 +235,13 @@ if test -z "$PAGE"; then descfile=$prefix/share/groff/font/devps/DESC elif test -r $prefix/lib/groff/font/devps/DESC; then descfile=$prefix/lib/groff/font/devps/DESC + else + for f in $prefix/share/groff/*/font/devps/DESC; do + if test -r $f; then + descfile=$f + break + fi + done fi if test -n "$descfile" \ && grep "^paperlength 841890" $descfile >/dev/null 2>&1; then |