"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tool/m4/ruby_mingw32.m4" between
ruby-2.7.3.tar.gz and ruby-2.7.4.tar.gz

About: Ruby is an interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). Stable release of 2.7 series.

ruby_mingw32.m4  (ruby-2.7.3):ruby_mingw32.m4  (ruby-2.7.4)
# -*- Autoconf -*- # -*- Autoconf -*-
AC_DEFUN([RUBY_MINGW32], AC_DEFUN([RUBY_MINGW32],
[AS_CASE(["$host_os"], [AS_CASE(["$host_os"],
[cygwin*], [ [cygwin*], [
AC_CACHE_CHECK(for mingw32 environment, rb_cv_mingw32, AC_CACHE_CHECK(for mingw32 environment, rb_cv_mingw32,
[AC_TRY_CPP([ [AC_PREPROC_IFELSE([AC_LANG_SOURCE([[
#ifndef __MINGW32__ #ifndef __MINGW32__
# error # error
#endif #endif
], rb_cv_mingw32=yes,rb_cv_mingw32=no) ]])],[rb_cv_mingw32=yes],[rb_cv_mingw32=no])
rm -f conftest*]) rm -f conftest*])
AS_IF([test "$rb_cv_mingw32" = yes], [ AS_IF([test "$rb_cv_mingw32" = yes], [
target_os="mingw32" target_os="mingw32"
: ${ac_tool_prefix:="`expr "$CC" : ['\(.*-\)g\?cc[^/]*$']`"} : ${ac_tool_prefix:="`expr "$CC" : ['\(.*-\)g\?cc[^/]*$']`"}
AC_DEFINE(__USE_MINGW_ANSI_STDIO, 1) dnl for gnu_printf AC_DEFINE(__USE_MINGW_ANSI_STDIO, 1) dnl for gnu_printf
]) ])
]) ])
AS_CASE(["$target_os"], [mingw*msvc], [ AS_CASE(["$target_os"], [mingw*msvc], [
target_os="`echo ${target_os} | sed 's/msvc$//'`" target_os="`echo ${target_os} | sed 's/msvc$//'`"
]) ])
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)