Because an undefined macro receives another macro as parameter autoconf is not smart enough to produce a useful error message.
Signed-off-by: Radoslav Kolev <[email protected]> --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index a282bf7bf..6c66a8ea9 100644 --- a/configure.ac +++ b/configure.ac @@ -1792,6 +1792,9 @@ LIBS="" # Defined in acinclude.m4. grub_ASM_USCORE grub_PROG_TARGET_CC +#the error message produced by autoconf if autoconf-archive is not installed is +#quite misleading and not very helpful, so try point people in the right direction +m4_ifndef([AX_CHECK_LINK_FLAG], [m4_fatal([autoconf-archive is missing. You must install it to generate the configure script.])]) if test "x$TARGET_APPLE_LINKER" != x1 ; then AX_CHECK_LINK_FLAG([-Wl,--image-base,0x400000], [TARGET_IMG_BASE_LDOPT="-Wl,--image-base"], -- 2.51.1 _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
