mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] gnuplot: make backwards compatibility configurable
Date: Thu,  5 Nov 2015 11:29:09 +0100	[thread overview]
Message-ID: <1446719349-30642-1-git-send-email-post@lespocky.de> (raw)

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

             reply	other threads:[~2015-11-05 10:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05 10:29 Alexander Dahl [this message]
2015-11-06 13:41 ` Michael Olbrich
2015-11-06 14:23   ` Alexander Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446719349-30642-1-git-send-email-post@lespocky.de \
    --to=post@lespocky.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox