Every thing else will bolt right up. Did you get the trans as well? The Torque-flite for the 340 is the more heavy duty 727 as opposed to the light duty 904 used on the 318, some 360 . If you get the trans you will need to get your driveshaft modified to fit. Simple. Oh if your 318 was a 2 BBL the kick down linkage is different as well.
I got lucky when I changed out my engine and trans.
I had a donor car,that was a BB with a 727,and an 8 3/4 diff.
That driveshaft was perfect for my SB 727 Trans and diff combo.
I bought the Trans rebuilt for a 340 from a friend for $300 bucks.
Probably has less than 500 miles on it.
I let it sit too long once before (Kinda like now) and I had to pull the tail shaft housing off, so I could clean the Governor.
It had not been shifting correctly till I did that.
I am now putting shaved 360 heads on my 318,with thin gaskets,a 69 340 intake,and HIPO exhaust.
I'll need carb bracket linkage,kick down linkage,and modify the shift linkage for the Column shifter to clear the exhaust.