fix configure for solaris10.


git-svn-id: http://www.nlnetlabs.nl/svn/ldns/trunk@3820 af62348d-a3ea-0310-b058-bb613a78d823