From 6ac3a8b0cd1946e90a4c997e8fad1bfc63890abd Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 3 Jan 2009 21:43:05 -0500 Subject: Command-line option to dump SHA1 digests of all source files. Now, when you call tor --digests, it dumps the SHA1 digest of each source file that Tor was built with. We support both 'sha1sum' and 'openssl sha1'. If the user is building from a tarball and they haven't edited anything, they don't need any program that calculates SHA1. If they _have_ modified a file but they don't have a program to calculate SHA1, we try to build so we do not output digests. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index a7ea5e1bbc..2b8a915355 100644 --- a/configure.in +++ b/configure.in @@ -107,6 +107,10 @@ AC_PROG_CC AC_PROG_CPP AC_PROG_MAKE_SET AC_PROG_RANLIB +AC_PROG_SED + +AC_PATH_PROG([SHA1SUM], [sha1sum], none) +AC_PATH_PROG([OPENSSL], [openssl], none) TORUSER=_tor AC_ARG_WITH(tor-user, -- cgit v1.2.3-54-g00ecf