diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-07-10 17:10:51 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-07-10 17:10:51 +0000 |
commit | 75fdaafb19887d643a8ece0d684fd4b76ace7264 (patch) | |
tree | 37668264f55a3d91ff2def01b6ded7f65ab04fae /contrib/groff | |
parent | 5ecb0ad24ff062000e7bae1c5681a97f6d37025c (diff) | |
download | src-test2-75fdaafb19887d643a8ece0d684fd4b76ace7264.tar.gz src-test2-75fdaafb19887d643a8ece0d684fd4b76ace7264.zip |
Notes
Diffstat (limited to 'contrib/groff')
-rw-r--r-- | contrib/groff/configure.in | 62 | ||||
-rw-r--r-- | contrib/groff/src/devices/grohtml/html-chars.h | 27 | ||||
-rw-r--r-- | contrib/groff/src/utils/indxbib/dirnamemax.c | 49 |
3 files changed, 0 insertions, 138 deletions
diff --git a/contrib/groff/configure.in b/contrib/groff/configure.in deleted file mode 100644 index 92024e039202..000000000000 --- a/contrib/groff/configure.in +++ /dev/null @@ -1,62 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_INIT(src/roff/groff/groff.cc) -dnl checks for programs -GROFF_SRCDIR -GROFF_BUILDDIR -AC_PROG_CC -AC_PROG_CXX -GROFF_CXX_CHECK -GROFF_EBCDIC -GROFF_OS390 -GROFF_PRINT -AC_PATH_PROG(PERLPATH, perl, /usr/bin/perl) -GROFF_PROG_YACC -AC_PROG_RANLIB -GROFF_INSTALL_SH -AC_PROG_INSTALL -AC_PROG_LN_S -dnl use a dummy substitution if no csh hack is necessary to avoid errors -dnl with non-GNU sed programs -GROFF_CSH_HACK(SH_SCRIPT_SED_CMD='1s/.*/:/', SH_SCRIPT_SED_CMD='1s/a/a/') -AC_SUBST(SH_SCRIPT_SED_CMD) -dnl checks for headers -AC_CHECK_HEADERS(stdlib.h unistd.h dirent.h limits.h sys/dir.h \ - string.h strings.h math.h) -GROFF_ISC_SYSV3 -GROFF_POSIX -GROFF_SRAND -GROFF_NEED_DECLARATION(hypot) -GROFF_NEED_DECLARATION(popen) -GROFF_NEED_DECLARATION(pclose) -GROFF_NEED_DECLARATION(putenv) -GROFF_NEED_DECLARATION(strncasecmp) -GROFF_SYS_NERR -GROFF_SYS_ERRLIST -GROFF_OSFCN_H -GROFF_LIMITS_H -dnl checks for typedefs -GROFF_TIME_T -AC_TYPE_SIGNAL -GROFF_STRUCT_EXCEPTION -dnl checks for libraries -GROFF_LIBM -dnl checks for functions -AC_FUNC_MMAP -saved_libs="$LIBS" -LIBS="$LIBS -lc $LIBM" -AC_REPLACE_FUNCS(fmod strtol getcwd strerror putenv) -LIBS="$saved_libs" -AC_CHECK_FUNCS(rename mkstemp strcasecmp strncasecmp strsep strdup) -AC_DECL_SYS_SIGLIST -dnl checks for compiler characteristics -GROFF_ARRAY_DELETE -GROFF_TRADITIONAL_CPP -dnl checks for operating system services -GROFF_WCOREFLAG -dnl other random stuff -GROFF_BROKEN_SPOOLER_FLAGS -GROFF_PAGE -GROFF_G -GROFF_TMAC -$srcdir/mkinstalldirs src/xditview -AC_OUTPUT(Makefile src/xditview/Imakefile) diff --git a/contrib/groff/src/devices/grohtml/html-chars.h b/contrib/groff/src/devices/grohtml/html-chars.h deleted file mode 100644 index f58f8dcc20a8..000000000000 --- a/contrib/groff/src/devices/grohtml/html-chars.h +++ /dev/null @@ -1,27 +0,0 @@ -// -*- C++ -*- -/* Copyright (C) 2000, 2001 Free Software Foundation, Inc. - * - * Gaius Mulley (gaius@glam.ac.uk) wrote output.cc - * but it owes a huge amount of ideas and raw code from - * James Clark (jjc@jclark.com) grops/ps.cc. - * - * html-chars.h - * - * provides a diacritical character combination table for html - */ - - - -struct diacritical_desc { - char *mark; - char *second_troff_char; - char translation; -}; - - -static struct diacritical_desc diacritical_table[] = { - { "ad" , "aeiouyAEIOU" , ':' , }, /* */ - { "ac" , "cC" , ',' , }, /* cedilla */ - { "aa" , "aeiouyAEIOU" , '\'' , }, /* acute */ - { NULL , NULL , (char)0, }, -}; diff --git a/contrib/groff/src/utils/indxbib/dirnamemax.c b/contrib/groff/src/utils/indxbib/dirnamemax.c deleted file mode 100644 index a8cd9923c469..000000000000 --- a/contrib/groff/src/utils/indxbib/dirnamemax.c +++ /dev/null @@ -1,49 +0,0 @@ -/* dir_name_max(dir) does the same as pathconf(dir, _PC_NAME_MAX) */ - -#include <sys/types.h> - -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif /* HAVE_UNISTD_H */ - -#ifdef _POSIX_VERSION - -long dir_name_max(dir) - char *dir; -{ - return pathconf(dir, _PC_NAME_MAX); -} - -#else /* not _POSIX_VERSION */ - -#ifdef HAVE_LIMITS_H -#include <limits.h> -#endif /* HAVE_LIMITS_H */ - -#ifdef HAVE_DIRENT_H -#include <dirent.h> -#else /* not HAVE_DIRENT_H */ -#ifdef HAVE_SYS_DIR_H -#include <sys/dir.h> -#endif /* HAVE_SYS_DIR_H */ -#endif /* not HAVE_DIRENT_H */ - -#ifndef NAME_MAX -#ifdef MAXNAMLEN -#define NAME_MAX MAXNAMLEN -#else /* !MAXNAMLEN */ -#ifdef MAXNAMELEN -#define NAME_MAX MAXNAMELEN -#else /* !MAXNAMELEN */ -#define NAME_MAX 14 -#endif /* !MAXNAMELEN */ -#endif /* !MAXNAMLEN */ -#endif /* !NAME_MAX */ - -long dir_name_max(dir) - char *dir; -{ - return NAME_MAX; -} - -#endif /* not _POSIX_VERSION */ |