from xml.dom import minidom

def make_config_in(dom) :
    tempstring = "";
    tempstring = tempstring +'/*this file is auto generated by volk_register.py*/';
    tempstring = tempstring + '\n\n';

    for domarch in dom:
        arch = str(domarch.attributes["name"].value);
        tempstring = tempstring + '#undef LV_HAVE_' + arch.swapcase() + '\n';
    tempstring = tempstring + '\n';

    return tempstring