Deactivating ancient backwards compatibility features makes the gnuplot
binary smaller.

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]

Reply via email to