Date: Sun, 18 Oct 1998 13:44:42 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: bowman cc: "djgpp AT delorie DOT com" Subject: Re: autoconf/acgeneral.m4 problem In-Reply-To: <36277F37.F4738DD4@montana.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com 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.