* Included Makefile.radius if RADIUS accounting is enabled.
... | ... |
@@ -17,8 +17,8 @@ DEFS+=-DSQL_ACC |
17 | 17 |
# (uncomment next line or 'ENABLE_RADIUS_ACC=true make all') |
18 | 18 |
#ENABLE_RADIUS_ACC=true |
19 | 19 |
ifeq ($(ENABLE_RADIUS_ACC),true) |
20 |
-DEFS+=-DRAD_ACC -I$(LOCALBASE)/include |
|
21 |
-LIBS=-L$(LOCALBASE)/lib $(RADIUS_LIB) |
|
20 |
+include ../../Makefile.radius |
|
21 |
+DEFS+=-DRAD_ACC |
|
22 | 22 |
endif |
23 | 23 |
|
24 | 24 |
# set ENABLE_DIAMETER_ACC to true if you wish to enable DIAMETER accounting |