<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - gnuefi ldsdir check uses guessed $efiroot instead of $EFI_LIB_DIR"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89982#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - gnuefi ldsdir check uses guessed $efiroot instead of $EFI_LIB_DIR"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89982">bug 89982</a>
              from <span class="vcard"><a class="email" href="mailto:mgorny@gentoo.org" title="Michał Górny <mgorny@gentoo.org>"> <span class="fn">Michał Górny</span></a>
</span></b>
        <pre>I'm thinking the following may be better:

  [AS_FOR([DIR], [EFI_LDS_DIR], ["${EFI_LIB_DIR}/gnuefi" "${EFI_LIB_DIR}"],
          [AC_CHECK_FILE([${EFI_LDS_DIR}/elf_${EFI_ARCH}_efi.lds],
                         [have_efi_lds=yes && break])])])

i.e. $EFI_LIB_DIR (--with-efi-libdir=) instead of $efiroot (default path).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>