diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-24 20:00:13 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-24 20:00:13 +0900 |
commit | 1cba1b3992dcc7476a24e00e4207cfd38e37d8d4 (patch) | |
tree | 665f480497f33bc9f92fafdbe728bacc46fd96d6 /configure.ac | |
parent | 0c0875fe6050a79e5525a71f6819168bd4947ff8 (diff) | |
download | ruby-1cba1b3992dcc7476a24e00e4207cfd38e37d8d4.tar.gz |
Check `windres` message using the found `windres` only if needed
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 1 insertions, 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 <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_MAKE_SET AC_PROG_INSTALL |