Imported Upstream version 2.6.3

This commit is contained in:
Arnaud Quette 2012-01-24 11:22:33 +01:00
parent 45043b58d0
commit fad6ced6f6
255 changed files with 11081 additions and 4629 deletions

View file

@ -1,4 +1,8 @@
dnl automated feature report at the end of configure script
dnl automated feature report at the end of configure script.
dnl it also AC_DEFINE() and AM_CONDITIONAL the matching variable.
dnl for example, "usb" (--with-usb) will give
dnl nut_with_usb and WITH_USB (both macros, and
dnl AM_CONDITIONAL)
AC_DEFUN([NUT_REPORT],
[ if test -z "${nut_report_feature_flag}"; then
@ -14,8 +18,13 @@ AC_DEFUN([NUT_REPORT],
AC_DEFUN([NUT_REPORT_FEATURE],
[
AC_MSG_CHECKING([whether to $1])
AC_MSG_RESULT([$2])
NUT_REPORT([$1], [$2])
AC_MSG_RESULT([$2 $3])
NUT_REPORT([$1], [$2 $3])
AM_CONDITIONAL([$4], test "$2" = "yes")
if test "$2" = "yes"; then
AC_DEFINE_UNQUOTED($4, 1, $5)
fi
])
AC_DEFUN([NUT_PRINT_FEATURE_REPORT],