ruby-changes:47953
From: glass <ko1@a...>
Date: Sat, 30 Sep 2017 15:30:50 +0900 (JST)
Subject: [ruby-changes:47953] glass:r60068 (trunk): configure.ac: use m4_version_prereq
glass 2017-09-30 15:30:44 +0900 (Sat, 30 Sep 2017) New Revision: 60068 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60068 Log: configure.ac: use m4_version_prereq * configure.ac: use m4_version_prereq to check running autoconf version. Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 60067) +++ configure.ac (revision 60068) @@ -16,11 +16,9 @@ AC_ARG_VAR([cppflags], [additional CPPFL https://github.com/ruby/ruby/blob/trunk/configure.ac#L16 AC_ARG_VAR([cxxflags], [additional CXXFLAGS]) AC_DEFUN([RUBY_RM_RECURSIVE], [ -m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [2.70]), [-1], [ +m4_version_prereq([2.70], [-1], [ # suppress error messages, rm: cannot remove 'conftest.dSYM', from # AC_EGREP_CPP with CFLAGS=-g on Darwin. -# -# TODO: remove this hack when AC_PREREQ() becomes 2.70 or later. AS_CASE([$build_os], [darwin*], [ rm() { rm_recursive='' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/