[patch] Error using ccc with some configure scripts


ccc doesn't do what configure expects (gcc to do), when passed the flag -v or --version.

I hammered an ugly patch on it so configure would shut up (it just wants to know that the gcc is newer than 2.0 (preferably newer than 3.4).
It's not nice and it isn't dynamic (the triple is just hardcoded in the string because I couldn't figure out how to extract it from clang).

One could also just exec gcc $arg when we're passed one of those and be done with it.

   - Filipe Cabecinhas

ccc–version-hack.patch (824 Bytes)