--- /Users/basile/Desktop/htp-1.16/Makefile.config	2007-08-31 19:46:01.000000000 +0800
+++ Makefile.config	2009-10-15 17:44:31.000000000 +0800
@@ -19,7 +19,7 @@
 EXEEXT = 
 
 DESTDIR = 
-prefix = $(DESTDIR)/usr/local
+prefix = $(DESTDIR)/opt/local
 bindir = $(prefix)/bin
 docdir = $(prefix)/share/doc
 pkgdocdir = $(prefix)/share/doc/htp
@@ -28,12 +28,12 @@
 # tool command-line options ... notice that these are geared towards GNU
 #
 ifdef RELEASE
-CCOPT = -c -Wall -O2
+CCOPT = -c -Wall -O2 -D__DARWIN__
 else
-CCOPT = -c -Wall -O2 -g -DDEBUG=1
+CCOPT = -c -Wall -O2 -g -DDEBUG=1 -D__DARWIN__
 endif
 # Adapt the following defines to the features of your OS.
-DEFINES = -DHAVE_SNPRINTF -DHAVE_PIPE -DHAVE_STPCPY -D_GNU_SOURCE=1
+DEFINES = -DHAVE_SNPRINTF -DHAVE_PIPE -DHAVE_STPCPY -D_GNU_SOURCE=1 -DHAVE_VA_COPY 
 
 LOPT =
 # -lefence