summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas@biessmann.de>2014-04-20 09:45:55 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-04-21 10:45:31 +0200
commit4a2c29f240572b5b185751e0dda3bd72e0b28aa9 (patch)
tree7a8e50d58b24b8aca93f76ad03e7aa31d863a589
parent1e8fc75e31eaf051b4114eafbd7410b5d140ae87 (diff)
downloadptxdist-4a2c29f240572b5b185751e0dda3bd72e0b28aa9.tar.gz
ptxdist-4a2c29f240572b5b185751e0dda3bd72e0b28aa9.tar.xz
configure: search for GNU ln
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> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--Makefile.in1
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 0c8098df4..5387f1dbb 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 8d8c9757d..390fcaf95 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)