configure.ac (269847) | configure.ac (289166) |
---|---|
1dnl Licensed to the Apache Software Foundation (ASF) under one 2dnl or more contributor license agreements. See the NOTICE file 3dnl distributed with this work for additional information 4dnl regarding copyright ownership. The ASF licenses this file 5dnl to you under the Apache License, Version 2.0 (the 6dnl "License"); you may not use this file except in compliance 7dnl with the License. You may obtain a copy of the License at 8dnl --- 1232 unchanged lines hidden (view full) --- 1241# SVN_CHECK_JDK sets $JAVA_CLASSPATH 1242SVN_CHECK_JDK($JAVA_OLDEST_WORKING_VER) 1243 1244AC_PATH_PROG(PERL, perl, none) 1245 1246if test -n "$RUBY"; then 1247 AC_PATH_PROG(RUBY, "$RUBY", none) 1248else | 1dnl Licensed to the Apache Software Foundation (ASF) under one 2dnl or more contributor license agreements. See the NOTICE file 3dnl distributed with this work for additional information 4dnl regarding copyright ownership. The ASF licenses this file 5dnl to you under the Apache License, Version 2.0 (the 6dnl "License"); you may not use this file except in compliance 7dnl with the License. You may obtain a copy of the License at 8dnl --- 1232 unchanged lines hidden (view full) --- 1241# SVN_CHECK_JDK sets $JAVA_CLASSPATH 1242SVN_CHECK_JDK($JAVA_OLDEST_WORKING_VER) 1243 1244AC_PATH_PROG(PERL, perl, none) 1245 1246if test -n "$RUBY"; then 1247 AC_PATH_PROG(RUBY, "$RUBY", none) 1248else |
1249 AC_PATH_PROGS(RUBY, ruby ruby1.8 ruby18 ruby1.9 ruby1 ruby1.9.3 ruby193, none) | 1249 AC_PATH_PROGS(RUBY, ruby ruby1.8 ruby18 ruby1.9 ruby1 ruby1.9.3 ruby193 ruby2.0 ruby2.1, none) |
1250fi 1251if test "$RUBY" != "none"; then 1252 AC_MSG_CHECKING([rb_hash_foreach]) 1253 if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then 1254 AC_MSG_RESULT([yes]) 1255 if test -n "$RDOC"; then 1256 AC_PATH_PROG(RDOC, "$RDOC", none) 1257 else | 1250fi 1251if test "$RUBY" != "none"; then 1252 AC_MSG_CHECKING([rb_hash_foreach]) 1253 if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then 1254 AC_MSG_RESULT([yes]) 1255 if test -n "$RDOC"; then 1256 AC_PATH_PROG(RDOC, "$RDOC", none) 1257 else |
1258 AC_PATH_PROGS(RDOC, rdoc rdoc1.8 rdoc18 rdoc1.9 rdoc19 rdoc1.9.3 rdoc193, none) | 1258 AC_PATH_PROGS(RDOC, rdoc rdoc1.8 rdoc18 rdoc1.9 rdoc19 rdoc1.9.3 rdoc193 rdoc2.0 rdoc2.1, none) |
1259 fi 1260 AC_CACHE_CHECK([for Ruby major version], [svn_cv_ruby_major],[ 1261 svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`" 1262 ]) 1263 RUBY_MAJOR="$svn_cv_ruby_major" 1264 1265 AC_CACHE_CHECK([for Ruby minor version], [svn_cv_ruby_minor],[ 1266 svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`" --- 272 unchanged lines hidden --- | 1259 fi 1260 AC_CACHE_CHECK([for Ruby major version], [svn_cv_ruby_major],[ 1261 svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`" 1262 ]) 1263 RUBY_MAJOR="$svn_cv_ruby_major" 1264 1265 AC_CACHE_CHECK([for Ruby minor version], [svn_cv_ruby_minor],[ 1266 svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`" --- 272 unchanged lines hidden --- |