"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tool/m4/ruby_rm_recursive.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_rm_recursive.m4  (ruby-2.7.3):ruby_rm_recursive.m4  (ruby-2.7.4)
# -*- Autoconf -*- # -*- Autoconf -*-
AC_DEFUN([RUBY_RM_RECURSIVE], [ AC_DEFUN([RUBY_RM_RECURSIVE], [dnl
m4_version_prereq([2.70], [-1], [ m4_version_prereq([2.70], [], [dnl
# suppress error messages, rm: cannot remove 'conftest.dSYM', from # suppress error messages, rm: cannot remove 'conftest.dSYM', from
# AC_EGREP_CPP with CFLAGS=-g on Darwin. # AC_EGREP_CPP with CFLAGS=-g on Darwin.
AS_CASE([$build_os], [darwin*], [ AS_CASE([$build_os], [darwin*], [
rm() { rm() {
rm_recursive='' rm_recursive=''
for arg do for arg do
AS_CASE("$arg", AS_CASE("$arg",
[--*], [], [--*], [],
[-*r*], [break], [-*r*], [break],
[conftest.*], [AS_IF([test -d "$arg"], [rm_recursive=-r; break])] , [conftest.*], [AS_IF([test -d "$arg"], [rm_recursive=-r; break])] ,
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

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