Mercurial > octave
diff libinterp/corefcn/gl2ps-print.cc @ 21207:945695cafd2b
allow build to succeed with missing dependencies
* gl2ps-print.cc, graphics.cc: Allow building without freetype.
* sparse-chol.cc: Allow building without cholmod.
* sparse-lu.cc: Allow building without umfpack.
* sparse-qr.cc: Allow building without cxsparse.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 05 Feb 2016 14:50:00 -0500 |
parents | fcac5dbbf9ed |
children | 67d2965af0b5 |
line wrap: on
line diff
--- a/libinterp/corefcn/gl2ps-print.cc Sat Feb 06 22:38:13 2016 +0100 +++ b/libinterp/corefcn/gl2ps-print.cc Fri Feb 05 14:50:00 2016 -0500 @@ -722,8 +722,6 @@ halign, valign, props.get_rotation ()); } -#endif - static void safe_pclose (FILE *f) { @@ -738,6 +736,8 @@ gnulib::fclose (f); } +#endif + // If the name of the stream begins with '|', open a pipe to the command // named by the rest of the string. Otherwise, write to the named file.