radacctdir = @radacctdir@
top_builddir = @abs_top_builddir@
top_srcdir = @abs_top_srcdir@
+datarootdir = @datarootdir@
MAKE = @MAKE@
CC = @CC@
endif
# http://clang.llvm.org/StaticAnalysis.html
-SCAN_BUILD = /path/to/checker-0.167/scan-build
+#
+# $ make SCAN=/path/to/checker/
+#
+ifneq ($(SCAN),)
+CC := $(SCAN)/scan-build gcc -DFR_SCAN_BUILD
+LIBTOOL :=
+endif