From: David Levine Date: Fri, 7 Mar 2014 01:39:10 +0000 (-0600) Subject: Added remedy for compile warnings when built with --with-tls on X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a3211dcfdbc9c01fbab732cc40722d22f3aafbe3 Added remedy for compile warnings when built with --with-tls on Mac OS 10.7 or later. --- diff --git a/MACHINES b/MACHINES index 1bc5da16..74bb2a61 100644 --- a/MACHINES +++ b/MACHINES @@ -45,6 +45,24 @@ Packages required to regenerate the configure script: autoconf automake +------------------------------------------------------------------------------ + Mac OS X +------------------------------------------------------------------------------ + +If configured with --with-tls on Mac OS 10.7 or later, there will be +compile warnings from mts/smtp/smtp.c about the deprecated OpenSSL +that is supplied with that system. nmh will build and run with that +OpenSSL, though it may be an old version. Alternatively, the OpenSSL +source code is available from http://www.openssl.org/source/. To +build 64-bit libraries, the OpenSSL configure command should start +with, e.g., + ./Configure darwin64-x86_64-cc + +To build nmh with those OpenSSL libraries, the CPPFLAGS and LDFLAGS +can be set by adding the following to the nmh configure command line, +or in the shell environment before calling configure or build_nmh: + CPPFLAGS='-D__arch64__ -IOpenSSL-include-path' LDFLAGS=-LOpenSSL-lib-path + ------------------------------------------------------------------------------ Cygwin ------------------------------------------------------------------------------