]> git.ipfire.org Git - thirdparty/grub.git/commit
configure: Remove dead code
authorGlenn Washburn <development@efficientek.com>
Fri, 18 Mar 2022 06:41:37 +0000 (01:41 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 4 Apr 2022 17:18:58 +0000 (19:18 +0200)
commit4ee4d4f50bb63fb061fa9bd326e3bd1ea948d8f7
tree72115f774cdb139482d44508dbbcaeacb63f503c
parentaffe8ba61539c342edede4a6e3090555da063a0f
configure: Remove dead code

It appears as though the intent of this code is to define abort() and main()
symbols for some configure tests. However, it never gets used because the if
is only entered when not building for *-emu, but the next if block only runs
when building for *-emu. And the if block after that unconditionally resets
CFLAGS. So this code can have no effect.

Additionally, s/aclocal.m4/acinclude.m4/ and move grub_ASM_USCORE to put
with other marcos defined in acinclude.m4.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
configure.ac