TurboTax should actually ask you for both of those values, then the program will choose the one to use for the basis according to the tax laws.
The information provided by AmeliesUncle explains which value the program will choose to use.
@jacquedodds