]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Define DEFAULT_CONF_FILE in config.h
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 7 May 2013 14:35:40 +0000 (16:35 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 7 May 2013 14:35:40 +0000 (16:35 +0200)
conf.c
configure

diff --git a/conf.c b/conf.c
index 0d330e8236ef13e9f6da450d7e8f197bf8a8d0cf..af5da61e01fec17ad0fa04a79ac8574f680a0f96 100644 (file)
--- a/conf.c
+++ b/conf.c
 #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 */
 
index 58038548e7dbda35cac3e06208fa60e8dc659ad1..7a4443a7bcfa3822708daf99c22543cf9421c56b 100755 (executable)
--- a/configure
+++ b/configure
@@ -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