Define DEFAULT_CONF_FILE in config.h

This commit is contained in:
Miroslav Lichvar 2013-05-07 16:35:40 +02:00
parent 73d4eaafbb
commit 4e8ceaae86
2 changed files with 1 additions and 9 deletions

8
conf.c
View file

@ -54,14 +54,6 @@
#include "broadcast.h"
#include "util.h"
/* ================================================== */
#ifndef DEFAULT_CONF_DIR
#define DEFAULT_CONF_DIR "/etc"
#endif
#define DEFAULT_CONF_FILE DEFAULT_CONF_DIR"/chrony.conf"
/* ================================================== */
/* Forward prototypes */

2
configure vendored
View file

@ -564,7 +564,7 @@ if [ "x$SETDOCDIR" != "x" ]; then
DOCDIR=$SETDOCDIR
fi
add_def DEFAULT_CONF_DIR "\"$SYSCONFDIR\""
add_def DEFAULT_CONF_FILE "\"$SYSCONFDIR/chrony.conf\""
add_def MAIL_PROGRAM "\"$mail_program\""
if [ -f version.txt ]; then