From 1cba1b3992dcc7476a24e00e4207cfd38e37d8d4 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 24 Nov 2023 20:00:13 +0900 Subject: [PATCH] Check `windres` message using the found `windres` only if needed --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index ec1d6adc49..0eb623e7f6 100644 --- a/configure.ac +++ b/configure.ac @@ -506,13 +506,10 @@ AS_CASE(["$target_os"], ]) rb_cv_binary_elf=no : ${enable_shared=yes} + AS_IF([$WINDRES --version | grep LLVM > /dev/null], [USE_LLVM_WINDRES=yes], [USE_LLVM_WINDRES=no]) ], [hiuxmpp*], [AC_DEFINE(__HIUX_MPP__)]) # by TOYODA Eizi -USE_LLVM_WINDRES=no -windres_version=`windres --version | grep LLVM` -test -z "$windres_version" || USE_LLVM_WINDRES=yes - AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_INSTALL