ruby-changes:27584
From: nobu <ko1@a...>
Date: Fri, 8 Mar 2013 14:25:12 +0900 (JST)
Subject: [ruby-changes:27584] nobu:r39636 (trunk): configure.in: suppress error messages
nobu 2013-03-08 14:24:26 +0900 (Fri, 08 Mar 2013) New Revision: 39636 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39636 Log: configure.in: suppress error messages * configure.in: suppress error messages, rm: cannot remove 'conftest.dSYM', from AC_EGREP_CPP with CFLAGS=-g on Darwin. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 39635) +++ configure.in (revision 39636) @@ -11,6 +11,20 @@ AC_DEFUN([RUBY_PREREQ_AC], https://github.com/ruby/ruby/blob/trunk/configure.in#L11 AC_DISABLE_OPTION_CHECKING +# suppress error messages, rm: cannot remove 'conftest.dSYM', from +# AC_EGREP_CPP with CFLAGS=-g on Darwin. +rm() { + local recursive + for arg do + AS_CASE("$arg", + [--*], [], + [-*r*], [break], + [conftest.*], [if test -d "$arg"; then recursive=-r; break; fi], + []) + done + command rm $recursive "$@" +} + { # environment section AC_ARG_WITH(baseruby, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/