it depends on how many players call, and how much the person went all in at pre-flop.
I would Call AKo , if nobody went, just a showdown between you and the person that went all in. its a good chance to make a double-up with your chips, or getting the opponents chips.
All-in with 30BB , and you have twice of half more than the allin raise, i would definitely call and hope for the best.
2 or more calls i would fold this 80% of the time