# HG changeset patch # User Michael Goffioul # Date 1319111650 -3600 # Node ID 47f803279384fe6a52600fb2b8f361e9421abd81 # Parent 478efc95cb7a4d93756b6a67b7cd0390b08db9d0 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). diff -r 478efc95cb7a -r 47f803279384 m4/acinclude.m4 --- a/m4/acinclude.m4 Thu Oct 20 12:51:31 2011 +0100 +++ b/m4/acinclude.m4 Thu Oct 20 12:54:10 2011 +0100 @@ -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" diff -r 478efc95cb7a -r 47f803279384 scripts/plot/private/__print_parse_opts__.m --- a/scripts/plot/private/__print_parse_opts__.m Thu Oct 20 12:51:31 2011 +0100 +++ b/scripts/plot/private/__print_parse_opts__.m Thu Oct 20 12:54:10 2011 +0100 @@ -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))