projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
centralized the handling of the version number, prior to going
[freeradius.git]
/
src
/
main
/
version.c
diff --git
a/src/main/version.c
b/src/main/version.c
index
bae8d23
..
7c5d5f2
100644
(file)
--- a/
src/main/version.c
+++ b/
src/main/version.c
@@
-32,18
+32,12
@@
static const char rcsid[] = "$Id$";
#include "radiusd.h"
/*
#include "radiusd.h"
/*
- * Version number. This should ideally be created by autoconf
- * or similar, so that this would always be up to date.
- */
-#define VERSION "FreeRADIUS ALPHA, built on " __DATE__ " at " __TIME__
-
-/*
* Display the revision number for this program
*/
void version(void)
{
* Display the revision number for this program
*/
void version(void)
{
- fprintf(stderr, "%s:
RADIUS version " VERSION ".\n", progname
);
+ fprintf(stderr, "%s:
%s\n", progname, radiusd_version
);
fprintf(stderr, "Compilation flags: ");
/* here are all the conditional feature flags */
fprintf(stderr, "Compilation flags: ");
/* here are all the conditional feature flags */