delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/01/05:17:47

Date: Wed, 1 Apr 1998 02:16:13 -0800 (PST)
From: Bill Hogan <billh AT autobahn DOT org>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: Bill Hogan <billh AT ferrari DOT autobahn DOT org>, djgpp AT delorie DOT com
Subject: Re: ./configure
In-Reply-To: <Pine.SUN.3.91.980401112357.2919J-100000@is>
Message-ID: <Pine.LNX.3.95.980401014727.473A-100000@bedlam>
MIME-Version: 1.0

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

   
  
   

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019