Hi,

When configuring a package that has AC_CANONICAL_HOST in its 
configure.ac for dietlibc using the following command line:

 CC="diet gcc -nostdinc"  ./configure --disable-nls

the configuration fails with:

checking build system type... Invalid configuration 'x86_64-pc-linux-dietlibc': 
OS 'dietlibc' not recognized
configure: error: /bin/bash ./config.sub x86_64-pc-linux-dietlibc failed


Apparently config.guess produces a host string x86_64-pc-linux-dietlibc 
that config.sub cannot grok.

Manually setting ac_cv_build to x86_64-pc-linux-dietlibc allows 
configuration and compilation to proceed, but that's not supposed to be 
needed :-)

Both config.sub and config.guess are the most recent versions, as 
downloaded from https://git.savannah.gnu.org/cgit/config.git/plain/config.sub

Thanks,

Alain

Reply via email to