What were the capitals of Madagascar in the 1980s? [migrated]

The Collins Gazetteer of the World (circa 1985) lists Madagascar as having two capitals: Tananarive (now Antananarivo) and Ambagovy. What is this second place, and in what sense was it considered a capital?