From 5e6fabefd7ae6d6fa84c965ad45f7b15d42a2970 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Wed, 23 Jun 2010 14:10:22 +0200 Subject: [PATCH] Revert "Use mktemp to generate temp files." Doesn't seem to work on windows This reverts commit 27988c5e6648810db2074a2e80edaf74678e9977. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 82ce6e18..b981785b 100755 --- a/configure +++ b/configure @@ -11,7 +11,8 @@ else TMPDIR1="/tmp" fi -TMPN="$(mktemp --tmpdir=${TMPDIR1} tcc-conf-XXXXXXXXXX-$$-XXXXXXXXXX)" +# bashism: TMPN="${TMPDIR1}/tcc-conf-${RANDOM}-$$-${RANDOM}.c" +TMPN="./conftest-$$" TMPC=$TMPN.c TMPH=$TMPN.h