mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
configure.in: check dtace -G
* configure.in (RUBY_DTRACE_POSTPROCESS): check if the object file is really modified by `dtrace -G`, this command is very system dependent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
79cab4f31e
commit
ec723e30bc
1 changed files with 3 additions and 1 deletions
|
@ -643,7 +643,9 @@ _PROBES
|
|||
int main(void){ CONFTEST_FIRE(); return 0; }
|
||||
_CONF
|
||||
$CC $CFLAGS $CPPFLAGS -c -o conftest.o conftest.c &&
|
||||
$DTRACE -G -s conftest_provider.d conftest.o 2>/dev/null
|
||||
cp -p conftest.o conftest.oo &&
|
||||
$DTRACE -G -s conftest_provider.d conftest.o 2>/dev/null &&
|
||||
! cmp -b conftest.o conftest.oo
|
||||
}; then
|
||||
rb_cv_prog_dtrace_g=yes
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue