Consistency conditions for orientifolds and D-manifolds.