diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-30 06:30:44 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-30 06:30:44 +0000 |
commit | 9189cf5793cd527a86b711d15d5fd0633ec082e1 (patch) | |
tree | bec24bf6075724766ee67d00d6237f1680de2dbb | |
parent | 917bc68772e447c9fe7f86ee1588e13771b992b6 (diff) | |
download | ruby-9189cf5793cd527a86b711d15d5fd0633ec082e1.tar.gz |
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
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 9f1011dccb..d990266eef 100644 --- a/configure.ac +++ b/configure.ac @@ -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='' |