mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Heidelberg <m.heidelberg@cab.de>
To: <ptxdist@pengutronix.de>
Cc: Markus Heidelberg <m.heidelberg@cab.de>
Subject: [ptxdist] [PATCH 2/2] configure.ac: add check for xz
Date: Mon, 11 Mar 2024 14:45:52 +0100	[thread overview]
Message-ID: <20240311134552.608327-3-m.heidelberg@cab.de> (raw)
In-Reply-To: <20240311134552.608327-1-m.heidelberg@cab.de>

Many packages are offered in .tar.xz format for download, so having xz
installed is a hard requirement.

Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index dfce4330e..70f03f6da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -243,6 +243,12 @@ if test -z "$UNZIP"; then
 	AC_MSG_ERROR([unzip could not be found, please install])
 fi
 
+dnl Check for xz
+AC_PATH_PROGS(XZ, xz,, $PATH)
+if test -z "$XZ"; then
+	AC_MSG_ERROR([xz could not be found, please install])
+fi
+
 dnl Check for wget
 AC_PATH_PROGS(WGET, wget,, $PATH)
 if test -z "$WGET"; then
-- 
2.34.1




  parent reply	other threads:[~2024-03-11 13:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-11 13:45 [ptxdist] [PATCH 0/2] Fix configure.ac for unzip and xz Markus Heidelberg
2024-03-11 13:45 ` [ptxdist] [PATCH 1/2] configure.ac: fix check for unzip Markus Heidelberg
2024-03-19  6:44   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-03-11 13:45 ` Markus Heidelberg [this message]
2024-03-19  6:44   ` [ptxdist] [APPLIED] configure.ac: add check for xz Michael Olbrich

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=20240311134552.608327-3-m.heidelberg@cab.de \
    --to=m.heidelberg@cab.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