On Thu, Nov 05, 2015 at 11:29:09AM +0100, Alexander Dahl wrote:
> Deactivating ancient backwards compatibility features makes the gnuplot
> binary smaller.

How old is that stuff? Maybe we should just disable this without adding an
option?

Michael

> Signed-off-by: Alexander Dahl <[email protected]>
> ---
>  rules/gnuplot.in   | 8 ++++++++
>  rules/gnuplot.make | 2 +-
>  2 files changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/gnuplot.in b/rules/gnuplot.in
> index 05025bf..811ffdb 100644
> --- a/rules/gnuplot.in
> +++ b/rules/gnuplot.in
> @@ -63,4 +63,12 @@ config GNUPLOT_PDF
>       depends on BROKEN
>       help
>         Include support for output as PDF (Portable Document Format)
> +
> +config GNUPLOT_COMPAT
> +     bool
> +     prompt "support deprecated syntax"
> +     default y
> +     help
> +       Support certain syntax deprecated since Gnuplot version 4.0.
> +
>  endif
> diff --git a/rules/gnuplot.make b/rules/gnuplot.make
> index d47c3d9..e6e498e 100644
> --- a/rules/gnuplot.make
> +++ b/rules/gnuplot.make
> @@ -49,7 +49,7 @@ GNUPLOT_AUTOCONF = \
>       --disable-h3d-quadtree \
>       --disable-h3d-gridbox \
>       --disable-wxwidgets \
> -     --enable-backwards-compatibility \
> +     --$(call ptx/endis, PTXCONF_GNUPLOT_COMPAT)-backwards-compatibility \
>       --disable-stats \
>       --disable-qt \
>       --without-lispdir \
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> ptxdist mailing list
> [email protected]

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to