On Thursday 09 September 2010, Lyre wrote: > Never mind. > > set "CC = clang" in Makefile.am would work, however, I forgot it. But the best way to do it would be to pass it to configure, instead of hard-coding it in the Makefile.am:
$ ./configure CC=clang Not only this is more flexible, but also more correct. In fact, this way, configure will do its checks using the "clang" compiler (which I assume you want to use), rather than using "gcc" or the default "cc" compiler (which would be useless, since you don't want to use them). HTH, Stefano
