The appointment of a next friend for an infant shall be made by the court in which the suit is intended to be brought, or by a judge or clerk thereof.