Check windres message using the found windres only if needed

This commit is contained in:
Nobuyoshi Nakada 2023-11-24 20:00:13 +09:00
parent 0c0875fe60
commit 1cba1b3992
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -506,13 +506,10 @@ AS_CASE(["$target_os"],
]) ])
rb_cv_binary_elf=no rb_cv_binary_elf=no
: ${enable_shared=yes} : ${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 <toyoda@npd.kishou.go.jp> [hiuxmpp*], [AC_DEFINE(__HIUX_MPP__)]) # by TOYODA Eizi <toyoda@npd.kishou.go.jp>
USE_LLVM_WINDRES=no
windres_version=`windres --version | grep LLVM`
test -z "$windres_version" || USE_LLVM_WINDRES=yes
AC_PROG_LN_S AC_PROG_LN_S
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_INSTALL AC_PROG_INSTALL