From a3211dcfdbc9c01fbab732cc40722d22f3aafbe3 Mon Sep 17 00:00:00 2001 From: David Levine Date: Thu, 6 Mar 2014 19:39:10 -0600 Subject: [PATCH] Added remedy for compile warnings when built with --with-tls on Mac OS 10.7 or later. --- MACHINES | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 ------------------------------------------------------------------------------ -- 2.56.0