зеркало из https://github.com/github/ruby.git
configure.in: suppress error messages
* configure.in: suppress error messages, rm: cannot remove 'conftest.dSYM', from AC_EGREP_CPP with CFLAGS=-g on Darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5ebffacf17
Коммит
d415f2abac
14
configure.in
14
configure.in
|
@ -11,6 +11,20 @@ AC_DEFUN([RUBY_PREREQ_AC],
|
|||
|
||||
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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче