mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gnuplot: make backwards compatibility configurable
@ 2015-11-05 10:29 Alexander Dahl
  2015-11-06 13:41 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Dahl @ 2015-11-05 10:29 UTC (permalink / raw)
  To: ptxdist

Deactivating ancient backwards compatibility features makes the gnuplot
binary smaller.

Signed-off-by: Alexander Dahl <post@lespocky.de>
---
 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
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-06 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-05 10:29 [ptxdist] [PATCH] gnuplot: make backwards compatibility configurable Alexander Dahl
2015-11-06 13:41 ` Michael Olbrich
2015-11-06 14:23   ` Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox