Clean-ups: rename uuid.m4 to libuuid.m4; separate BT_CHECK_xxx from BT_REQUIRE_xxx; always subst have_xxx and always define HAVE_XXX after package checks.