From: Florian Forster Date: Sat, 21 Jun 2008 02:04:54 +0000 (+0200) Subject: src/rrdd.[ch]: Use package name and version from config.h. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=04a56dce8f7b971b4a9fd2f675719092dcdedebf;p=rrdd.git src/rrdd.[ch]: Use package name and version from config.h. --- diff --git a/src/rrdd.c b/src/rrdd.c index c9e5e3e..13fdc90 100644 --- a/src/rrdd.c +++ b/src/rrdd.c @@ -243,7 +243,8 @@ int main (int argc, char **argv) { int status; - printf ("rrdd by Florian Forster, Version 0.1\n"); + printf ("%s by Florian Forster, Version %s\n", + PACKAGE_NAME, PACKAGE_VERSION); status = daemonize (); if (status == 1) diff --git a/src/rrdd.h b/src/rrdd.h index 05c57ba..cd46f2c 100644 --- a/src/rrdd.h +++ b/src/rrdd.h @@ -68,6 +68,8 @@ #include +#include "config.h" + #define RRDD_SOCK_PATH "/tmp/rrdd.sock" #endif /* __RRDD_H */