configure: simplify exit traps
authorMans Rullgard <mans@mansr.com>
Fri, 21 Jan 2011 19:05:07 +0000 (19:05 +0000)
committerMans Rullgard <mans@mansr.com>
Fri, 21 Jan 2011 20:47:58 +0000 (20:47 +0000)
This does the same thing and also fixes the trapping in
some (possibly broken) shells.

Suggested by Michael Kostylev.

Signed-off-by: Mans Rullgard <mans@mansr.com>
configure

index aa05979..0f1c62d 100755 (executable)
--- a/configure
+++ b/configure
@@ -1810,7 +1810,6 @@ tmpfile(){
 }
 
 trap 'rm -f -- $TMPFILES' EXIT
-trap exit HUP INT TERM
 
 tmpfile TMPC  .c
 tmpfile TMPE  $EXESUF