summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas@biessmann.de>2014-04-20 09:45:54 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-04-21 10:45:30 +0200
commit1e8fc75e31eaf051b4114eafbd7410b5d140ae87 (patch)
treec98eed8b46a2acd439336ef5b972ebf02369a42c /Makefile.in
parent52c41c91fc2f9d8b2cd0c4ecfae6322350b2c752 (diff)
downloadptxdist-1e8fc75e31eaf051b4114eafbd7410b5d140ae87.tar.gz
ptxdist-1e8fc75e31eaf051b4114eafbd7410b5d140ae87.tar.xz
configure: search for GNU mktemp
Commit d35a034a99d4bd6053dfe4bd9b1e2169b951430e broke ptxdist on machines with BSD mktemp in $PATH. The introduced -t switch is different in BSD variants and therefore the resulting path is somethink like ---8<--- % mktemp -t -d ptxdist.XXXXXX /var/folders/mp/g80tgyd55bbc9vqjp9zd20600000gp/T/-d.bQehko2k ptxdist.gaZrCM --->8--- which is obviously wrong. Prevent that by providing always the GNU mktemp variant in $PATH. Also remove the now redundant check for installed mktemp. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 72509a2a9..0c8098df4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,6 +50,7 @@ environment:
@ln -sf @GNU_rmdir@ "$(abs_srcdir)/bin/rmdir"
@ln -sf @GNU_md5sum@ "$(abs_srcdir)/bin/md5sum"
@ln -sf @GNU_mkdir@ "$(abs_srcdir)/bin/mkdir"
+ @ln -sf @GNU_mktemp@ "$(abs_srcdir)/bin/mktemp"
@ln -sf @GNU_install@ "$(abs_srcdir)/bin/install"
@ln -sf @GNU_stat@ "$(abs_srcdir)/bin/stat"
@ln -sf @GNU_mknod@ "$(abs_srcdir)/bin/mknod"