> Date: Sat, 15 Dec 2012 10:06:57 +0200
> From: Eli Zaretskii <[email protected]>
> CC: [email protected]
>
> > Date: Fri, 14 Dec 2012 22:35:23 GMT
> > From: [email protected] (Karl Berry)
> >
> > I attach below a patch to install Windows batch files
> >
> > I installed it.
> >
> > If you could send me the modified configury files produced by
> > Automake and Autoconf, I could then test them here.
> >
> > Let's just wait for the next pretest, which should be soon. That way we
> > can be sure the whole thing is consistent.
>
> OK, thanks.
I tested the latest pretest. There are two problems:
. The test in configure that decides whether to install the *.bat
files looks at the $target variable:
tgt_is_windows=no
case "$target" in
*-mingw32 | *-mingw64 | *-msdosdjgpp ) tgt_is_windows=yes ;;
esac
if test "x$tgt_is_windows" = "xyes"; then
TGT_IS_WINDOWS_TRUE=
TGT_IS_WINDOWS_FALSE='#'
else
TGT_IS_WINDOWS_TRUE='#'
TGT_IS_WINDOWS_FALSE=
fi
However, this doesn't work as intended, because $target is empty,
unless I explicitly invoke the configure script with --target=; if
I invoke with --build=i686-pc-mingw32, as I normally do, the value
is empty. Did I use an incorrect variable?
. If I use --target=, the test works, but "make install" fails
because the *.bat files were not included in the tarball.