]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] enable kqueue on MacOS X too
authorWilly Tarreau <w@1wt.eu>
Mon, 9 Apr 2007 14:30:28 +0000 (16:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Apr 2007 14:30:28 +0000 (16:30 +0200)
MacOS X is said to have kqueue. Let's enable it too.

Makefile.osx

index cb79d57791e51903571a31ef363ba0b907a74841..5c87d7b3d8ba56b409bb041c36ed5e7d52fad7a5 100644 (file)
@@ -29,7 +29,7 @@ PCREDIR!= pcre-config --prefix 2>/dev/null || :
 #PCREDIR=/usr/local
 
 # This is for darwin 3.0 and above
-COPTS.darwin = -DENABLE_POLL
+COPTS.darwin = -DENABLE_POLL -DENABLE_KQUEUE
 LIBS.darwin =
 
 # CPU dependant optimizations
@@ -69,7 +69,7 @@ ADDLIB =
 # set some defines when needed.
 # Known ones are -DENABLE_POLL
 # - use -DTPROXY to compile with transparent proxy support.
-DEFINE = -DTPROXY
+DEFINE = -DTPROXY 
 
 # global options
 TARGET_OPTS=$(COPTS.$(TARGET))