www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/07/07:27:32

Date: Tue, 7 Dec 1999 12:16:52 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Wei-Xue Shi <wxshi AT ma DOT neweb DOT ne DOT jp>
cc: djgpp AT delorie DOT com
Subject: Re: A question on Autoconf
In-Reply-To: <82hic8$359$1@news.telewaynet.ad.jp>
Message-ID: <Pine.SUN.3.91.991207121631.29709L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 7 Dec 1999, Wei-Xue Shi wrote:

> in the original configure there is
> 
> if $ac_config_sub sun4 >/dev/null 2>&1; then :
> 
> and in new one, it is
> 
> if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
> 
> Then I removed all ${CONFIG_SHELL-/bin/sh}'s  in the new configure, it
> became to work and created a makefile for me.
>   I'd like to ask why I could not get a correct configure by running
> autoconf

The reason is that Autoconf was changed to use
${CONFIG_SHELL-/bin/sh}, and this will not work in the DJGPP
environment unless you set the CONFIG_SHELL variable in the
environment to point to the full pathname of Bash on your system.

Something like the following should work:

  set CONFIG_SHELL=${DJDIR}/bin/bash.exe

Relying on /bin/sh being always present is a Unixism.  It takes time
to explain to GNU maintainers that some systems out there aren't
Unix...

- Raw text -


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