summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* * src/preproc/tbl/tbl.man: Minor documentation update.wlemb2001-08-131-208/+303
| | | | | | | | * src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday(). * configure.ac: Add declaration test for gettimeofday(). * Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines. * aclocal.m4: Include sys/time.h for gettimeofday declaration test. * configure: Regenerated.
* * aclocal.m4 (GROFF_MKSTEMP): Define HAVE_MKSTEMP.wlemb2001-08-131-172/+249
| | | | | | | | | * configure.ac: Add declaration test for strcasecmp(). * Makefile.in: Updated. * configure: Regenerated. * src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() -- this is necessary because groff's mkstemp.cc is C++. Add declaration conditionally for strcasecmp().
* * aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.wlemb2001-07-251-15/+21
| | | | | | | | | * src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET. * Makefile.in: Comment updated. * configure: Regenerated. * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour name instead of number.
* * src/libs/libgroff/tmpname.cc: New file, defining get_tempname().wlemb2001-07-201-144/+241
| | | | | | | | | | | | | | | | | | | | | | | | * src/libs/libgroff/mkstemp.cc: New file. * src/libs/libgroff/mksdir.cc: New file. * src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed. (xtmpfile) [!HAVE_MKSTEMP]: Removed. * src/libs/libgroff/Makefile.sub: Updated. * src/include/lib.h: Add mksdir() prototype. * src/include/posix.h: Define S_IXUSR if not yet defined. * src/preproc/html/pre-html.cc (MAX_RETRIES): Removed. (createAllPages): Use mksdir() instead of current code. * src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed. (main): [!HAVE_MKSTEMP]: Removed. * aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file. (GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New macros. * configure.ac: Add tests for stdint.h, sys/time.h, and gettimeofday(). Call new GROFF_xxx macros. * configure: Regenerated. * Makefile.in: Comments updated.
* Replace strdup() with strsave().wlemb2001-07-161-1/+1
| | | | | | | | | | | | | | * src/devices/grolbp/lbp.cc [!HAVE_STRDUP]: Removed. (set_papersize): Use strsave() and a_delete. (main): Use strsave(). * src/preproc/html/pre-html.cc (make_message, createAllPages, removeAllPages): Use strsave() and a_delete. * configure.ac: Remove test for strdup. * configure: Regenerated. * win32-diffs: Updated.
* * aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS withwlemb2001-06-261-213/+206
| | | | | AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++). * configure: Regenerated.
* * aclocal.m4 (GROFF_PAGE): Fix page detection code.wlemb2001-06-261-18/+17
| | | | * configure: Regenerated.
* * aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.groff-1_17_1wlemb2001-06-211-199/+194
| | | | * configure: Updated.
* Updated to autoconf 2.50.wlemb2001-06-081-1751/+3608
| | | | | | | | * configure.in: Renamed to... * configure.ac: This. * aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed. (GROFF_OS390): Updated. * configure: Regenerated.
* * configure.in: Move check for mkstemp() to...wlemb2001-04-201-18/+89
| | | | | | | | | | | | | | | | * aclocal.m4 (GROFF_MKSTEMP): This new function. * configure: Regenerated. * src/include/groff-getopt.h: Don't use variable names in declarations. * configure.in: Add special check for mkstemp(). * src/libs/libgroff/tmpfile.cc: Use it. * src/utils/indxbib/indxbib.cc: Ditto. * src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style. * src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use `const'.
* For security reasons, don't use the current directory but the homewlemb2000-11-131-68/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directory while searching and scanning troffrc and troffrc-end. Similarly, replace the current directory with the home directory in the font path. * Makefile.in (fontpath, tmacpath): Remove current directory. * src/libs/libgroff/searchpath.cc (search_path::search_path): Add two parameters `add_home' and `add_current'. (search_path::~search_path, search_path::command_line_dir, search_path::open_file): Remove tests for `dirs' being zero. * src/include/searchpath.h: Adjust. * src/libs/libgroff/macropath.cc, src/include/macropath.h: Add `safer_macro_path'. * src/libs/libgroff/fontfile.cc: Adjust `font_path'. * src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'. * src/roff/troff/input.cc: Use `mac_path', initialized with `macro_path'. (process_startup_file): Set `mac_path' to `safer_macro_path'. * src/roff/troff/env.cc: Use `mac_path'. * src/preproc/eqn/main.cc (main): Use `safer_macro_path'. * NEWS, man/roff.man, src/roff/troff/troff.man, src/rof/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README: Updated. * src/include/lib.h: Don't include groff-getopt.h for OSF/1. * aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++. * configure.in: Fix typo in comment. * configure: Regenerated. * src/libgroff/*, src/include/*, src/roff/troff/*: Fixing copyright dates.
* * aclocal.m4 (GROFF_PAGE): Add test for new directory structure.wlemb2000-10-231-3/+10
| | | | | | | * configure: Updated. * arch/djgpp/README, font/devutf8/NOTES: Use it. * man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and @MACRODIR@ instead of hard-coded directories.
* * configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMDwlemb2000-08-181-1/+1
| | | | | | | | | | since some non-GNU sed programs can't handle null regexps. * configure, src/preproc/eqn/Makefile.sub, src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated. * src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf bug (string.h and strings.h are both needed according to latest POSIX standard).
* Replaced specific checks for function declarations with a genericwlemb2000-06-111-130/+295
| | | | | | | | | | | | | | | routine taken from GNU bfd. * aclocal.m4 (GROFF_NEED_DECLARATION): New function. GROFF_PUTENV, GROFF_POPEN, GROFF_PCLOSE, GROFF_HYPOT: Removed. * configure.in: Use it. * src/devices/grolbp/lbp.cc, src/include/lib.h, src/preproc/grn/hgraph.cc, src/preproc/pic/pic.h, src/roff/groff/groff.cc: Use it. * Makefile.in, configure: Updated. * src/devides/grolbp/lbp.h: Removed unused variables.
* * src/devices/grolbp/lbp.cc (set_papersizes): Add declaration ofwlemb2000-05-311-60/+99
| | | | | | | | | | | | | | strncasecmp(). * aclocal.m4 (GROFF_SRAND): New function to test the return value of srand() -- at least SunOS 4.1.3 uses `int' instead of `void'. * configure.in: Use it. * src/preproc/pic/pic.y, src/preproc/pic/pic.cc: Use it. * configure, Makefile.in: Updated. * configure.in: Add test for strncasecmp(). * src/include/lib.h: Use it.
* * tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @MANxEXT@wlemb2000-05-021-108/+106
| | | | | | | | | | expansion. * NEWS: Document the three new man pages. * aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call. * configure: Updated. * font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
* * src/devices/grotty/grotty.man: Add cp1047 device.wlemb2000-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc: Ditto. * src/roff/groff/groff.man: Ditto. * src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto. * doc/groff.texinfo: Ditto. * tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space) for cp1047. * man/groff_char.man: Add `pc' glyph. * tmac/tmac.latin1: Replacing `md' glyph with `pc'. * tmac/tmac.tty: Add `pc' glyph. * tmac/tmac.tty-char: Use/add `pc' glyph. Don't call tmac.latin1 if we use cp1047 output device. * Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since there are still hardcoded latin1->unicode values in utf8's font definition files. * configure: Updated. * NEWS: Minor clarification. Updated. * PROBLEMS: Formatted. Added info about C++ fix pack for OS/390 Unix.
* Adding EBCDIC code page 1047.wlemb2000-04-291-98/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fonts/devcp1047/R.proto, fonts/devcp1047/Makefile.sub, fonts/devcp1047/DESC.proto: New files. * aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be either ascii/latin1 or cp1047. * Makefile.in: Use it. * configure: Updated. Replacing and/or adding `md' (mathdot) glyph with `pc' (periodcentered) in all text fonts. * fonts/*/*: Change it. * aclocal.m4 (GROFF_OS390): Fixing compiler flags. * configure.in: Add check for strings.h. * src/include/driver.h: Use HAVE_STRINGS_H. * src/devices/grolbp/lpb.cc: Remove string.h. * src/include/groff-getopt.h: New file. It will be used instead of getopt.h (to be included in lib.h) to avoid endless problems with picky C++ compilers. * src/include/lib.h: Use groff-getopt.h. * src/include/Makefile.sub: Updated. * configure: Updated. * Makefile.in: Updated. * NEWS: Mention EBCDIC support. * TODO: Some additions. * src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation of mso request. * src/roff/troff/troff.man: Minor fixes.
* * aclocal.m4: Added GROFF_EBCDIC and GROFF_OS390 tests.wlemb2000-04-141-127/+165
| | | | | | | | | Redefined AC_OUTPUT_MAKE_DEFS to replace ASCII character `012' with the generic `n' if under OS/390 Unix. * configure.in: Call GROFF_EBCDIC and GROFF_OS390. * configure: Regenerated.
* * configure.in: Added test for strdup.wlemb2000-03-141-1/+1
| | | | | | | | | * src/devices/grolbp/lbp.cc: Added a strdup() version in case none is available. Replaced dynamic allocation of arrays `[...]' with `new' operator. Other minor fixes.
* * tmac/groff_man.man: Completely revised to cover everything inwlemb2000-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | tmac.an. Adding a request `evc' to copy environments. * src/roff/troff/env.cc (environment::copy, environment_copy): Implement it. * src/roff/troff/env.h: Add prototype. Adding strsep() -- Solaris 8 doesn't have it. * configure.in: Test it. * src/devices/grolbp/lbp.cc: Add code. * NEWS, PROJECTS: Updated.
* * Makefile.in: Fixing $(subdir).wlemb2000-03-031-2/+3
| | | | | | | | | | * README, NEWS: Small fixes. * test-groff: Adding path to grolbp. * configure.in: The (new) file src/xditview/Imakefile.in will be also configured -- it is now possible to build gxditview in a directory different from $srcdir.
* Adding GNU getopt to the groff distribution.wlemb2000-02-291-132/+68
| | | | | | | | | | | | | | | | | | * src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}: New files. * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update. * aclocal.a4: Remove GROFF_GETOPT function. * configure.in, Makefile.in, PROBLEMS: Update. * src/include/lib.h: Replace getopt tests with getopt.h. * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h. * doc/groff.texinfo: Further checking/updating. Adding more index entries. * src/devices/grolbp/grolbp.man: Added a comment line at the beginning of the file (similar to shell scripts) which indicates that `tbl' should be used as a preprocessor.
* Initial revisionwlemb2000-02-061-0/+2965