+20041213
+ - (dtucker) [contrib/findssh.sh] Clean up on interrupt; from
+ amarendra.godbole at ge com.
+
20041211
- (dtucker) OpenBSD CVS Sync
- markus@cvs.openbsd.org 2004/12/06 16:00:43
#!/bin/sh
#
+# $Id$
+#
# findssl.sh
# Search for all instances of OpenSSL headers and libraries
# and print their versions.
# Written by Darren Tucker (dtucker at zip dot com dot au)
# This file is placed in the public domain.
#
-# $Id$
+# Release history:
# 2002-07-27: Initial release.
# 2002-08-04: Added public domain notice.
# 2003-06-24: Incorporated readme, set library paths. First cvs version.
+# 2004-12-13: Add traps to cleanup temp files, from Amarendra Godbole.
#
# "OpenSSL headers do not match your library" are usually caused by
# OpenSSH's configure picking up an older version of OpenSSL headers
CC=gcc
STATIC=-static
+#
+# Cleanup on interrupt
+#
+trap 'rm -f conftest.c' INT HUP TERM
+
#
# Set up conftest C source
#