IMHO, the mktemp -d solution (or any other solution using empty dirs) is just a hack to work around missing functionality in intltool < 0.50. With intltool >= 0.50, we should use the proper solution, i.e. using the --no-translations option.
Furthermore, according to http://www.gnu.org/software/autoconf/manual/autoconf.html, mktemp is not always available on all systems. Maybe it is better to use
_it_tmp_dir=tmp.intltool.$RANDOM && mkdir _it_tmp_dir
instead of
_it_tmp_dir=`mktemp -d tmp.XXXXXXXXXX`
IMHO, the mktemp -d solution (or any other solution using empty dirs) is just a hack to work around missing functionality in intltool < 0.50. With intltool >= 0.50, we should use the proper solution, i.e. using the --no-translations option.
Furthermore, according to http:// www.gnu. org/software/ autoconf/ manual/ autoconf. html, mktemp is not always available on all systems. Maybe it is better to use
_it_tmp_ dir=tmp. intltool. $RANDOM && mkdir _it_tmp_dir
instead of
_it_tmp_dir=`mktemp -d tmp.XXXXXXXXXX`