The invention is concerned with novel cycloalkane carboxamides of formula
(I) ##STR00001## wherein X, X.sup.1, Y, Y.sup.1, R.sup.1', R.sup.1'',
R.sup.2, R.sup.3, m and n are as defined in the description and in the
claims, as well as physiologically acceptable salts thereof. These
compounds inhibit the coagulation factor Xa and can be used as
medicaments.