summaryrefslogtreecommitdiff
path: root/aclocal.m4
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.in: Move check for mkstemp() to...wlemb2001-04-201-0/+12
| | | | | | | | | | | | | | | | * 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'.
* Removing the grohtml-old device driver which is now obsolete.wlemb2001-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/devices/grohtml-old/*: Removed. * font/devhtml-old/*: Removed. * src/libgroff/htmlindicate.cc (graphic_start, graphic_end): Remove comments. * Makefile.in (CCPROGDIRS, DEVDIRS): Updated. * test-groff (PATH): Updated. * tmac/Makefile.sub (NORMALFILES): Updated. * tmac/an-old.tmac: Remove special code for html-old device. Replace `html-or-html-old' register with `an-html'. * tmac/eqnrc: Updated. * tmac/html-old.tmac: Removed. * tmac/troffrc, tmac/troffrc-end: Updated. * tmac/www.tmac: Remove special code for html-old device. Replace `html-or-html-old' register with `www-html'. * src/libgroff/tmpfile.cc (remove_tmp_files), src/libgroff/htmlindicate.cc (graphic_end), include/htmlindicate.h, src/preproc/grn/*.cc, src/roff/groff/env.{cc,h}: Remove `void' parameter if used as a single argument for consistency with rest of source code. * aclocal.m4, tmac/an-old.tmac: Fix copyright. * src/roff/troff/troff.man: Fixing typos.
* For security reasons, don't use the current directory but the homewlemb2000-11-131-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+7
| | | | | | | * 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.
* Replaced specific checks for function declarations with a genericwlemb2000-06-111-45/+38
| | | | | | | | | | | | | | | 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-0/+13
| | | | | | | | | | | | | | 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-2/+1
| | | | | | | | | | 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-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-14/+68
| | | | | | | | | 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.
* Adding GNU getopt to the groff distribution.wlemb2000-02-291-17/+0
| | | | | | | | | | | | | | | | | | * 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/+464