From 30f13eb60e8e9a7333051709bda758f8ee442151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 24 Jan 2018 20:25:05 +0100 Subject: build: abort configure scripts upon interrupts Fix #607 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 9b867cd..d31456b 100755 --- a/configure +++ b/configure @@ -190,7 +190,8 @@ tmpo="./conf$$-$PPID-$i.o" test "$i" -gt 50 && fail "$0: cannot create temporary file $tmpc" done set +C -trap 'rm -f "$tmpc" "$tmpo"' EXIT INT QUIT TERM HUP +trap 'rm -f "$tmpc" "$tmpo"' EXIT QUIT TERM HUP +trap 'rm -f "$tmpc" "$tmpo" && echo && fail "$0: interrupted"' INT # # Find a C compiler to use -- cgit v1.2.3