"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tool/m4/ruby_dtrace_available.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_dtrace_available.m4  (ruby-2.7.3):ruby_dtrace_available.m4  (ruby-2.7.4)
# -*- Autoconf -*- # -*- Autoconf -*-
AC_DEFUN([RUBY_DTRACE_AVAILABLE], AC_DEFUN([RUBY_DTRACE_AVAILABLE],
[AC_CACHE_CHECK(whether dtrace USDT is available, rb_cv_dtrace_available, [AC_CACHE_CHECK(whether dtrace USDT is available, rb_cv_dtrace_available,
[ [
echo "provider conftest{ probe fire(); };" > conftest_provider.d echo "provider conftest{ probe fire(); };" > conftest_provider.d
rb_cv_dtrace_available=no rb_cv_dtrace_available=no
AS_FOR(opt, rb_dtrace_opt, ["-xnolibs" ""], [dnl AS_FOR(opt, rb_dtrace_opt, ["-xnolibs" ""], [dnl
AS_IF([$DTRACE opt -h -o conftest_provider.h -s conftest_provider.d >/dev /null 2>/dev/null], AS_IF([$DTRACE opt -h -o conftest_provider.h -s conftest_provider.d >/dev /null 2>/dev/null],
[], [continue]) [], [continue])
AC_TRY_COMPILE([@%:@include "conftest_provider.h"], [CONFTEST_FIRE();], AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include "conftest_provider.h"]], [[CONFTEST_FIRE();]])],
[], [continue]) [], [continue])
# DTrace is available on the system # DTrace is available on the system
rb_cv_dtrace_available=yes${rb_dtrace_opt:+"(opt)"} rb_cv_dtrace_available=yes${rb_dtrace_opt:+"(opt)"}
break break
]) ])
rm -f conftest.[co] conftest_provider.[dho] rm -f conftest.[co] conftest_provider.[dho]
]) ])
AS_CASE(["$rb_cv_dtrace_available"], ["yes("*")"], AS_CASE(["$rb_cv_dtrace_available"], ["yes("*")"],
[DTRACE_OPT=`expr "$rb_cv_dtrace_available" : "yes(\(.*\))"`]) [DTRACE_OPT=`expr "$rb_cv_dtrace_available" : "yes(\(.*\))"`])
])dnl ])dnl
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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