Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (19 sloc) 525 Bytes
ngx_feature="RRDtool"
ngx_feature_name=
ngx_feature_run=no
ngx_feature_incs="#include <rrd.h>"
ngx_feature_path=
ngx_feature_libs=-lrrd
ngx_feature_test="rrd_graph_v;"
. auto/feature
if [ $ngx_found = yes ]; then
ngx_addon_name=ngx_http_rrd_graph_module
HTTP_MODULES="$HTTP_MODULES ngx_http_rrd_graph_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_rrd_graph_module.c"
CORE_LIBS="$CORE_LIBS -lrrd"
else
cat << END
$0: error: ngx_rrd_graph requires RRDtool 1.3 or later.
END
exit 1
fi