There are different length input shafts. It seems to depend on which transmission you have. The 4.0L are cursed with the 42RE tranny. I am not going to say that it is a POS, but it certainly is not a great transmission. The V-8 Grands get a better transmission, 46RE in my case. That is the main reason the I look for the V-8's when I buy a Grand.
Any of the three different transfer cases (231 / 242 / 249) will bolt up to the different transmissions. However, the distance between the different overdrive units does cause the input shaft issue. The rear seal on the 46RE transmission is further away from the mounting flange for the transfer case (I am not sure about the 44RE) that it is on the 42RE. The input shaft provides one of the sealing surfaces for the rear seal on the overdrive unit, so if your input shaft is not long enough, there will be no seal. Bad things result.
You will be able to tell which input shaft you need fairly quickly after pulling the transfer case away from the transmission. The short shaft only sticks out the front of the TC about 2 - 3 inches. The longer shaft is closer to four inches.
If you decide to get the 231 transfer case, try get one make before 1994. New Process make a change on the angle of the gear cut sometime in 1994. If you get a transfer case with the different gear angle, the tail shaft from your 249 will not fit in the new case. They can be purchased, but I do not remember the part numbers. Maybe somebody else can help out with that.
Kevin's Offroad has a good write up on doing the 231 swap Here is a link.
http://www.kevinsoffroad.com/techarticles/2492231caseswap.html