Instead of removing it, there is a cc option "-undef" .. is that what configure was trying to do? > > cc undef -I. -I.. -DPIC -fpic -O2 -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS