48af41221f
Groff ----- o The argument of the command line option `-I' is now also passed to troff and grops, specifying a directory to search for files on the command line, files named in `so' and `psbb' requests, and files named in \X'ps: file' and \X'ps: import' escapes. o If option `-V' is used more than once, the commands will be both printed on standard error and run. Troff ----- o Two new read-only, string-valued registers `.m' and `.M' return the name of the current drawing and background color, respectively. o New read-only register `.U' which is set to 1 if in safer mode and set to 0 if in unsafe mode. o An input encoding file for latin-5 (a.k.a. ISO 8859-9) has been added. Example use: groff -Tdvi -mlatin5 my_file > my_file.dvi Note that some output devices don't support all glyphs of this encoding. o If the `return' request is called with an argument, it exits twice, namely the current macro and the macro one level higher. This is used to define a wrapper macro for `return' in trace.tmac. o For completeness, two new requests have been added: `dei1' and `ami1'. They are equivalent to `dei' and `ami', respectively, but the macros are executed with compatibility mode off (similar to `de1' and `am1'). o New command line option `-I' to specify a directory for files (both those on the command line and those named in `psbb' requests). This is also handled by the groff wrapper program. o Since version 1.19 you can say `.vs 0'. Older versions emit a warning and convert this to `.vs \n[.V]'. This hasn't been documented properly. Note that `.vs 0' isn't saved in a diversion since it doesn't result in vertical motion. Pic ___ o Dashed and dotted ellipses have been implemented. Tbl --- o New key character `x' to make tbl call a user-defined macro on a table cell. Patch by Heinz-Jürgen Oertel <hj.oertel@surfeu.de>. Grohtml ------- o New option `-j' to emit output splitted into multiple files. Grops ----- o New command line option `-I' to specify a directory to search for files on the command line and files named in \X'ps: import' and \X'ps: file' escapes. This is also handled by the groff wrapper program. o The default value for the `broken' keyword in the DESC file is now 0. Grolj4 ------ o A new man page `lj4_font(5)' documents how fonts are accessed with grolj4. o The built-in fonts for LJ4 and newer PCL 5 devices have been completely revised, mainly to access as much glyphs as possible. The provided metric files should be compatible with recent PCL 5 printers also. Additionally, font description files have been added for the Arial and Times New Roman family, the MS symbol, and Wingdings fonts. Hpftodit -------- o Completely revised to handle HP TrueType metric files also. See the hpftodit manual page for more details. Macro Packages -------------- o www.tmac: New macro `JOBNAME' to split output into multiple files. o In mdoc, multiple calls to `.Lb' are now supported in the LIBRARY section.
109 lines
2.7 KiB
Plaintext
109 lines
2.7 KiB
Plaintext
# Process this file with autoconf to produce a configure script.
|
|
AC_INIT
|
|
|
|
AC_CONFIG_HEADERS([src/include/config.h:src/include/config.hin])
|
|
AC_CONFIG_SRCDIR([src/roff/groff/groff.cpp])
|
|
|
|
# checks for programs
|
|
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
|
|
GROFF_INSTALL_INFO
|
|
AC_PROG_INSTALL
|
|
AC_PROG_LN_S
|
|
|
|
# use a dummy substitution if no csh hack is necessary to avoid errors
|
|
# 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])
|
|
|
|
# checks for headers
|
|
AC_CHECK_HEADERS([stdlib.h unistd.h dirent.h limits.h sys/dir.h \
|
|
string.h strings.h math.h sys/time.h direct.h process.h])
|
|
GROFF_ISC_SYSV3
|
|
GROFF_POSIX
|
|
|
|
# checks for header stuff
|
|
GROFF_SRAND
|
|
GROFF_NEED_DECLARATION([gettimeofday])
|
|
GROFF_NEED_DECLARATION([hypot])
|
|
GROFF_NEED_DECLARATION([popen])
|
|
GROFF_NEED_DECLARATION([pclose])
|
|
GROFF_NEED_DECLARATION([putenv])
|
|
GROFF_NEED_DECLARATION([rand])
|
|
GROFF_NEED_DECLARATION([snprintf])
|
|
GROFF_NEED_DECLARATION([srand])
|
|
GROFF_NEED_DECLARATION([strcasecmp])
|
|
GROFF_NEED_DECLARATION([strncasecmp])
|
|
GROFF_NEED_DECLARATION([vfprintf])
|
|
GROFF_NEED_DECLARATION([vsnprintf])
|
|
GROFF_SYS_NERR
|
|
GROFF_SYS_ERRLIST
|
|
GROFF_OSFCN_H
|
|
GROFF_LIMITS_H
|
|
GROFF_STDINT_H
|
|
GROFF_INTTYPES_H
|
|
|
|
# checks for typedefs
|
|
GROFF_UNSIGNED_LONG_LONG
|
|
GROFF_UINTMAX_T
|
|
GROFF_TIME_T
|
|
AC_TYPE_SIGNAL
|
|
GROFF_STRUCT_EXCEPTION
|
|
|
|
# checks for libraries
|
|
GROFF_LIBC
|
|
GROFF_LIBM
|
|
|
|
# checks for functions
|
|
AC_FUNC_MMAP
|
|
saved_libs="$LIBS"
|
|
LIBS="$LIBS $LIBC $LIBM"
|
|
AC_REPLACE_FUNCS([fmod getcwd putenv snprintf strcasecmp \
|
|
strerror strncasecmp strtol])
|
|
# vsnprintf is in the same source file as snprintf
|
|
AC_CHECK_FUNCS([vsnprintf], [], [AC_LIBOBJ([snprintf])])
|
|
LIBS="$saved_libs"
|
|
AC_CHECK_FUNCS([gettimeofday isatty kill rename setlocale strsep])
|
|
GROFF_MKSTEMP
|
|
AC_CHECK_DECLS([sys_siglist])
|
|
|
|
# checks for compiler characteristics
|
|
GROFF_ARRAY_DELETE
|
|
GROFF_TRADITIONAL_CPP
|
|
|
|
# checks for operating system services
|
|
GROFF_WCOREFLAG
|
|
|
|
# other random stuff
|
|
GROFF_BROKEN_SPOOLER_FLAGS
|
|
GROFF_PAGE
|
|
GROFF_G
|
|
GROFF_TMAC
|
|
GROFF_TARGET_PATH_SEPARATOR
|
|
GROFF_HTML_PROGRAMS
|
|
GROFF_PNMTOPS_NOSETPAGE
|
|
|
|
AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h])
|
|
AC_CONFIG_FILES([Makefile doc/Makefile src/xditview/Imakefile])
|
|
AC_CONFIG_FILES([test-groff], [chmod +x test-groff])
|
|
AC_OUTPUT
|
|
|
|
AC_MSG_NOTICE([
|
|
|
|
Configuration completed.
|
|
|
|
You can now say `make' to compile the groff package and `make install'
|
|
to install it afterwards.
|
|
|
|
If you want to compile xditview, change the directory to `src/xditview'
|
|
and follow the instructions given in the file `INSTALL'.
|
|
])
|