configure.ac: use m4_version_prereq

* configure.ac: use m4_version_prereq to check
  running autoconf version.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
glass 2017-09-30 06:30:44 +00:00
Родитель 917bc68772
Коммит 9189cf5793
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -16,11 +16,9 @@ AC_ARG_VAR([cppflags], [additional CPPFLAGS])
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=''