$NetBSD: patch-aa,v 1.21 2002/02/13 13:03:14 tron Exp $

--- Makefile.orig	Wed Feb 13 10:45:52 2002
+++ Makefile	Wed Feb 13 13:54:55 2002
@@ -2,15 +2,20 @@
 # Please read docs/Readme.html, or http://www.analog.cx/
 # This is a general Unix-like Makefile: Makefiles for other OS's can be found
 #   in the "build" directory.
-CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
+#CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
 #                    compilers need different CFLAGS, e.g., -O instead of -O2.
-MAKE = make        # which "make" to use
-CFLAGS = -O2    # options, e.g. for optimisation or ANSI compilation.
+#MAKE = make        # which "make" to use
+#CFLAGS = -O2    # options, e.g. for optimisation or ANSI compilation.
 #                 HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
 #                 BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib
 #                 BS2000/OSD needs CFLAGS = -XLLML -XLLMK
 #                 NeXTSTEP needs CFLAGS = -O2 -pipe -no-precomp 
-DEFS =          # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
+DEFS =	-DANALOGDIR=\"${PREFIX}/lib/analog/\" \
+	-DDEFAULTCONFIGFILE=\"${PREFIX}/etc/analog.cfg\" \
+	-DIMAGEDIR=\"/images/\" \
+	-DLANGDIR=\"${PREFIX}/lib/analog/lang/\" \
+	-DLOGFILE=\"/var/log/httpd-access.log\"
+# 		any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
 #                 ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ...
 #                 ... -DEBCDIC -DUSE_PLAIN_SETJMP -DHAVE_GD -DHAVE_PCRE ...
 #                 ... -DNEED_STRCMP -DNEED_MEMMOVE -DNEED_STRTOUL ...
