Linux and the BSDs have getifaddrs(). Use it and save a bunch of complex coding.
[exim.git] / src / OS / Makefile-Darwin
index 01ca8a631ed8ed1954914cbe055fc4054a7d2759..517bbc4938b4038fec729c2f523605bfe53e2795 100644 (file)
@@ -1,18 +1,22 @@
-# $Cambridge: exim/src/OS/Makefile-Darwin,v 1.2 2006/02/10 14:35:37 ph10 Exp $
-
 # Exim: OS-specific make file for Darwin (Mac OS X).
 
 CC=cc
 
 BASENAME_COMMAND=look_for_it
 CHOWN_COMMAND=/usr/sbin/chown
 # Exim: OS-specific make file for Darwin (Mac OS X).
 
 CC=cc
 
 BASENAME_COMMAND=look_for_it
 CHOWN_COMMAND=/usr/sbin/chown
+CHMOD_COMMAND=/bin/chmod
 
 HAVE_SA_LEN=YES
 
 # Removed -DBIND_8_COMPAT for 4.61
 # CFLAGS=-O -no-cpp-precomp -DBIND_8_COMPAT
 
 HAVE_SA_LEN=YES
 
 # Removed -DBIND_8_COMPAT for 4.61
 # CFLAGS=-O -no-cpp-precomp -DBIND_8_COMPAT
+#
+# 2020/05/12 disable TLS resume support; it results in
+# "1 select() failure: No such file or directory"
+# being logged by the daeomn (sending the testsuite red...)
 
 
-CFLAGS=-O -no-cpp-precomp
+CFLAGS=-O -no-cpp-precomp -DDISABLE_TLS_RESUME
+LIBRESOLV=-lresolv
 
 USE_DB = yes
 DBMLIB =
 
 USE_DB = yes
 DBMLIB =