Linux and the BSDs have getifaddrs(). Use it and save a bunch of complex coding.
[exim.git] / src / OS / Makefile-Darwin
index 6b8cdc8a696dd52f4240113dfd8e127b180d9067..517bbc4938b4038fec729c2f523605bfe53e2795 100644 (file)
@@ -1,15 +1,22 @@
-# $Cambridge: exim/src/OS/Makefile-Darwin,v 1.1 2004/10/06 15:07:39 ph10 Exp $
-
 # 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
 
-CFLAGS=-O -no-cpp-precomp -DBIND_8_COMPAT
+# 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 -DDISABLE_TLS_RESUME
+LIBRESOLV=-lresolv
 
 USE_DB = yes
 DBMLIB =