Remove doxygen logic; add use of $NETLOC_CONFIGURE_FLAGS
(cherry picked from commit 7a55d8aaff1e9fde23ee5ff6fae5b61af7468373)