From d1a3f716e9655a73a517f079efce3768ebec8b0d Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 21 May 2015 11:39:15 +0000 Subject: * configure.in (RUBY_DTRACE_POSTPROCESS): cmp -b is GNU extension. darwin uses GNU cmp, and FreeBSD and Solaris are not. Note that accidentally equals to expected result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ configure.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bc242004fe..65ae0562e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu May 21 20:27:07 2015 NARUSE, Yui + + * configure.in (RUBY_DTRACE_POSTPROCESS): cmp -b is GNU extension. + darwin uses GNU cmp, and FreeBSD and Solaris are not. + Note that accidentally equals to expected result. + Thu May 21 18:00:19 2015 Koichi Sasada * iseq.c: constify. diff --git a/configure.in b/configure.in index a967f3a0b5..c66590d469 100644 --- a/configure.in +++ b/configure.in @@ -649,7 +649,7 @@ _PROBES $DTRACE -G -s conftest_provider.d conftest.${ac_objext} 2>/dev/null && : }; then - if cmp -b conftest.o conftest.${ac_objext}.save; then + if cmp -s conftest.o conftest.${ac_objext}.save; then rb_cv_prog_dtrace_g=yes else rb_cv_prog_dtrace_g=rebuild -- cgit v1.2.3