Packages that use intltool for example to internationalize *.desktop files always build-depend on intltools to create the *.desktop file from a *.desktop.in file. Thus it is impossible to build such a package without intltool.
The option --disable-nls might suggest that you can disable internationalization, but you cannot disable the use of intltools and thus this option should NOT disable the checks for intltool.
IMO, the option --disable-nls is confusing and should not be added to the configure options by using IT_PROG_INTLTOOL.
(that means remove AM_NLS from intltool.m4 and replace it with just:
if -z $USE_NLS; then USE_NLS=yes;fi
AC_SUBST(USE_NLS)
Packages that use intltool for example to internationalize *.desktop files always build-depend on intltools to create the *.desktop file from a *.desktop.in file. Thus it is impossible to build such a package without intltool.
The option --disable-nls might suggest that you can disable internationaliz ation, but you cannot disable the use of intltools and thus this option should NOT disable the checks for intltool.
IMO, the option --disable-nls is confusing and should not be added to the configure options by using IT_PROG_INTLTOOL.
(that means remove AM_NLS from intltool.m4 and replace it with just:
if -z $USE_NLS; then USE_NLS=yes;fi
AC_SUBST(USE_NLS)