--- configure	2008-03-02 18:10:16.000000000 +0100
+++ configure	2008-03-18 23:40:14.000000000 +0100
@@ -143,6 +143,7 @@
 echo CFLAGS+=-I`pwd` -I`pwd`/lib -I`pwd`/protocols -I. >> Makefile.settings
 
 echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings
+echo CC=${CC} >> Makefile.settings
 
 if [ -n "$CC" ]; then
 	CC=$CC