Mail Archives: djgpp/1999/12/07/07:27:32
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 -