summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.in, m4/groff.m4: Add `@libprogramdir@' andbwarken2013-04-301-4/+7
| | | | | | | | | `$libprogramdir' (usually `/usr/local/lib/groff'). Change `$libdir/groff' into $libprogramdir for several `groff' programs. Run `autoreconf -I m4'. src/roff/groff/MAkefile.sub: Add $(DESTDIR) and $(srcdir) in order to support installation outside of source code.
* Various minor fixes.wl2013-04-261-2/+0
| | | | | | * INSTALL.gen: Take the newest version from the `gnulib' repository. * configure: Regenerated.
* iUse suitable versions of `GNU autotools' to generate the neededbwarken2013-04-151-7/+9
| | | | configuration files.
* Add Perl test to the configuration.bwarken2013-04-141-43/+233
|
* `grog': In the following, the file `grog.pl' will be split. Forbwarken2013-04-121-0/+3
| | | | | | | | | | | the coming files, a lib-directory is needed for storage. m4/groff.m4, configure.ac: Add libdir information for `grog'. Makefile.in: Add @grog_dir@. Run `autoconf'. `grog' has now a lib-directory at `$prefix/lib/groff/grog'.
* Run `autoconf' again.bwarken2013-03-291-1/+4
| | | | Published version is `v1.0'.
* Version 1.22.2 releasedgroff-1_22_2_realwl2013-02-081-11/+11
| | | | | | | | | | | | ======================= * NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated. * configure: Regenerated. * doc/texinfo.tex: Updated from `texinfo' repository. * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
* Version 1.22 releasedgroff-1_22wl2012-12-281-135/+139
| | | | | | | | | | | | | | | | ===================== * NEWS, VERSION, doc/groff.texinfo, doc/webpage.ms: Updated. * config.guess, config.sub: Updated from `config' repository. * INSTALL.gen: Updated from `gnulib' repository (file `INSTALL'). * aclocal.m4, configure: Regenerated. * doc/texinfo.tex: Updated from `texinfo' repository. * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
* Update configuration files from `gnulib' and `config' repositories..wl2012-02-261-214/+652
| | | | | | | | | | | | | | | | | | | | | | | This also fixes a problem with `iconv' on Solaris 10, as reported in http://lists.gnu.org/archive/html/bug-groff/2012-02/msg00007.html * configure.ac: Call `gl_LOCALCHARSET. Call `AM_ICONV' as C++. * config.guess, config.rpath, config.sub, install-sh, mkinstalldirs: Updated. * m4/codeset.m4, m4/glib21.m4, m4/iconv.m4, m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: Updated. * m4/fcntl-o.m4, m4/localcharset.m4: New files. * Makefile.in: Updated. * src/include/localcharset.h, src/libs/libgroff/config.charset, src/libs/libgroff/localcharset.c: Updated. * aclocal.m4, configure, src/include/config.hin: Regenerated.
* groffer: remove hardcoded path to 'libdir/groff/groffer' directory.bwarken2011-03-211-21/+36
|
* Version 1.21 releasedgroff-1_21wl2010-12-311-11/+11
| | | | | | | ===================== * NEWS, REVISION, VERSION, doc/groff.texinfo, doc/webpage.ms: Updated. * aclocal.m4, configure: Regenerated.
* * configure: Regenerate with autoconf 2.67.wl2010-12-311-5553/+2471
|
* Make groff compile on Interix.wl2009-06-251-561/+1548
| | | | | | | | | | Reported by Jay Krell <jay.krell@cornell.edu>. * configure.ac: Call AC_USE_SYTEM_EXTENSIONS. * src/include/lib.h [__INTERIX]: Define _ALL_SOURCE. * configure: Regenerated.
* Improve configuration.wl2009-03-071-16/+39
| | | | | | | | | | | * configure.ac: Read `VERSION' and `REVISION' files to provide proper values for AC_INIT. * Makefile.in: Use `@datarootdir@' and `@docdir@' so that configure's `--datarootdir' and `--docdir' options are honoured. Documentation is now by default installed into something like `/usr/local/share/doc/groff-1.20.1'. * configure: Regenerated.
* Remove heuristics for LIBEXT.wl2009-01-061-0/+5
| | | | | | | * configure.ac: Provide LIBEXT. * Makefile.in: Use it. * configure: Regenerated.
* * config.rpath, m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4,wl2009-01-021-2120/+2704
| | | | | | | | | m4/lib-link.m4, m4/lib-prefix.m4, src/include/localcharset.h, src/libs/libgroff/config.charset, src/libs/libgroff/localcharset.c, src/libs/libgroff/ref-add.sin, src/libs/libgroff/ref-del.sin: Updated from `gnulib' git repository. * configure: Regenerated.
* * src/devices/xditview/TODO, NEWS: Updated.wl2007-06-121-4072/+4071
| | | | | | | | | | | | | | | | | * src/devices/xditview/Makefile.sub (install_data, uninstall_sub): Handle `GXditview-color'. * src/devices/xditview/gxditview.man: Updated. * m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated. * m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated from `gnulib' git repository. * configure.ac: Updated. * configure: Regenerated (using autoconf 2.61). * config.guess, config.sub: Updated from `config' CVS repository. * config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git repository.
* * configure: Regenerated.wl2006-08-191-25/+10
|
* * configure.ac: Call AC_PROG_EGREP.wl2006-03-281-205/+205
| | | | | | | | | | | | | * configure: Regenerated. * Makefile.in (EGREP): New variable. (MDEFINES): Add $(EGREP). * src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly (bug reported by Robert Goulding <Goulding.2@nd.edu>). Use @EGREP@. * src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
* * Makefile.in: Add comment about DESTDIR.wl2006-02-261-1/+1
| | | | | | | | | | | | | | | | | | * Makefile.sub: Add DESTDIR to install and uninstall targets to support staged installations. * Makefile.comm: Likewise. * doc/Makefile.sub: Likewise. * contrib/eqn2graph/Makefile.sub: Likewise. * contrib/gdiffmk/Makefile.sub: Likewise. * contrib/grap2graph/Makefile.sub: Likewise. * contrib/pic2graph/Makefile.sub: Likewise. * src/devices/xditview/Makefile.sub: Likewise. * src/preproc/eqn/Makefile.sub: Likewise. * src/roff/grog/Makefile.sub: Likewise. * src/roff/nroff/Makefile.sub: Likewise. * src/utils/afmtodit/Makefile.sub: Likewise. * src/utils/indxbib/Makefile.sub: Likewise. * tmac/Makefile.sub: Likewise.
* * configure.ac: Test for getc_unlocked (needed for localcharset).wl2006-01-111-0/+70
| | | | | | | | | | | | | * configure, src/include/config.hin: Regenerated. * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define ENABLE_RELOCATABLE. * src/libs/libgroff/relocatable.h: New dummy header file for localcharset.c. * src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS gnulib version.
* Work around unportability of nl_langinfo(CODESET).wl2006-01-101-2/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m4/glibc21.m4: New file, from gnulib. * Makefile.sub (M4MACROS): Add m4/glibc21.m4. * configure.ac: Also test for stddef.h, and invoke jm_GLIBC21. * Makefile.in (HOST, GLIBC21): New variables. (MDEFINES): Pass them to subdirectories. * src/include/relocate.h (relocatep): Define with C linkage. * src/include/localcharset.h: New file, from gnulib. * src/libs/libgroff/localcharset.c: New file, from gnulib with a modification for relocate(). * src/libs/libgroff/config.charset: New file, from gnulib. * src/libs/libgroff/ref-add.sin: New file, from gnulib. * src/libs/libgroff/ref-del.sin: New file, from gnulib. * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR. (OBJS): Add localcharset.o. (CSRCS): Add localcharset.c. (all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed. (charset.alias): New rule. (PACKAGE): New variable. (ref-add.sed, ref-del.sed): New rules. (MKINSTALLDIRS): New variable. (install_data): Depend on install_charset_data. (install_charset_data): New rule for creating or updating charset.alias. (uninstall_sub): Depend on uninstall_charset_data. (uninstall_charset_data): New rule for uninstalling or updating charset.alias. * src/preproc/preconv/preconv.cpp: Include localcharset.h instead of <langinfo.h>. (main): Initialize default_encoding from locale_charset() instead of nl_langinfo(CODESET). * aclocal.m4, configure, src/include/config.hin: Regenerated.
* * m4/groff.m4: Renamed from aclocal.m4.wl2006-01-031-1/+950
| | | | | | | | | | | | | | | | | | | | | | | | | | * m4/codeset.m4: New file, from gnulib. * m4/iconv.m4: New file, from gnulib. * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from gnulib. * config.rpath: New file, from gnulib. * config.guess, config.sub: New files, from gnulib. * Makefile.sub (M4MACROS): New variable. (configure): Fix typo. (aclocal.m4): New rule. (stamp-h.in): Depend on aclocal.m4. * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET. * Makefile.in (LIBICONV): New variable. (MDEFINES): Pass it to recursive makes. * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and HAVE_ICONV instead of I18N macro. * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable. * aclocal.m4, configure, src/include/config.hin: (Re)generated. * doc/Makefile.in (webpage.html): Simplify. * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in. * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
* Integrate preconv into the groff binary. Changes based on a patchwl2005-12-311-0/+237
| | | | | | | | | | | | | | | | | | | | | from Michail Vidiassov. * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1. * src/roff/groff/groff.cpp (PRECONV_INDEX): New macro. (SOELIM_INDEX): Updated. (help, synopsis): Updated. (main): Add command line options `-k' and `-K enc' to select encoding. Add support for GROFF_ENCODING environment variable. * src/roff/groff/groff.man: Updated and revised. Start with autoconf support for preconv. * configure.ac: Call AC_C_BIGENDIAN. * configure, src/include/config.hin: Regenerated.
* * aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.wl2005-12-121-2/+2
| | | | | | In particular, don't use `\+' since it is a GNU sed extension. * configure: Regenerated.
* * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.wl2005-11-181-2/+6
| | | | | | | | | | | | Announce makeinfo version. * configure: Regenerated. * Makefile.in: Declare proper dependencies between make targets. * doc/Makefile.in: Rename groff info page to `groff.info'. * doc/Makefile.sub: Likewise. * doc/groff.texinfo: Likewise.
* Now a real fix, as suggested by Keith.wl2005-11-041-1/+1
|
* * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.wl2005-11-041-1/+1
| | | | * configure: Regenerated.
* * aclocal.m4 (GROFF_MAKEINFO): New function for checking whetherwl2005-10-271-1/+89
| | | | | | | | | | | | makeinfo 4.8 or newer is available. * configure.ac: Call GROFF_MAKEINFO. * configure: Regenerated. * Makefile.in (MAKEINFO): Use autoconf variable. (MDEFINES): Add MAKEINFO. * doc/Makefile.in (MAKEINFO): Use autoconf variable. * doc/Makefile.sub (MAKEINFO): Remove.
* Miscellaneous script portability enhancements.wl2005-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for generated conftest.sh script, conforming to portability recommendation in autoconf docs. * configure: Likewise, for code generated by GROFF_CSH_HACK. * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming to portability recommendation in autoconf docs. * contrib/gdiffmk/gdiffmk.sh: Likewise. * contrib/gdiffmk/tests/runtests.in: Likewise. * contrib/grap2graph/grap2graph.sh: Likewise. * contrib/groffer/groffer.sh: Likewise. * contrib/mm/mmroff.pl: Likewise. * contrib/mom/momdoc/appendices.html: Likewise. * contrib/pic2graph/pic2graph.sh: Likewise. * font/devps/generate/afmname: Likewise. * src/devices/xditview/ad2c: Likewise. * src/preproc/eqn/neqn.sh: Likewise. * src/roff/grog/grog.pl: Likewise. * src/roff/grog/grog.sh: Likewise. * src/roff/nroff/nroff.sh: Likewise. * PROBLEMS: Likewise, in embedded script examples. Improve portability of `pdfroff' shell script. * arch/misc/shdeps.sh: Add space in shebang, conforming to portability guidelines in `autoconf' docs. (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR initialization code. Used by contrib/pdfmark/pdfroff.sh's `searchpath' function.
* AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.wl2005-04-301-19/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aclocal.m4 (GROFF_TYPE_SIGNAL): New function. * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL. * configure, src/include/config.hin: Regenerated. * PROBLEMS: Updated. Update getopt files. * src/include/getopt.h, src/libs/libgroff/getopt.c, src/libs/libgroff/getopt1.c: Updated from GNU libc CVS. * src/include/getopt_int.h: New file (from GNU libc CVS). * src/include/groff-getopt.h: Updated. * src/include/Makefile.sub (HDRS): Add getopt_int.h. * font/devutf8/NOTES: Updated. Bug fix for Win32 relocatable code. Based on a patch from Keith Marshall. * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH' also. * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally. (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
* * configure.ac: Undo change from 2005-03-24.wl2005-03-251-2/+1
| | | | * configure: Regenerated.
* * configure.ac: Add copyright.wl2005-03-241-1/+2
| | | | | | Handle contrib/pdfmark/Makefile. * configure: Regenerated.
* * src/roff/troff/input.cpp (string_iterator::fill): Protect againstwl2005-02-281-133/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | null pointer. * tmac/papersize.tmac: Convert `paper' string contents to lowercase. * configure: Regenerated. * NEWS: Updated. Integrate `pdfmark' into normal groff build system; install macro `pdfmark' packages, build and install `pdfroff', and PDF format documentation. * Makefile.comm: Add PDFDOCDIR. * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS, pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables. (unstall_dirs): Add pdfdocdir. * aclocal.m4: (GROFF_APPRESDIR_OPTION): use AC_HELP_STRING instead of AS_HELP_STRING. (GROFF_GHOSTSCRIPT_PREFS): New function; support `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS. (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT. (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up. (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option, set ALT_AWK_PROGS. (GROFF_AWK_PATH): New function; support `--with-awk' option, force use of GROFF_AWK_PREFS. (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc. * configure.ac: Add AC_PREREQ(2.56), GROFF_PDFDOC_PROGRAMS. Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and also by modified GROFF_HTML_PROGRAMS).
* * doc/pic.ms, man/groff.man: Fix typos.wl2005-02-191-92/+312
| | | | | | | | | * doc/groff.texinfo: Fix typos. (\LEmacro): Get proper mathematical spacing. * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message. * configure: Regenerated with autoconf 2.59b.
* * configure.ac: Produce `contrib/gdiffml/tests/runtests'.wl2004-12-161-0/+4
| | | | * configure: Updated.
* * src/utils/xtotroff/xtotroff.c: Reformat to be similar to otherwl2004-11-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | groff source files. Include config.h. Include limits.h. Remove X_NOT_STDC_ENV conditional. (Version_string, program_name): New global variables. (groff_flag): Removed. (MapFont): Updated. (usage): Take a stream as argument. Use `program_name'. Update all callers. (main): Add `long_options' array for `--help' and `--version'. Make `-g' a dummy option. Handle `-v' and unknown options. Remove unused `position' variable. * src/utils/xtotroff/Makefile.sub (MAN1): Define. (XLIBS): Add LIBGROFF. * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in: New files. * src/devices/xditview/Dvi.c (default_font_map): Split into three parts to avoid compiler warning. (resources): Don't initialize with `default_font_map'. (ClassInitialize): Initialize first element of `resources'. * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts): Removed. * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man, src/utils/pfbtops/pfbtops.man: Revised, updated. * configure.ac: Generate src/utils/xtotroff/Makefile. * configure: Regenerated.
* * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.wl2004-10-071-1/+103
| | | | | | | | | * configure.ac: Call GROFF_GHOSTSCRIPT_PATH. * configure: Regenerated. * Makefile.in (GHOSTSCRIPT): New variable. (MDEFINES): Add GHOSTSCRIPT.
* * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.wlemb2004-06-031-22/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily. Add test for Xmu library. (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, GROFF_APPRESDIR_DEFAULT): New macros. * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK, and GROFF_APPRESDIR_DEFAULT. * configure: Regenerated. * Makefile.in (appresdir): New variable. (MDEFINES): Add appresdir. * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and -Xt. (install_data, uninstall_sub): New targets to handle GXditview.ad. * src/utils/indxbib/Makefiles.ub (install_data): Depend on `$(srcdir)/eign', not `eign'. * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated. * man/groff_out.man, man/roff.man, src/devices/grops/grops.man, src/devices/xditview/gxditview.man, src/roff/groff/groff.man: Protect (g)xditview with `\%' to avoid hyphenation. Other minor formatting.
* Integrate gxditview into groff's standard directory hierarchy.wlemb2004-06-011-260/+1715
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xditview/*: Moved to ... * src/devices/xditview/*: Here. Moved DviChar.h and XFontName.h to src/include. Moved DviChar.c and XFontName.c to new directory src/libs/libxutil. Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c. Moved xtotroff.c to new directory src/utils/xtotroff. Provide proper Makefile.sub files (reusing the stuff from Imakefile.in). DESC renamed to DESC.in. Removed GXDitview-ad.h, INSTALL, Imakefile.in. Converted everything from K&R to ANSI C. Decorated with const where appropriate. Cast string constants with `String' and `char *' where appropriate. Made it compile with C++ (used as a C compiler). Removed other minor compiler warnings. * src/devices/xditview/device.c: Include config.h, string.h, and defs.h. Don't declare `exit', `strtok', `strchr', and `getenv'. (FONTPATH): Remove. * src/devices/xditview/font.c: Don't declare `XParseFontName' and `XFormatFontName'. * src/devices/xditview/xditview.c: Include config.h. Include stdio.h earlier. Protect declaration of `popen' and `pclose' with NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE. Replace `caddr_t' with `XtPointer'. (MakePromptFunc): New typedef. (DoPrint): Use RETSIGTYPE. (promptfunction): Change type to MakePromptFunc. (MakePrompt): Use MakePromptFunc for third argument. (xmalloc): Removed. * src/devices/xditview/ad2c: Add casts to `String'. * src/include/XFontName.h (XFontNameString): Don't use array notation. Add prototypes for `XParseFontName', `XFormatFontName', `XCompareFontName', and `XCopyFontName'. * src/include/Makefile.sub (HDRS): Add `DviChar.h' and `XFontName.h'. * src/utils/xtotroff/xtotroff.c: Include getopt.h. Don't declare `XParseFontName' and `XFormatFontName'. (xmalloc): Removed. (main): Remove `optind' and `optarg'. * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables (to select programs which need X). Make XDEVIDIRS depend on `FORCE'. (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for X support). (MDEFINES): Updated. (LIBDIRS): Use XLIBDIRS. (CPROGDIRS): Use XPROGDIRS. (DEVDIRS): Remove font directories for gxditview. (ALLDIRS, DISTDIRS): Add XDEVDIRS. (EXTRADIRS): Remove src/xditview. * Makefile.sub (DISCLEANFILES): Updated. * Makefile.comm (LIBXUTIL): New variable. (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS. (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS. * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS. * aclocal.m4 (GROFF_X11): New function. * configure.ac: Call GROFF_X11. Don't create src/xditview/Imakefile. Don't emit notice how to build gxditview. * configure: Regenerated. * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
* * REVISION: Set to 2.wlemb2004-05-161-271/+649
| | | | | | | | | | | * aclocal.m4 (GROFF_STDINT_H): Removed. (GROFF_INTTYPES_H): Define HACE_CC_INTTYPES_H. * configure.ac: Updated. * configure, src/include/config.hin: Regenerated. * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but inttypes.h conditionally.
* More fixes for MSVC compiler.wlemb2003-12-301-1/+7
| | | | | | | | | | | | | | | | | | | | | | | * doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use $(SEP). * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO) [_MSC_VER]: Define conditionally. (getpid) [_MSC_VER]: Remove. Include direct.h and process.h conditionally. * src/roff/troff/node.cpp (suppress_node::tprint): Don't use parentheses for a_delete. * src/utils/lookbib/lookbib.cpp: Include nonposix.h. * test-groff: Replaced with... * test-groff.in: This new template to handle path separator properly. * configure.ac: Check for direct.h and process.h. Generate test-groff script. * configure, src/include/config.hin: Regenerated.
* * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.wlemb2003-12-091-1/+1
| | | | * configure, NEWS: Updated.
* Use path separator character of target platform for compiled-inwlemb2003-12-061-1/+66
| | | | | | | | | | | | default paths. * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro. * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR. * configure: Regenerated. * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR. * src/include/nonposix.h (PATH_SEP_CHAR): New definition. Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
* LynxOS 4.0.0 doesn't declare vfprintf.wlemb2003-11-131-0/+103
| | | | | | | * configure.ac: Check for vfprintf. * configure: Regenerated. * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'. * src/include/config.hin: Regenerated.
* LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.wlemb2003-11-121-1029/+2582
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for vsnprintf. * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and `HAVE_VSNPRINTF'. * src/include/config.hin: Regenerated. * aclocal.m4: Updated syntax to autoconf 2.59. (GROFF_HTML_PROGRAMS): Use AC_FOREACH. Don't check for gsos2. (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides working abs_top_srcdir and abs_top_builddir. * configure.ac: Updated syntax to autoconf 2.59. Don't call GROFF_SRCDIR and GROFF_BUILDDIR. Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS. * configure: Regenerated. * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/, s/@groff_top_builddir@/@abs_top_builddir@/. * src/roff/groff/pipeline.c (xstrsignal): s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/. * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always make start angle smaller than end angle to circumvent a bug in tpic handling of some versions of dvipdfm (and dvipdfmx).
* * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.wlemb2003-10-151-7/+58
| | | | | | | | | | | | | | | | | | (GROFF_LIBC): New function. * configure.ac: Call GROFF_LIBC. Check for `kill'. * configure: Regenerated. * src/include/lib.h: Handle __MINGW32__. * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__. Add macro for `pipe'. Define P_tmpdir. * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe' correctly. * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]: Implement.
* * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.wlemb2003-07-211-2/+3
| | | | | | | | * configure, src/include/config.hin: Regenerated. * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW. * PROBLEMS: Add solution for UTF-8 problem with hyphens.
* HP-UX 10.20 has `snprintf' but it isn't declared.wlemb2003-04-231-0/+80
| | | | | | | * configure.ac: Add declaration test for snprintf. * configure: Regenerated. * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'. * src/include/config.hin: Regenerated.
* * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning messagewlemb2003-04-171-14/+58
| | | | | if --quiet is used for the configure script. * configure: Regenerated.