<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57198>57198</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Look for necessary header files at configure time
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          wyphan
      </td>
    </tr>
</table>

<pre>
    I'm trying to "patch" the Spack package for LLVM such that it looks for the required header files from binutils and libc:
https://github.com/spack/spack/pull/30954
It would be nice if this check is performed directly from CMake in the LLVM source at configure time, instead of failing later during the build.

cc: @trws
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9ksuK3TAMhp8m2YiGxLkvvJjOMDBwZlXo3hcl8RwnzvjSw3n7KjmUthQKwZKQLX3_T6TTd_6WsX6F6O9mmyE6yBjbRVQLRYgLwrddqCsch5gRJufhcvn-DiGphfoigolgnbuGs3e88PiZjEcNCwqNHiZjkbrerSDNlqKxAcSmwRqpsvopK1-y8mmJcQ9HxV7pm01ckiyUW6kIx_I_4p6spVCXY9s8Hr9FuLlkNUiEzSgEMxGJCaAWJHhKdvSEtxKUJjQV7f0B9PwurnR9O8EfwlzyNIGEKbdNZk4eIZoVM_ZM90IkTeAmmISxh2NWRJKokz_toyEyGauLB9fjVIdKyJoy-lvIkVddV_ZtM1Zjrnmtx3oUeTTRIr-Qj6eNGyoMQfj73x7-A5Unb_l_rLP2x6_wZffug5RTaUJIGChp-2oc8oW3FVNd1cp-KiuFTdvJEodSq0ErIVUtcysk2sCz9iv9Fhve4BxBeda-5IazkrFyqPqqa4Z6KHqmW80qJkepZS8YSceV_CoOjsL5Off8RJJpDtS0JsTwuylCMPOGeK6j-SLFxXl-u--L2PJzMz_JfwJAm-h1">