Uh, you're not going to like this....
Expansive soils like we have in North Texas have made for one heck of a foundation repair business. The repair may run you $1000. It may run you $15,000. It depends on just what is wrong with it. Minor cracking caused by a little soil drying and settling right at the corner of the house might cost you $2,000 to fix. A big crack running down the middle of the house might run $30,000.
Get yourself an engineer, and do some reading. If your house is pier and beam, you might be able to get away with a realignment of the footings, which will be cheap, as repairs go. If it's a poured slab, and the cracking is serious, be prepared to shell out some serious cash.