[systemd-devel] autoconf cache collision in check for gnuefi
Mirco Tischler
mt-ml at gmx.de
Sun Mar 1 15:12:18 PST 2015
Hi
I get the following error when doing ./configure --enable-gnuefi:
checking for /usr/lib/gnuefi/elf_x86_64_efi.lds... no
checking for /usr/lib/elf_x86_64_efi.lds... (cached) no
configure: error: *** gnuefi support requested but files not found
even though the second file exists on my system.
In the lines: configure.ac:1186
[AS_FOR([DIR], [EFI_LDS_DIR], ["${efiroot}/gnuefi"
"${efiroot}"],
[AC_CHECK_FILE([DIR/elf_${EFI_ARCH}_efi.lds],
AC_CHECK_FILE doesn't expand the DIR variable and creates the cached
variable ac_cv_file_DIR_elf_x86_64_efi_lds, which is then falsely
reused for all DIRs. I'm not sure if this is an autotools or systemd
issue.
systemd version: current git
autoconf version: 2.69
on Arch Linux
Thanks
Mirco
More information about the systemd-devel
mailing list