Only if the pre-requisite calls out the name of a spell explicitly. For instance, the Dimensional Agility feat (Ultimate Combat) has "ability to use the abundant step class feature or cast dimension door" as a prerequisite; a barghest has dimension door as a spell-like ability, so the barghest meets the "able to cast dimension door prerequisite for that feat. However, the barghest's dimension door would not meet requirements such as "Ability to cast 4th level spells" or "Ability to cast arcane spells".
Ruling clearly states that SLA doesn't count as the ability to cast a type of spell (divine or arcane) or count as a specific lv of spell. Case closed. No early entry.