A machine for folding and gluing folding boxes has a first folding station
and at least one second folding station that follows downstream. Machine
components are provided which can be positioned transversely and which
contain conveying elements for blanks for the folding boxes and at least
one adhesive application unit. The machine further has actuating drives
for positioning the machine components, and a rotary station which is
disposed downstream of the first folding station and upstream of the
second folding station. The rotary station has a fixedly disposed
transport device for the blanks. A controller controls the actuating
drives of the machine components which are provided in front of and
behind the rotary station and which can be positioned transversely, as a
function of the type of folding boxes that is to be produced.