From Qt-interest mailing list:

It seems quite a few details have not been tested in the Qt 4.5 build
system. It works fine if you download just the library source and build it
from there, only the Linux-SDK-Edition seems to have problems.

Go to your Qt directory, check license files:
sh$ ls LICENSE* .LICENSE*
LICENSE.GPL3 LICENSE.LGPL

If other LICENSE files exist, move them to a different directory for now and
do a
sh$ touch LICENSE.GPL3 LICENSE.LGPL

Then the configure script should work (as far as I understood its source).
Thank you for your message -- it helped me solve the problem. I found no
LICENSE files in my "qt" directory. On my system, the Qt SDK for Linux
didn't install those files !

So I downloaded the Qt libraries for Linux. A 118 Mb download just to get
two license files of 60 Kb ! I copied LICENSE.GPL3 and LICENSE.LGPL to "/
qtsdk-2009.01/qt" and now configure works ! I uploaded the two LICENSE
files in case someone has the same problem and wants a quick solution :

Download Link :
http://rapidshare.com/files/20609012...ce.tar.gz.html
MD5 : 638D07D802155C90C1E412A836036905