In addition to all the rights and powers conferred on any municipality under this Code or any other Acts to acquire, under lease or otherwise, any real or personal property for corporate purposes, the corporate authorities in every municipality, incorporated under any law of this state, have the power by ordinance:
(1) To lease from any public building commission created pursuant to the provisions of the Public Building Commission Act, approved July 5, 1955, as heretofore and hereafter amended, any real or personal property for any of its corporate purposes, for any period of time not exceeding 20 years.(2) To pay for the use of the leased property in accordance with the terms of the lease and with the provisions of the Public Building Commission Act, approved July 5, 1955, as heretofore and hereafter amended.(3) Such lease may be entered into without making a previous appropriation for the expense thereby incurred, notwithstanding the provisions contained in Sections 8-1-6, 8-1-7 and 8-2-1 through 8-2-8. However, if the corporate authorities of any municipality undertake to pay all or any part of the costs of operating and maintaining the property of a public building commission as authorized in subsection (4) of this section, such expenses of operation and maintenance shall be included in the annual appropriation ordinance of such municipality annually during the term of such undertaking.(4) In addition, the corporate authorities in every municipality may undertake, either in the lease with a public building commission or by separate agreement or contract with a public building commission, to pay all or any part of the costs of maintaining and operating the property of a public building commission for any period of time not exceeding 20 years.