Date: Tue, 7 Dec 1999 12:16:52 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Wei-Xue Shi cc: djgpp AT delorie DOT com Subject: Re: A question on Autoconf In-Reply-To: <82hic8$359$1@news.telewaynet.ad.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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...