diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 2d11ddc..05b5bb6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,6 +17,9 @@ sbin_PROGRAMS = tinyproxy +AM_CPPFLAGS = \ + -DSYSCONFDIR=\"${sysconfdir}\" + tinyproxy_SOURCES = \ acl.c acl.h \ anonymous.c anonymous.h \ @@ -287,7 +287,7 @@ main (int argc, char **argv) */ umask (0177); - config.config_file = DEFAULT_CONF_FILE; + config.config_file = SYSCONFDIR "/tinyproxy.conf"; config.godaemon = TRUE; process_cmdline (argc, argv); |