Mail Archives: djgpp/1998/10/18/07:44:43
On Fri, 16 Oct 1998, bowman wrote:
> ifdef([AC_PROVIDE_AC_PROG_INSTALL],
> [ case "$ac_given_INSTALL" in
> changequote(, )dnl
> [/$]*) INSTALL="$ac_given_INSTALL" ;;
> changequote([, ])dnl
> *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
> esac
> ])dnl
>
> prior to reaching this code, ac_given_INSTALL is set to
> c:/djgpp/bin/ginstall by prior tests. However, after the test, ac_dots
> is prepended, yeilding ../c:/djgpp/bin/ginstall, which fails during the
> "make install" operation.
The problem is with this line:
> [/$]*) INSTALL="$ac_given_INSTALL" ;;
It should instead say this:
[/$]*|[A-z]:/*) INSTALL="$ac_given_INSTALL" ;;
because DOS/Windows absolute file names do not have to start with a
slash.
I find myself editing every GNU configure script to make this change.
Ideally, the DJGPP port of Autoconf should produce the latter variant
automatically (there are a few more cases like this in a typical
configure script, so be sure to check them all). I don't know enough
about Autoconf to tell you where to make the change.
- Raw text -