It seems ./configure is confused about which compiler it found.
When run without arguments, ./configure will look for (and find) gcc,
without ever bothering to look for cc.
With CC specified, using either of
./configure CC=cc
env CC=cc ./configure
this is what happens:
checking for gcc... cc
$ cc --version
OpenBSD clang version 10.0.1
Target: amd64-unknown-openbsd6.7
Thread model: posix
InstalledDir: /usr/bin
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
no
I don't know what effect it has on the subsequent compilation,
or what assumptions thinking "we are using the GNU compiler" leads to.
Jan
_______________________________________________
SoX-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-devel