sequence of checks done, different order, fixed error.

More checks done. If both libraries present.
Fresh copy, tested ./configure --without-libuninameslist
then ./configure
okay.

Fresh copy, tested ./configure
error.