From 0c084e37d514f93f80ec845ca12dfa8ac5a38bb1 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Wed, 15 Jun 2022 05:28:53 +0200 Subject: [PATCH] build: Remove useless x86-specific test from configure --- configure.ac | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/configure.ac b/configure.ac index bb425519..b33da137 100644 --- a/configure.ac +++ b/configure.ac @@ -143,7 +143,7 @@ test "x$TOOLCHAIN" = "x" && TOOLCHAIN='limine' AC_ARG_VAR(LIMINE_CC, [C compiler command for Limine]) AC_DEFUN([CC_ERROR_MSG], [ - AC_MSG_ERROR([no suitable LIMINE_CC found, run $srcdir/make_toolchain.sh or install x86_64 GCC/Clang]) + AC_MSG_ERROR([no suitable LIMINE_CC found, run $srcdir/make_toolchain.sh or install the appropriate GCC/Clang]) ]) if ! test "x$LIMINE_CC" = "x"; then @@ -191,17 +191,6 @@ else CC_ERROR_MSG fi -if ! $LIMINE_CC -dumpmachine >/dev/null 2>&1; then - CC_ERROR_MSG -fi - -CC_MACHINE="$($LIMINE_CC -dumpmachine | dd bs=6 count=1 2>/dev/null)" -if ! test "x$CC_MACHINE" = "xx86_64"; then - if ! test "x$CC_MACHINE" = "xamd64-"; then - CC_ERROR_MSG - fi -fi - AC_DEFUN([GET_BINUTILS_PROG], [ AC_ARG_VAR(LIMINE_$1, [$3 command for Limine]) @@ -231,7 +220,7 @@ AC_DEFUN([GET_BINUTILS_PROG], [ fi AC_CHECK_PROG([LIMINE_$1_4], [$LIMINE_$1], [yes]) if ! test "x$LIMINE_$1_4" = "xyes"; then - AC_MSG_ERROR([no suitable LIMINE_$1 found, run $srcdir/make_toolchain.sh or install LLVM/GNU binutils]) + AC_MSG_ERROR([no suitable LIMINE_$1 found, run $srcdir/make_toolchain.sh or install the appropriate LLVM/GNU binutils]) fi fi fi