2 * version.c Print version number and exit.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 * Copyright 1999-2008 The FreeRADIUS server project
21 * Copyright 2000 Alan DeKok <aland@ox.org>
22 * Copyright 2000 Chris Parker <cparker@starnetusa.com>
25 #include <freeradius-devel/ident.h>
28 #include <freeradius-devel/radiusd.h>
31 * Display the revision number for this program
36 radlog(L_INFO, "%s: %s", progname, radiusd_version);
37 DEBUG3("Compilation flags: ");
39 /* here are all the conditional feature flags */
40 #if defined(WITH_DHCP)
43 #if defined(WITH_VMPS)
49 #if defined(WITHOUT_PROXY)
50 DEBUG3(" WITHOUT_PROXY");
52 #if defined(WITHOUT_DETAIL)
53 DEBUG3(" WITHOUT_DETAIL");
55 #if defined(WITHOUT_SESSION_MGMT)
56 DEBUG3(" WITHOUT_SESSION_MGMT");
58 #if defined(WITHOUT_UNLANG)
59 DEBUG3(" WITHOUT_UNLANG");
61 #if defined(WITHOUT_ACCOUNTING)
62 DEBUG3(" WITHOUT_ACCOUNTING");
64 #if defined(WITHOUT_DYNAMIC_CLIENTS)
65 DEBUG3(" WITHOUT_DYNAMIC_CLIENTS");
67 #if defined(WITHOUT_STATS)
68 DEBUG3(" WITHOUT_STATS");
70 #if defined(WITHOUT_COMMAND_SOCKET)
71 DEBUG3(" WITHOUT_COMMAND_SOCKET");
73 #if defined(WITHOUT_COA)
74 DEBUG3(" WITHOUT_COA");
76 radlog(L_INFO, "Copyright (C) 1999-2012 The FreeRADIUS server project and contributors.");
77 radlog(L_INFO, "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A");
78 radlog(L_INFO, "PARTICULAR PURPOSE.");
79 radlog(L_INFO, "You may redistribute copies of FreeRADIUS under the terms of the");
80 radlog(L_INFO, "GNU General Public License.");
81 radlog(L_INFO, "For more information about these matters, see the file named COPYRIGHT.");