Thank you. QMAKESPEC was just the var I was looking for.

I reset it to an empty string before the ./configure and everything went fine. Qt 4.1 is currently building itself since already 10 minutes.

Wait and see...