--- configure.orig 2010-11-13 18:14:47.000000000 +0100 +++ configure 2011-04-07 01:28:50.000000000 +0200 @@ -16388,7 +16388,7 @@ $as_echo_n "checking if symbol visibility is supported... " >&6; } visibility_cflags="" case `basename $CC` in - gcc*) + cc|gcc*) gccversion="` ${CC} --version | head -1 | ${SED} 's/.*\([0-9]\.[0-9]\.[0-9]*\).*/\1/' `" case $gccversion in 4.*)