2010-03-25 23:20:59 +00:00
|
|
|
dnl automated feature report at the end of configure script
|
|
|
|
|
|
|
|
AC_DEFUN([NUT_REPORT],
|
|
|
|
[ if test -z "${nut_report_feature_flag}"; then
|
|
|
|
nut_report_feature_flag="1"
|
|
|
|
ac_clean_files="${ac_clean_files} conf_nut_report_feature"
|
|
|
|
echo > conf_nut_report_feature
|
2011-01-26 09:35:08 +00:00
|
|
|
echo -e "Configuration summary:\n======================" >> conf_nut_report_feature
|
2010-03-25 23:20:59 +00:00
|
|
|
fi
|
|
|
|
echo "$1: $2" >> conf_nut_report_feature
|
|
|
|
])
|
|
|
|
|
|
|
|
AC_DEFUN([NUT_REPORT_FEATURE],
|
|
|
|
[
|
|
|
|
AC_MSG_CHECKING([whether to $1])
|
|
|
|
AC_MSG_RESULT([$2])
|
|
|
|
NUT_REPORT([$1], [$2])
|
|
|
|
])
|
|
|
|
|
|
|
|
AC_DEFUN([NUT_PRINT_FEATURE_REPORT],
|
|
|
|
[
|
|
|
|
cat conf_nut_report_feature
|
|
|
|
])
|