This is from php 4.4.7 and the configure went fine:
Might be moved to the php forum (sorry)
Here is the configure script I ran and reported no errors:
'./configure' '--with-litespeed' '--prefix=/usr' '--exec-prefix=/usr/local' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'...