There is a typo in the config_number_of_transforms.c example (https://software.intel.com/en-us/mkl-developer-reference-c-config_number_of_transforms). "DFTI_INPUT_DISTANCE" on line 107 (inside the commented code) should be "DFTI_OUTPUT_DISTANCE".
Thank you for posting the typo. Since it's comments for example, would not affect the result. But it's may lead a misunderstanding to users.