You can use the xlf_configure utility to generate the configuration file as long as the compiler has been successfully installed.
cd installation_path/xlf/10.1/bin/where installation_path is the installation location of the compiler packages. If the compiler is installed in the default location, installation_path is /opt/ibmcmp/.
./xlf_configure options