Linking density functional and mode coupling models for supercooled liquids.