mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas@biessmann.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/2] configure: search for GNU ln
Date: Sun, 20 Apr 2014 09:45:55 +0200	[thread overview]
Message-ID: <1397979956-86357-3-git-send-email-andreas@biessmann.de> (raw)
In-Reply-To: <1397979956-86357-1-git-send-email-andreas@biessmann.de>

Commit e9b63339f6377df5d15feb4bd0685bb49a675593 broke ptxdist on machines with
BSD ln in $PATH. The introduced -T switch is not known to BSD variant and
therefore the ln command stops with error.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
---

 Makefile.in  | 1 +
 configure.ac | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Makefile.in b/Makefile.in
index 0c8098d..5387f1d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -47,6 +47,7 @@ environment:
 	@ln -sf @GNU_mv@ "$(abs_srcdir)/bin/mv"
 	@ln -sf @GNU_cp@ "$(abs_srcdir)/bin/cp"
 	@ln -sf @GNU_rm@ "$(abs_srcdir)/bin/rm"
+	@ln -sf @GNU_ln@ "$(abs_srcdir)/bin/ln"
 	@ln -sf @GNU_rmdir@ "$(abs_srcdir)/bin/rmdir"
 	@ln -sf @GNU_md5sum@ "$(abs_srcdir)/bin/md5sum"
 	@ln -sf @GNU_mkdir@ "$(abs_srcdir)/bin/mkdir"
diff --git a/configure.ac b/configure.ac
index 64d7af0..503d12c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,7 @@ GNU_TOOL(chown, coreutils)
 GNU_TOOL(mv, coreutils)
 GNU_TOOL(cp, coreutils)
 GNU_TOOL(rm, coreutils)
+GNU_TOOL(ln, coreutils)
 GNU_TOOL(rmdir, coreutils)
 GNU_TOOL(md5sum, coreutils)
 GNU_TOOL(mkdir, coreutils)
-- 
1.9.2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2014-04-20  7:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-20  7:45 [ptxdist] [PATCH 0/2] Changes for BSD systems Andreas Bießmann
2014-04-20  7:45 ` [ptxdist] [PATCH 1/2] configure: search for GNU mktemp Andreas Bießmann
2014-04-20  7:45 ` Andreas Bießmann [this message]
2014-04-21  8:53 ` [ptxdist] [PATCH 0/2] Changes for BSD systems 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=1397979956-86357-3-git-send-email-andreas@biessmann.de \
    --to=andreas@biessmann.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