diff options
author | wlemb <wlemb> | 2003-02-25 08:54:27 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-02-25 08:54:27 +0000 |
commit | 917c3c7c1ccaa879f7c649b74e9654c535e3a272 (patch) | |
tree | e41ce4a93eef566710cb2ef1f5c5ccc681b8d1b9 /aclocal.m4 | |
parent | 13c738d1f14c49524dfefce85c51c09d2b8591ea (diff) | |
download | groff-917c3c7c1ccaa879f7c649b74e9654c535e3a272.tar.gz |
* aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
(GROFF_PNMTOPS_NOSETPAGE): New macro.
* configure.ac: Use it.
* configure: Regenerated.
* Makefile.in: Updated.
* tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
(CLEANADD): Add www.tmac-sed.
(pnmtops_nosetpage): Define default.
(install_data): Handle www.tmac-sed and substitute
@PNMTOPS_NOSETPAGE@.
(stamp-sed): Add www.tmac.
* tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
It now breaks URLs at suitable places.
(www:substring_ok): New register set by...
(www:@test_substring): New macro.
(www:error): New alias to www-error.
(www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
New macros.
(URL): Use www:url_breaks.
(PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
(CDS, CDE): New macros.
* src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
buffer overflow.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -68,13 +68,14 @@ AC_CHECK_PROG(pnmcrop, pnmcrop, found, missing) AC_CHECK_PROG(pnmtopng, pnmtopng, found, missing) AC_CHECK_PROG(gs, gs gsos2, found, missing) AC_CHECK_PROG(psselect, psselect, found, missing) -case "x$pnmcut$pnmcrop$pnmtopng$gs$psselect" in +AC_CHECK_PROG(pnmtops, pnmtops, found, missing) +case "x$pnmcut$pnmcrop$pnmtopng$gs$psselect$pnmtops$pstopnm" in *missing*) make_html= make_install_html= AC_MSG_WARN([ - Since one or more of the above five programs can't be found in the path, + Since one or more of the above six programs can't be found in the path, the HTML backend of groff (grohtml) won't work properly. Consequently, no documentation in HTML format is built and installed. ]) ;; @@ -82,6 +83,20 @@ esac AC_SUBST(make_html) AC_SUBST(make_install_html)])dnl dnl +dnl check to see whether pnmtops can handle the -nosetpage option +dnl +AC_DEFUN(GROFF_PNMTOPS_NOSETPAGE, +[AC_MSG_CHECKING([whether pnmtops can handle the -nosetpage option]) +if echo P1 2 2 0 1 1 0 | pnmtops -nosetpage > /dev/null 2>&1 ; then + AC_MSG_RESULT(yes) + pnmtops_nosetpage="pnmtops -nosetpage" +else + AC_MSG_RESULT(no) + pnmtops_nosetpage="pnmtops" +fi +AC_SUBST(pnmtops_nosetpage) +])dnl +dnl dnl dnl GROFF_CSH_HACK(if hack present, if not present) dnl |