diff options
-rw-r--r-- | src/Makefile.am | 4 | ||||
-rw-r--r-- | src/ulogd.c | 10 |
2 files changed, 3 insertions, 11 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 783f153..8093aef 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,7 @@ -INCLUDES = $(all_includes) -I$(top_srcdir)/include +AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include \ + -DULOGD_CONFIGFILE="\"$(sysconfdir)/ulogd.conf\"" \ + -DULOGD_LOGFILE_DEFAULT="\"$(localstatedir)/log/ulogd.log\"" sbin_PROGRAMS = ulogd diff --git a/src/ulogd.c b/src/ulogd.c index b408fe9..2dc597b 100644 --- a/src/ulogd.c +++ b/src/ulogd.c @@ -69,16 +69,6 @@ #define DEBUGP(format, args...) #endif -/* default config parameters, if not changed in configfile */ -#ifndef ULOGD_LOGFILE_DEFAULT -#define ULOGD_LOGFILE_DEFAULT "/var/log/ulogd.log" -#endif - -/* where to look for the config file */ -#ifndef ULOGD_CONFIGFILE -#define ULOGD_CONFIGFILE "/usr/local/etc/ulogd.conf" -#endif - #define COPYRIGHT \ "Copyright (C) 2000-2005 Harald Welte <laforge@netfilter.org>\n" |