Date: Wed, 1 Apr 1998 02:16:13 -0800 (PST) From: Bill Hogan To: Eli Zaretskii cc: Bill Hogan , djgpp AT delorie DOT com Subject: Re: ./configure In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 1 Apr 1998, Eli Zaretskii wrote: > > On 31 Mar 1998, Bill Hogan wrote: > > > ----------------------- quote -------------------- > > loading cache ./config.cache > > checking for sh... no > > checking for bash... no > > checking for zsh... no > > checking for ksh... no > > oops - no usable shell for make or me! Configure is exiting. > > ---------------- unquote ------------------------- > > > > My question: given that I have a standard djgpp-v2 setup, > > what is it that prevents this script from finding the things > > it is looking for? > > It is looking for the shell. I cannot really guess why is it failing, > since none of the configure scripts I've seen does that, so please > post the part of the script which does these tests ... At this time it seems to me that the problem comes from the way the `configure.in' script that created (via autoconf) the ./configure script that put out the error messages showm above is written; for example, ----------------------------- quote ------------------------- AC_PATH_PROGS(MAKE_SHELL, sh bash zsh ksh) if test -z "$MAKE_SHELL"; then echo oops - no usable shell for make or me! Configure is exiting. exit 1 fi ------------------------------ unquote ---------------------- There may be some other way to make autoconf macros djgpp-aware, but for the time being I went ahead and rewrote stuff like this so it now reads -------------------------- quote ---------------------------- AC_PATH_PROGS(MAKE_SHELL, sh.exe bash.exe zsh.exe ksh.exe) if test -z "$MAKE_SHELL"; then echo oops - no usable shell for make or me! Configure is exiting. exit 1 fi ---------------------------- unquote ------------------------- etc, and used this to generate a new, djgpp-specific ./configure script. I haven't tested it yet. Bill