Comparison of multichannel-quantum-defect theory and multiconfiguration-Hartree-Fock wave-functions for alkaline-earth atoms