Mercurial > hg > octave-terminal
changeset 13728:47f803279384
Allow to use MiKTeX ghostscript.
* m4/acinclude.m4 (OCTAVE_PROG_GHOSTSCRIPT): Add mgs to gs_names list.
* plot/private/__print_parse_opts__.m (__ghostscript_binary__): Add gs.exe to
gs_binaries list under Windows (non cygwin).
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 20 Oct 2011 12:54:10 +0100 |
parents | 478efc95cb7a |
children | d13b6086aea9 |
files | m4/acinclude.m4 scripts/plot/private/__print_parse_opts__.m |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -565,7 +565,7 @@ AC_DEFUN([OCTAVE_PROG_GHOSTSCRIPT], [ case "$canonical_host_type" in *-*-mingw* | *-*-msdosmsvc) - gs_names="gswin32c gs" + gs_names="gswin32c gs mgs" ;; *) gs_names="gs"
--- a/scripts/plot/private/__print_parse_opts__.m +++ b/scripts/plot/private/__print_parse_opts__.m @@ -449,7 +449,7 @@ gs_binaries = horzcat (gs_binaries, {"gs", "gs.exe"}); else ## pc - Includes Win32 and mingw. - gs_binaries = horzcat (gs_binaries, {"gs.exe", "gswin32c.exe"}); + gs_binaries = horzcat (gs_binaries, {"gs.exe", "gswin32c.exe", "mgs.exe"}); endif n = 0; while (n < numel (gs_binaries) && isempty (ghostscript_binary))