Skip to content

Commit

Permalink
Check windres message using the found windres only if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 24, 2023
1 parent 0c0875f commit 1cba1b3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>

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
Expand Down

0 comments on commit 1cba1b3

Please sign in to comment.