summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-01-13 00:16:02 +0100
committerMichael Adam <obnox@samba.org>2010-01-13 00:16:02 +0100
commitfb07cb380c1451a3e9a1267dee2c8d8b135ea558 (patch)
treeb001896aed00e1c4662dfe4ac18beb58b595110e /src
parentd6a247cc04dd68b11b58e906366e23c0214d8bb3 (diff)
downloadtinyproxy-fb07cb380c1451a3e9a1267dee2c8d8b135ea558.tar.gz
tinyproxy-fb07cb380c1451a3e9a1267dee2c8d8b135ea558.zip
Export configure variable localstatedir to C as define LOCALSTATEDIR.
So that it can be used for default values of some paths later on. Michael
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7740814..0b6d45d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,7 +18,8 @@
sbin_PROGRAMS = tinyproxy
AM_CPPFLAGS = \
- -DSYSCONFDIR=\"${sysconfdir}\"
+ -DSYSCONFDIR=\"${sysconfdir}\" \
+ -DLOCALSTATEDIR=\"${localstatedir}\"
tinyproxy_SOURCES = \
acl.c acl.h \