summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2564
1 files changed, 279 insertions, 2285 deletions
diff --git a/configure b/configure
index b3c0ae2..53e8767 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for subversion 1.14.2.
+# Generated by GNU Autoconf 2.69 for subversion 1.14.3.
#
# Report bugs to <http://subversion.apache.org/>.
#
@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='subversion'
PACKAGE_TARNAME='subversion'
-PACKAGE_VERSION='1.14.2'
-PACKAGE_STRING='subversion 1.14.2'
+PACKAGE_VERSION='1.14.3'
+PACKAGE_STRING='subversion 1.14.3'
PACKAGE_BUGREPORT='http://subversion.apache.org/'
PACKAGE_URL=''
@@ -675,13 +675,16 @@ SWIG_PY_LIBS
SWIG_PY_LINK
SWIG_PY_COMPILE
SWIG_PY_INCLUDES
-SVN_PY3C_INCLUDES
SWIG
+SVN_PY3C_INCLUDES
RUBY_TEENY
RUBY_MINOR
RUBY_MAJOR
RDOC
+SWIG_RB_RUBY
RUBY
+SWIG_PY_PYTHON
+SWIG_PL_PERL
PERL
JNI_INCLUDES
JAR
@@ -931,7 +934,9 @@ enable_gcov
enable_gprof
with_jdk
with_jikes
-with_swig
+with_swig_perl
+with_swig_python
+with_swig_ruby
with_py3c
with_ruby_sitedir
with_ruby_test_verbose
@@ -1504,7 +1509,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures subversion 1.14.2 to adapt to many kinds of systems.
+\`configure' configures subversion 1.14.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1570,7 +1575,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of subversion 1.14.2:";;
+ short | recursive ) echo "Configuration of subversion 1.14.3:";;
esac
cat <<\_ACEOF
@@ -1706,9 +1711,24 @@ Optional Packages:
If PATH is not specified, look for a Java
Development Kit at JAVA_HOME.
--with-jikes=PATH Deprecated. Provided for backward compatibility.
- --with-swig=PATH Try to use 'PATH/bin/swig' to build the swig
- bindings. If PATH is not specified, look for a
- 'swig' binary in your PATH.
+ --with-swig-perl[=PATH|auto|no]|--without-swig-perl
+ Specify path to SWIG bindings target Perl
+ interpreter [default=auto]. If the option value is
+ 'auto' or it is not specfied, search for the Perl
+ program.
+
+ --with-swig-python[=PATH|auto|no]|--without-swig-python
+ Specify path to SWIG bindings target Python
+ interpreter [default=auto]. If the option value is
+ 'auto' or it is not specfied, search for the Python
+ program.
+
+ --with-swig-ruby[=PATH|auto|no]|--without-swig-ruby
+ specify path to SWIG bindings target Ruby
+ interpreter [default=auto]. If the option value is
+ 'auto' or it is not specfied, search for the Ruby
+ program.
+
--with-py3c=PREFIX py3c python extension compatibility library
--with-ruby-sitedir=SITEDIR
install Ruby bindings in SITEDIR (default is same as
@@ -1826,7 +1846,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-subversion configure 1.14.2
+subversion configure 1.14.3
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2370,7 +2390,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by subversion $as_me 1.14.2, which was
+It was created by subversion $as_me 1.14.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2750,8 +2770,8 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Subversion 1.14.2" >&5
-$as_echo "$as_me: Configuring Subversion 1.14.2" >&6;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Subversion 1.14.3" >&5
+$as_echo "$as_me: Configuring Subversion 1.14.3" >&6;}
abs_srcdir="`cd $srcdir && pwd`"
@@ -23358,15 +23378,13 @@ fi
# Scripting and Bindings languages
-# Python: Used for testsuite, and bindings
+# Python: Used for testsuite
PYTHON="`$abs_srcdir/build/find_python.sh`"
if test -z "$PYTHON"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python 2.7 or later is required to run the testsuite" >&5
-$as_echo "$as_me: WARNING: Python 2.7 or later is required to run the testsuite" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: or to use the Subversion Python bindings" >&5
-$as_echo "$as_me: WARNING: or to use the Subversion Python bindings" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python 2.7 or later is required to run the testsuite." >&5
+$as_echo "$as_me: WARNING: Python 2.7 or later is required to run the testsuite." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
$as_echo "$as_me: WARNING: " >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you have a suitable Python installed, but not on the" >&5
@@ -23375,52 +23393,8 @@ $as_echo "$as_me: WARNING: If you have a suitable Python installed, but not on t
$as_echo "$as_me: WARNING: PATH, set the environment variable PYTHON to the full path" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to the Python executable, and re-run configure" >&5
$as_echo "$as_me: WARNING: to the Python executable, and re-run configure" >&2;}
+ PYTHON=none
fi
-for ac_prog in "$PYTHON"
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PYTHON+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $PYTHON in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-fi
-PYTHON=$ac_cv_path_PYTHON
-if test -n "$PYTHON"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
-$as_echo "$PYTHON" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$PYTHON" && break
-done
-test -n "$PYTHON" || PYTHON="none"
# The minimum version for the JVM runtime for our Java bytecode.
@@ -23863,7 +23837,44 @@ fi
-# Extract the first word of "perl", so it can be a program name with args.
+
+# Check whether --with-swig_perl was given.
+if test "${with_swig_perl+set}" = set; then :
+ withval=$with_swig_perl;
+else
+
+if test -n "$PERL"; then
+ if test "$PERL" = "no" -o "$PERL" = "none"; then
+ with_swig_perl=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling the SWIG Perl bindings' build by setting the PERL" >&5
+$as_echo "$as_me: WARNING: Disabling the SWIG Perl bindings' build by setting the PERL" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: environment variable to \"none\" is deprecated." >&5
+$as_echo "$as_me: WARNING: environment variable to \"none\" is deprecated." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
+$as_echo "$as_me: WARNING: " >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please use --without-swig-perl instead." >&5
+$as_echo "$as_me: WARNING: Please use --without-swig-perl instead." >&2;}
+ else
+ with_swig_perl=auto
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specfying the Perl path for SWIG Perl bindings' build" >&5
+$as_echo "$as_me: WARNING: Specfying the Perl path for SWIG Perl bindings' build" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: by setting the PERL environment variable is deprecated." >&5
+$as_echo "$as_me: WARNING: by setting the PERL environment variable is deprecated." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
+$as_echo "$as_me: WARNING: " >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please use --with-swig-perl=PATH instead." >&5
+$as_echo "$as_me: WARNING: Please use --with-swig-perl=PATH instead." >&2;}
+ fi
+else
+ with_swig_perl=auto
+fi
+
+fi
+
+case $with_swig_perl in
+ yes|auto|"")
+ # honor PERL variable only if it is set and is full path.
+ # Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
@@ -23904,51 +23915,79 @@ $as_echo "no" >&6; }
fi
+ SWIG_PL_PERL="$PERL"
+ ;;
+ no|none)
+ SWIG_PL_PERL=none
+ ;;
+ *)
+ SWIG_PL_PERL="$with_swig_perl"
+ ;;
+esac
-if test -n "$RUBY"; then
- # Extract the first word of ""$RUBY"", so it can be a program name with args.
-set dummy "$RUBY"; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_RUBY+:} false; then :
- $as_echo_n "(cached) " >&6
+
+# Python: as a target of SWIG Python bindings
+
+# Check whether --with-swig_python was given.
+if test "${with_swig_python+set}" = set; then :
+ withval=$with_swig_python;
else
- case $RUBY in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
- test -z "$ac_cv_path_RUBY" && ac_cv_path_RUBY="none"
- ;;
-esac
+ with_swig_python=auto
+
fi
-RUBY=$ac_cv_path_RUBY
+
+case $with_swig_python in
+ yes|auto|"")
+ SWIG_PY_PYTHON="$PYTHON"
+ ;;
+ no|none)
+ SWIG_PY_PYTHON=none
+ ;;
+ *)
+ SWIG_PY_PYTHON="$with_swig_python"
+ ;;
+esac
+
+
+
+# Check whether --with-swig_ruby was given.
+if test "${with_swig_ruby+set}" = set; then :
+ withval=$with_swig_ruby;
+else
+
if test -n "$RUBY"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
-$as_echo "$RUBY" >&6; }
+ if test "$RUBY" = "no" -o "$RUBY" = "none"; then
+ with_swig_ruby=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling the SWIG Ruby bindings' build by setting the RUBY" >&5
+$as_echo "$as_me: WARNING: Disabling the SWIG Ruby bindings' build by setting the RUBY" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: environment variable to \"none\" is deprecated." >&5
+$as_echo "$as_me: WARNING: environment variable to \"none\" is deprecated." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
+$as_echo "$as_me: WARNING: " >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please use --without-swig-ruby instead." >&5
+$as_echo "$as_me: WARNING: Please use --without-swig-ruby instead." >&2;}
+ else
+ with_swig_ruby="$RUBY"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Specfying the Ruby path for SWIG Ruby bindings' build" >&5
+$as_echo "$as_me: WARNING: Specfying the Ruby path for SWIG Ruby bindings' build" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: by setting the RUBY environment variable is deprecated." >&5
+$as_echo "$as_me: WARNING: by setting the RUBY environment variable is deprecated." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
+$as_echo "$as_me: WARNING: " >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please use --with-swig-ruby=PATH instead." >&5
+$as_echo "$as_me: WARNING: Please use --with-swig-ruby=PATH instead." >&2;}
+ fi
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+ with_swig_ruby=auto
fi
+fi
-else
- for ac_prog in ruby ruby1 ruby1.8 ruby18 ruby1.9 ruby19 ruby1.9.3 ruby193 ruby2 ruby2.0 ruby20 ruby2.1 ruby21 ruby2.2 ruby22 ruby2.3 ruby23 ruby2.4 ruby24
+case $with_swig_ruby in
+ yes|auto|"")
+ # honor RUBY variable only if it is set and is full path.
+ for ac_prog in ruby ruby1 ruby1.8 ruby18 ruby1.9 ruby19 ruby1.9.3 ruby193 ruby2 ruby2.0 ruby20 ruby2.1 ruby21 ruby2.2 ruby22 ruby2.3 ruby23 ruby2.4 ruby24
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -23994,11 +24033,20 @@ fi
done
test -n "$RUBY" || RUBY="none"
-fi
-if test "$RUBY" != "none"; then
+ SWIG_RB_RUBY="$RUBY"
+ ;;
+ no|none)
+ SWIG_RB_RUBY=none
+ ;;
+ *)
+ SWIG_RB_RUBY="$with_swig_ruby"
+ ;;
+esac
+
+if test "$SWIG_RB_RUBY" != "none"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking rb_hash_foreach" >&5
$as_echo_n "checking rb_hash_foreach... " >&6; }
- if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then
+ if "$SWIG_RB_RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
if test -n "$RDOC"; then
@@ -24097,7 +24145,7 @@ if ${svn_cv_ruby_major+:} false; then :
$as_echo_n "(cached) " >&6
else
- svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
+ svn_cv_ruby_major="`$SWIG_RB_RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_major" >&5
@@ -24110,7 +24158,7 @@ if ${svn_cv_ruby_minor+:} false; then :
$as_echo_n "(cached) " >&6
else
- svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
+ svn_cv_ruby_minor="`$SWIG_RB_RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_minor" >&5
@@ -24123,7 +24171,7 @@ if ${svn_cv_ruby_teeny+:} false; then :
$as_echo_n "(cached) " >&6
else
- svn_cv_ruby_teeny="`$RUBY -rrbconfig -e 'major, minor, teeny = RUBY_VERSION.split("."); print teeny;'`"
+ svn_cv_ruby_teeny="`$SWIG_RB_RUBY -rrbconfig -e 'major, minor, teeny = RUBY_VERSION.split("."); print teeny;'`"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_teeny" >&5
@@ -24135,7 +24183,7 @@ $as_echo "$svn_cv_ruby_teeny" >&6; }
if test \( "$RUBY_MAJOR" -eq "1" -a "$RUBY_MINOR" -gt "8" -a "$RUBY_TEENY" -lt "3" \); then
# Disallow Ruby between 1.8.7 and 1.9.3
- RUBY="none"
+ SWIG_RB_RUBY="none"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&5
$as_echo "$as_me: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Only 1.8.x and 1.9.3 or later are supported at this time" >&5
@@ -24144,7 +24192,7 @@ $as_echo "$as_me: WARNING: Only 1.8.x and 1.9.3 or later are supported at this t
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- RUBY="none"
+ SWIG_RB_RUBY="none"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is too old for Subversion to use" >&5
$as_echo "$as_me: WARNING: The detected Ruby is too old for Subversion to use" >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&5
@@ -24158,788 +24206,58 @@ fi
-# Check whether --with-swig was given.
-if test "${with_swig+set}" = set; then :
- withval=$with_swig;
- case "$withval" in
- "no")
- SWIG_SUITABLE=no
-
- where=no
- if test $where = no; then
- SWIG=none
- elif test $where = required || test $where = check; then
- # Extract the first word of "swig", so it can be a program name with args.
-set dummy swig; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_SWIG+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $SWIG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
- ;;
-esac
-fi
-SWIG=$ac_cv_path_SWIG
-if test -n "$SWIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
-$as_echo "$SWIG" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- if test "$SWIG" = "none" && test $where = required; then
- as_fn_error $? "SWIG required, but not found" "$LINENO" 5
- fi
- else
- if test -f "$where"; then
- SWIG="$where"
- else
- SWIG="$where/bin/swig"
- fi
- if test ! -f "$SWIG" || test ! -x "$SWIG"; then
- as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
- fi
- fi
- if test "$SWIG" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
-$as_echo_n "checking swig version... " >&6; }
- SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
- $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
- # We want the version as an integer so we can test against
- # which version we're using. SWIG doesn't provide this
- # to us so we have to come up with it on our own.
- # The major is passed straight through,
- # the minor is zero padded to two places,
- # and the patch level is zero padded to three places.
- # e.g. 1.3.24 becomes 103024
- SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
- $SED -e 's/[^0-9\.].*$//' \
- -e 's/\.\([0-9]\)$/.0\1/' \
- -e 's/\.\([0-9][0-9]\)$/.0\1/' \
- -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
-$as_echo "$SWIG_VERSION_RAW" >&6; }
- # If you change the required swig version number, don't forget to update:
- # subversion/bindings/swig/INSTALL
- if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
- SWIG_SUITABLE=yes
+ # in release mode
+ SWIG_PY_COMPILE="none"
+ SWIG_PY_LINK="none"
+ SWIG_PY_OPTS="none"
+ SWIG_PY_ERRMSG="check config.log for details"
+ if test "$SWIG_PY_PYTHON" = "none"; then
+ SWIG_PY_ERRMSG="You specfied not to build Python bindings or \
+suitable Python interpreter is not found."
else
- SWIG_SUITABLE=no
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
-$as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
-$as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
- fi
- fi
-
- SWIG_PY_COMPILE="none"
- SWIG_PY_LINK="none"
- SWIG_PY_OPTS="none"
- SWIG_PY_ERRMSG="check config.log for details"
- if test "$PYTHON" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
$as_echo "$as_me: Configuring python swig binding" >&6;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
$as_echo_n "checking for Python includes... " >&6; }
if ${ac_cv_python_includes+:} false; then :
$as_echo_n "(cached) " >&6
else
- ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
+ ac_cv_python_includes="`$SWIG_PY_PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
$as_echo "$ac_cv_python_includes" >&6; }
- SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
+ SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
- if test "$ac_cv_python_includes" = "none"; then
- SWIG_PY_ERRMSG="no distutils found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
+ if test "$ac_cv_python_includes" = "none"; then
+ SWIG_PY_ERRMSG="no distutils found"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
$as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
- else
-
- python_header_found="no"
-
- save_cppflags="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ac_cv_python_includes"
- ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
-if test "x$ac_cv_header_Python_h" = xyes; then :
-
- python_header_found="yes"
-
-fi
-
-
- CPPFLAGS="$save_cppflags"
-
- if test "$python_header_found" = "no"; then
- SWIG_PY_ERRMSG="no Python.h found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python.h not found; disabling python swig bindings" >&5
-$as_echo "$as_me: WARNING: Python.h not found; disabling python swig bindings" >&2;}
else
- py3c_found=no
- py3c_skip=no
-
-
-# Check whether --with-py3c was given.
-if test "${with_py3c+set}" = set; then :
- withval=$with_py3c;
- if test "$withval" = "yes"; then
- py3c_skip=no
- elif test "$withval" = "no"; then
- py3c_skip=yes
- else
- py3c_skip=no
- py3c_prefix="$withval"
- fi
-
-fi
-
-
- if test "$py3c_skip" = "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Skipping configure of py3c" >&5
-$as_echo "$as_me: Skipping configure of py3c" >&6;}
- else
- if test -n "$py3c_prefix"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: py3c library configuration via prefix $py3c_prefix" >&5
-$as_echo "$as_me: py3c library configuration via prefix $py3c_prefix" >&6;}
-
- if test "$ac_cv_python_includes" = "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c cannot be used without distutils module" >&5
-$as_echo "$as_me: WARNING: py3c cannot be used without distutils module" >&2;}
- fi
-
- save_cppflags="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ac_cv_python_includes -I$py3c_prefix/include"
- for ac_header in py3c.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "py3c.h" "ac_cv_header_py3c_h" "$ac_includes_default"
-if test "x$ac_cv_header_py3c_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_PY3C_H 1
-_ACEOF
-
- py3c_found="yes"
- SVN_PY3C_INCLUDES="-I$py3c_prefix/include"
-
-fi
-
-done
-
- CPPFLAGS="$save_cppflags"
- else
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: py3c library configuration via pkg-config" >&5
-$as_echo "$as_me: py3c library configuration via pkg-config" >&6;}
- if test -n "$PKG_CONFIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for py3c library" >&5
-$as_echo_n "checking for py3c library... " >&6; }
- if $PKG_CONFIG py3c --exists; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- py3c_found=yes
- SVN_PY3C_INCLUDES=`$PKG_CONFIG py3c --cflags`
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- fi
- fi
-
-
- if test "$py3c_found" = "no"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: py3c library configuration without pkg-config" >&5
-$as_echo "$as_me: py3c library configuration without pkg-config" >&6;}
-
- if test "$ac_cv_python_includes" = "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c cannot be used without distutils module" >&5
-$as_echo "$as_me: WARNING: py3c cannot be used without distutils module" >&2;}
- fi
+ python_header_found="no"
save_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $ac_cv_python_includes"
- ac_fn_c_check_header_mongrel "$LINENO" "py3c.h" "ac_cv_header_py3c_h" "$ac_includes_default"
-if test "x$ac_cv_header_py3c_h" = xyes; then :
-
- py3c_found="yes"
-
-fi
-
-
- CPPFLAGS="$save_cppflags"
- fi
- fi
- fi
-
-
-
-
- if test "$py3c_found" = "no"; then
- SWIG_PY_ERRMSG="py3c library not found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c library not found; disabling python swig bindings" >&5
-$as_echo "$as_me: WARNING: py3c library not found; disabling python swig bindings" >&2;}
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
-$as_echo_n "checking for compiling Python extensions... " >&6; }
-if ${ac_cv_python_compile+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
-$as_echo "$ac_cv_python_compile" >&6; }
- SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
-$as_echo_n "checking for linking Python extensions... " >&6; }
-if ${ac_cv_python_link+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
-$as_echo "$ac_cv_python_link" >&6; }
- SWIG_PY_LINK="$ac_cv_python_link"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
-$as_echo_n "checking for linking Python libraries... " >&6; }
-if ${ac_cv_python_libs+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
-$as_echo "$ac_cv_python_libs" >&6; }
- SWIG_PY_LIBS="`
- input_flags="$ac_cv_python_libs"
- output_flags=""
- filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
-`"
-
- if test "$SWIG" = "none"; then
- SWIG_PY_ERRMSG=""
- else
- # Look more closely at the SWIG and Python versions to
- # determine SWIG_PY_OPTS. We can skip this if we already
- # have the SWIG-generated files.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python >= 3" >&5
-$as_echo_n "checking for Python >= 3... " >&6; }
-if ${ac_cv_python_is_py3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_is_py3="no"
- $PYTHON -c 'import sys; sys.exit(0x3000000 > sys.hexversion)' && \
- ac_cv_python_is_py3="yes"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_is_py3" >&5
-$as_echo "$ac_cv_python_is_py3" >&6; }
-
- if test "$ac_cv_python_is_py3" = "yes"; then
- if test "$SWIG_VERSION" -ge "300010"; then
- SWIG_PY_ERRMSG=""
- else
- SWIG_PY_ERRMSG="SWIG version is not suitable"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Python bindings for Python 3 require SWIG 3.0.10 or newer" >&5
-$as_echo "$as_me: WARNING: Subversion Python bindings for Python 3 require SWIG 3.0.10 or newer" >&2;}
- fi
- if test "$SWIG_VERSION" -lt "400000"; then
- SWIG_PY_OPTS="-python -py3 -nofastunpack -modern"
- else
- SWIG_PY_OPTS="-python -py3 -nofastunpack"
- fi
- else
- if test "$SWIG_VERSION" -lt "400000"; then
- SWIG_PY_OPTS="-python -classic"
- SWIG_PY_ERRMSG=""
- else
- SWIG_PY_OPTS="-python -nofastunpack"
- SWIG_PY_ERRMSG="SWIG version is not suitable"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Python bindings for Python 2 require 1.3.24 <= SWIG < 4.0.0" >&5
-$as_echo "$as_me: WARNING: Subversion Python bindings for Python 2 require 1.3.24 <= SWIG < 4.0.0" >&2;}
- fi
- fi
- fi
- fi
- fi
- fi
-
- fi
-
- SWIG_PL_ERRMSG="check config.log for details"
- if test "$PERL" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
-$as_echo_n "checking perl version... " >&6; }
- PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
-$as_echo "$PERL_VERSION" >&6; }
- if test "$PERL_VERSION" -ge "5008000"; then
- SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
- SWIG_PL_LINK="`$PERL -MExtUtils::Embed -e ldopts`"
- SWIG_PL_LINK="`
- input_flags="$SWIG_PL_LINK"
- output_flags=""
- filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
-`"
-
- SWIG_PL_ERRMSG=""
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
-$as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
- fi
- fi
-
- SWIG_RB_COMPILE="none"
- SWIG_RB_LINK="none"
- SWIG_RB_ERRMSG="check config.log for details"
- if test "$RUBY" != "none"; then
- if test x"$SWIG_VERSION" = x"3""00""008"; then
- # Use a local variable to escape the '#' sign.
- ruby_swig_issue_602='https://subversion.apache.org/docs/release-notes/1.11#ruby-swig-issue-602'
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ruby bindings are known not to support swig 3.0.8; see $ruby_swig_issue_602" >&5
-$as_echo "$as_me: WARNING: Ruby bindings are known not to support swig 3.0.8; see $ruby_swig_issue_602" >&2;}
- fi
- rbconfig="$RUBY -rrbconfig -e "
-
- for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
- rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
- do
- rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
- eval "rbconfig_$var_name=\"$rbconfig_tmp\""
- done
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
-$as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
-$as_echo_n "checking for Ruby include path... " >&6; }
-if ${svn_cv_ruby_includes+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- if test -d "$rbconfig_rubyhdrdir"; then
- svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir"
- if test -d "$rbconfig_rubyarchhdrdir"; then
- svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
- else
- svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
- fi
- else
- svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
- fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
-$as_echo "$svn_cv_ruby_includes" >&6; }
- SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
-$as_echo_n "checking how to compile Ruby extensions... " >&6; }
-if ${svn_cv_ruby_compile+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
-$as_echo "$svn_cv_ruby_compile" >&6; }
- SWIG_RB_COMPILE="$svn_cv_ruby_compile"
-
- SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
-
-
- SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
-
-
- SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
-
- SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
-$as_echo_n "checking how to link Ruby extensions... " >&6; }
-if ${svn_cv_ruby_link+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
- $rbconfig_LDSHARED`"
- svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
- svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
-$as_echo "$svn_cv_ruby_link" >&6; }
- SWIG_RB_LINK="$svn_cv_ruby_link"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
-$as_echo_n "checking how to link Ruby libraries... " >&6; }
-if ${ac_cv_ruby_libs+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
-$as_echo "$ac_cv_ruby_libs" >&6; }
- SWIG_RB_LIBS="`
- input_flags="$ac_cv_ruby_libs"
- output_flags=""
- filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
-`"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
-$as_echo_n "checking for rb_errinfo... " >&6; }
- old_CFLAGS="$CFLAGS"
- old_LIBS="$LIBS"
- CFLAGS="$CFLAGS $svn_cv_ruby_includes"
-
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
-
-
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
-
-
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
-
- LIBS="$SWIG_RB_LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-#include <ruby.h>
-int main()
-{rb_errinfo();}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- have_rb_errinfo="yes"
-else
- have_rb_errinfo="no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- if test "$have_rb_errinfo" = "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-$as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
-
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- fi
- CFLAGS="$old_CFLAGS"
- LIBS="$old_LIBS"
-
- if ${svn_cv_ruby_sitedir+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_sitedir="$rbconfig_sitedir"
-
-fi
-
-
-# Check whether --with-ruby-sitedir was given.
-if test "${with_ruby_sitedir+set}" = set; then :
- withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
-else
- svn_ruby_installdir="$svn_cv_ruby_sitedir"
-fi
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
-$as_echo_n "checking where to install Ruby scripts... " >&6; }
- if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
- $SED -e "s,^$rbconfig_sitedir,,"`"
-
-fi
-
- SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
-$as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
-$as_echo_n "checking where to install Ruby extensions... " >&6; }
- if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
- $SED -e "s,^$rbconfig_sitedir,,"`"
-
-fi
-
- SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
-$as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
-$as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
- if ${svn_cv_ruby_test_verbose+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_test_verbose="normal"
-
-fi
-
-
-# Check whether --with-ruby-test-verbose was given.
-if test "${with_ruby_test_verbose+set}" = set; then :
- withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
-else
- svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
-fi
-
- SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
-$as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
-
- SWIG_RB_ERRMSG=""
- fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ;;
- "yes")
-
- where=required
-
- if test $where = no; then
- SWIG=none
- elif test $where = required || test $where = check; then
- # Extract the first word of "swig", so it can be a program name with args.
-set dummy swig; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_SWIG+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $SWIG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
- ;;
-esac
-fi
-SWIG=$ac_cv_path_SWIG
-if test -n "$SWIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
-$as_echo "$SWIG" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- if test "$SWIG" = "none" && test $where = required; then
- as_fn_error $? "SWIG required, but not found" "$LINENO" 5
- fi
- else
- if test -f "$where"; then
- SWIG="$where"
- else
- SWIG="$where/bin/swig"
- fi
- if test ! -f "$SWIG" || test ! -x "$SWIG"; then
- as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
- fi
- fi
-
- if test "$SWIG" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
-$as_echo_n "checking swig version... " >&6; }
- SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
- $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
- # We want the version as an integer so we can test against
- # which version we're using. SWIG doesn't provide this
- # to us so we have to come up with it on our own.
- # The major is passed straight through,
- # the minor is zero padded to two places,
- # and the patch level is zero padded to three places.
- # e.g. 1.3.24 becomes 103024
- SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
- $SED -e 's/[^0-9\.].*$//' \
- -e 's/\.\([0-9]\)$/.0\1/' \
- -e 's/\.\([0-9][0-9]\)$/.0\1/' \
- -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
-$as_echo "$SWIG_VERSION_RAW" >&6; }
- # If you change the required swig version number, don't forget to update:
- # subversion/bindings/swig/INSTALL
- if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
- SWIG_SUITABLE=yes
- else
- SWIG_SUITABLE=no
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
-$as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
-$as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
- fi
- fi
-
- SWIG_PY_COMPILE="none"
- SWIG_PY_LINK="none"
- SWIG_PY_OPTS="none"
- SWIG_PY_ERRMSG="check config.log for details"
- if test "$PYTHON" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
-$as_echo "$as_me: Configuring python swig binding" >&6;}
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
-$as_echo_n "checking for Python includes... " >&6; }
-if ${ac_cv_python_includes+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
-$as_echo "$ac_cv_python_includes" >&6; }
- SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
-
- if test "$ac_cv_python_includes" = "none"; then
- SWIG_PY_ERRMSG="no distutils found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
-$as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
- else
-
- python_header_found="no"
-
- save_cppflags="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ac_cv_python_includes"
- ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
+ ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
if test "x$ac_cv_header_Python_h" = xyes; then :
- python_header_found="yes"
+ python_header_found="yes"
fi
- CPPFLAGS="$save_cppflags"
+ CPPFLAGS="$save_cppflags"
- if test "$python_header_found" = "no"; then
- SWIG_PY_ERRMSG="no Python.h found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python.h not found; disabling python swig bindings" >&5
+ if test "$python_header_found" = "no"; then
+ SWIG_PY_ERRMSG="no Python.h found"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python.h not found; disabling python swig bindings" >&5
$as_echo "$as_me: WARNING: Python.h not found; disabling python swig bindings" >&2;}
- else
+ else
py3c_found=no
py3c_skip=no
@@ -25037,49 +24355,49 @@ fi
- if test "$py3c_found" = "no"; then
- SWIG_PY_ERRMSG="py3c library not found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c library not found; disabling python swig bindings" >&5
+ if test "$py3c_found" = "no"; then
+ SWIG_PY_ERRMSG="py3c library not found"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c library not found; disabling python swig bindings" >&5
$as_echo "$as_me: WARNING: py3c library not found; disabling python swig bindings" >&2;}
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
$as_echo_n "checking for compiling Python extensions... " >&6; }
if ${ac_cv_python_compile+:} false; then :
$as_echo_n "(cached) " >&6
else
- ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
+ ac_cv_python_compile="`$SWIG_PY_PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
$as_echo "$ac_cv_python_compile" >&6; }
- SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
+ SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
$as_echo_n "checking for linking Python extensions... " >&6; }
if ${ac_cv_python_link+:} false; then :
$as_echo_n "(cached) " >&6
else
- ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
+ ac_cv_python_link="`$SWIG_PY_PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
$as_echo "$ac_cv_python_link" >&6; }
- SWIG_PY_LINK="$ac_cv_python_link"
+ SWIG_PY_LINK="$ac_cv_python_link"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
$as_echo_n "checking for linking Python libraries... " >&6; }
if ${ac_cv_python_libs+:} false; then :
$as_echo_n "(cached) " >&6
else
- ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
+ ac_cv_python_libs="`$SWIG_PY_PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
$as_echo "$ac_cv_python_libs" >&6; }
- SWIG_PY_LIBS="`
+ SWIG_PY_LIBS="`
input_flags="$ac_cv_python_libs"
output_flags=""
filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
@@ -25100,68 +24418,26 @@ $as_echo "$ac_cv_python_libs" >&6; }
fi
`"
- if test "$SWIG" = "none"; then
SWIG_PY_ERRMSG=""
- else
- # Look more closely at the SWIG and Python versions to
- # determine SWIG_PY_OPTS. We can skip this if we already
- # have the SWIG-generated files.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python >= 3" >&5
-$as_echo_n "checking for Python >= 3... " >&6; }
-if ${ac_cv_python_is_py3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_is_py3="no"
- $PYTHON -c 'import sys; sys.exit(0x3000000 > sys.hexversion)' && \
- ac_cv_python_is_py3="yes"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_is_py3" >&5
-$as_echo "$ac_cv_python_is_py3" >&6; }
-
- if test "$ac_cv_python_is_py3" = "yes"; then
- if test "$SWIG_VERSION" -ge "300010"; then
- SWIG_PY_ERRMSG=""
- else
- SWIG_PY_ERRMSG="SWIG version is not suitable"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Python bindings for Python 3 require SWIG 3.0.10 or newer" >&5
-$as_echo "$as_me: WARNING: Subversion Python bindings for Python 3 require SWIG 3.0.10 or newer" >&2;}
- fi
- if test "$SWIG_VERSION" -lt "400000"; then
- SWIG_PY_OPTS="-python -py3 -nofastunpack -modern"
- else
- SWIG_PY_OPTS="-python -py3 -nofastunpack"
- fi
- else
- if test "$SWIG_VERSION" -lt "400000"; then
- SWIG_PY_OPTS="-python -classic"
- SWIG_PY_ERRMSG=""
- else
- SWIG_PY_OPTS="-python -nofastunpack"
- SWIG_PY_ERRMSG="SWIG version is not suitable"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Python bindings for Python 2 require 1.3.24 <= SWIG < 4.0.0" >&5
-$as_echo "$as_me: WARNING: Subversion Python bindings for Python 2 require 1.3.24 <= SWIG < 4.0.0" >&2;}
- fi
- fi
fi
fi
fi
fi
- fi
-
- SWIG_PL_ERRMSG="check config.log for details"
- if test "$PERL" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
+ SWIG_PL_ERRMSG="check config.log for details"
+ if test "$SWIG_PL_PERL" = "none"; then
+ SWIG_PL_ERRMSG="You specfied not to build Perl bindings or \
+suitable Perl interpreter is not found."
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
$as_echo_n "checking perl version... " >&6; }
- PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
+ PERL_VERSION="`$SWIG_PL_PERL -e 'q([); print $] * 1000000,$/;'`"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
$as_echo "$PERL_VERSION" >&6; }
- if test "$PERL_VERSION" -ge "5008000"; then
- SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
- SWIG_PL_LINK="`$PERL -MExtUtils::Embed -e ldopts`"
- SWIG_PL_LINK="`
+ if test "$PERL_VERSION" -ge "5008000"; then
+ SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$SWIG_PL_PERL -MExtUtils::Embed -e ccopts`"
+ SWIG_PL_LINK="`$SWIG_PL_PERL -MExtUtils::Embed -e ldopts`"
+ SWIG_PL_LINK="`
input_flags="$SWIG_PL_LINK"
output_flags=""
filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
@@ -25182,1346 +24458,66 @@ $as_echo "$PERL_VERSION" >&6; }
fi
`"
- SWIG_PL_ERRMSG=""
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
-$as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
- fi
- fi
-
- SWIG_RB_COMPILE="none"
- SWIG_RB_LINK="none"
- SWIG_RB_ERRMSG="check config.log for details"
- if test "$RUBY" != "none"; then
- if test x"$SWIG_VERSION" = x"3""00""008"; then
- # Use a local variable to escape the '#' sign.
- ruby_swig_issue_602='https://subversion.apache.org/docs/release-notes/1.11#ruby-swig-issue-602'
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ruby bindings are known not to support swig 3.0.8; see $ruby_swig_issue_602" >&5
-$as_echo "$as_me: WARNING: Ruby bindings are known not to support swig 3.0.8; see $ruby_swig_issue_602" >&2;}
- fi
- rbconfig="$RUBY -rrbconfig -e "
-
- for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
- rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
- do
- rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
- eval "rbconfig_$var_name=\"$rbconfig_tmp\""
- done
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
-$as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
-$as_echo_n "checking for Ruby include path... " >&6; }
-if ${svn_cv_ruby_includes+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- if test -d "$rbconfig_rubyhdrdir"; then
- svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir"
- if test -d "$rbconfig_rubyarchhdrdir"; then
- svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
+ SWIG_PL_ERRMSG=""
else
- svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
- fi
- else
- svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
- fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
-$as_echo "$svn_cv_ruby_includes" >&6; }
- SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
-$as_echo_n "checking how to compile Ruby extensions... " >&6; }
-if ${svn_cv_ruby_compile+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
-$as_echo "$svn_cv_ruby_compile" >&6; }
- SWIG_RB_COMPILE="$svn_cv_ruby_compile"
-
- SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
-
-
- SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
-
-
- SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
-
- SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
-$as_echo_n "checking how to link Ruby extensions... " >&6; }
-if ${svn_cv_ruby_link+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
- $rbconfig_LDSHARED`"
- svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
- svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
-$as_echo "$svn_cv_ruby_link" >&6; }
- SWIG_RB_LINK="$svn_cv_ruby_link"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
-$as_echo_n "checking how to link Ruby libraries... " >&6; }
-if ${ac_cv_ruby_libs+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
-$as_echo "$ac_cv_ruby_libs" >&6; }
- SWIG_RB_LIBS="`
- input_flags="$ac_cv_ruby_libs"
- output_flags=""
- filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
-`"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
-$as_echo_n "checking for rb_errinfo... " >&6; }
- old_CFLAGS="$CFLAGS"
- old_LIBS="$LIBS"
- CFLAGS="$CFLAGS $svn_cv_ruby_includes"
-
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
-
-
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
-
-
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
-
- LIBS="$SWIG_RB_LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-#include <ruby.h>
-int main()
-{rb_errinfo();}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- have_rb_errinfo="yes"
-else
- have_rb_errinfo="no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- if test "$have_rb_errinfo" = "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-$as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
-
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- fi
- CFLAGS="$old_CFLAGS"
- LIBS="$old_LIBS"
-
- if ${svn_cv_ruby_sitedir+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_sitedir="$rbconfig_sitedir"
-
-fi
-
-
-# Check whether --with-ruby-sitedir was given.
-if test "${with_ruby_sitedir+set}" = set; then :
- withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
-else
- svn_ruby_installdir="$svn_cv_ruby_sitedir"
-fi
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
-$as_echo_n "checking where to install Ruby scripts... " >&6; }
- if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
- $SED -e "s,^$rbconfig_sitedir,,"`"
-
-fi
-
- SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
-$as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
-$as_echo_n "checking where to install Ruby extensions... " >&6; }
- if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
- $SED -e "s,^$rbconfig_sitedir,,"`"
-
-fi
-
- SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
-$as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
-$as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
- if ${svn_cv_ruby_test_verbose+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_test_verbose="normal"
-
-fi
-
-
-# Check whether --with-ruby-test-verbose was given.
-if test "${with_ruby_test_verbose+set}" = set; then :
- withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
-else
- svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
-fi
-
- SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
-$as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
-
- SWIG_RB_ERRMSG=""
- fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ;;
- *)
-
- where=$withval
-
- if test $where = no; then
- SWIG=none
- elif test $where = required || test $where = check; then
- # Extract the first word of "swig", so it can be a program name with args.
-set dummy swig; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_SWIG+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $SWIG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
- ;;
-esac
-fi
-SWIG=$ac_cv_path_SWIG
-if test -n "$SWIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
-$as_echo "$SWIG" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- if test "$SWIG" = "none" && test $where = required; then
- as_fn_error $? "SWIG required, but not found" "$LINENO" 5
- fi
- else
- if test -f "$where"; then
- SWIG="$where"
- else
- SWIG="$where/bin/swig"
- fi
- if test ! -f "$SWIG" || test ! -x "$SWIG"; then
- as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
- fi
- fi
-
- if test "$SWIG" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
-$as_echo_n "checking swig version... " >&6; }
- SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
- $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
- # We want the version as an integer so we can test against
- # which version we're using. SWIG doesn't provide this
- # to us so we have to come up with it on our own.
- # The major is passed straight through,
- # the minor is zero padded to two places,
- # and the patch level is zero padded to three places.
- # e.g. 1.3.24 becomes 103024
- SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
- $SED -e 's/[^0-9\.].*$//' \
- -e 's/\.\([0-9]\)$/.0\1/' \
- -e 's/\.\([0-9][0-9]\)$/.0\1/' \
- -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
-$as_echo "$SWIG_VERSION_RAW" >&6; }
- # If you change the required swig version number, don't forget to update:
- # subversion/bindings/swig/INSTALL
- if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
- SWIG_SUITABLE=yes
- else
- SWIG_SUITABLE=no
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
-$as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
-$as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
- fi
- fi
-
- SWIG_PY_COMPILE="none"
- SWIG_PY_LINK="none"
- SWIG_PY_OPTS="none"
- SWIG_PY_ERRMSG="check config.log for details"
- if test "$PYTHON" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
-$as_echo "$as_me: Configuring python swig binding" >&6;}
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
-$as_echo_n "checking for Python includes... " >&6; }
-if ${ac_cv_python_includes+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
-$as_echo "$ac_cv_python_includes" >&6; }
- SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
-
- if test "$ac_cv_python_includes" = "none"; then
- SWIG_PY_ERRMSG="no distutils found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
-$as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
- else
-
- python_header_found="no"
-
- save_cppflags="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ac_cv_python_includes"
- ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
-if test "x$ac_cv_header_Python_h" = xyes; then :
-
- python_header_found="yes"
-
-fi
-
-
- CPPFLAGS="$save_cppflags"
-
- if test "$python_header_found" = "no"; then
- SWIG_PY_ERRMSG="no Python.h found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python.h not found; disabling python swig bindings" >&5
-$as_echo "$as_me: WARNING: Python.h not found; disabling python swig bindings" >&2;}
- else
-
- py3c_found=no
- py3c_skip=no
-
-
-# Check whether --with-py3c was given.
-if test "${with_py3c+set}" = set; then :
- withval=$with_py3c;
- if test "$withval" = "yes"; then
- py3c_skip=no
- elif test "$withval" = "no"; then
- py3c_skip=yes
- else
- py3c_skip=no
- py3c_prefix="$withval"
- fi
-
-fi
-
-
- if test "$py3c_skip" = "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Skipping configure of py3c" >&5
-$as_echo "$as_me: Skipping configure of py3c" >&6;}
- else
- if test -n "$py3c_prefix"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: py3c library configuration via prefix $py3c_prefix" >&5
-$as_echo "$as_me: py3c library configuration via prefix $py3c_prefix" >&6;}
-
- if test "$ac_cv_python_includes" = "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c cannot be used without distutils module" >&5
-$as_echo "$as_me: WARNING: py3c cannot be used without distutils module" >&2;}
- fi
-
- save_cppflags="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ac_cv_python_includes -I$py3c_prefix/include"
- for ac_header in py3c.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "py3c.h" "ac_cv_header_py3c_h" "$ac_includes_default"
-if test "x$ac_cv_header_py3c_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_PY3C_H 1
-_ACEOF
-
- py3c_found="yes"
- SVN_PY3C_INCLUDES="-I$py3c_prefix/include"
-
-fi
-
-done
-
- CPPFLAGS="$save_cppflags"
- else
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: py3c library configuration via pkg-config" >&5
-$as_echo "$as_me: py3c library configuration via pkg-config" >&6;}
- if test -n "$PKG_CONFIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for py3c library" >&5
-$as_echo_n "checking for py3c library... " >&6; }
- if $PKG_CONFIG py3c --exists; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- py3c_found=yes
- SVN_PY3C_INCLUDES=`$PKG_CONFIG py3c --cflags`
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- fi
- fi
-
-
- if test "$py3c_found" = "no"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: py3c library configuration without pkg-config" >&5
-$as_echo "$as_me: py3c library configuration without pkg-config" >&6;}
-
- if test "$ac_cv_python_includes" = "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c cannot be used without distutils module" >&5
-$as_echo "$as_me: WARNING: py3c cannot be used without distutils module" >&2;}
- fi
-
- save_cppflags="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ac_cv_python_includes"
- ac_fn_c_check_header_mongrel "$LINENO" "py3c.h" "ac_cv_header_py3c_h" "$ac_includes_default"
-if test "x$ac_cv_header_py3c_h" = xyes; then :
-
- py3c_found="yes"
-
-fi
-
-
- CPPFLAGS="$save_cppflags"
- fi
- fi
- fi
-
-
-
-
- if test "$py3c_found" = "no"; then
- SWIG_PY_ERRMSG="py3c library not found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c library not found; disabling python swig bindings" >&5
-$as_echo "$as_me: WARNING: py3c library not found; disabling python swig bindings" >&2;}
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
-$as_echo_n "checking for compiling Python extensions... " >&6; }
-if ${ac_cv_python_compile+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
-$as_echo "$ac_cv_python_compile" >&6; }
- SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
-$as_echo_n "checking for linking Python extensions... " >&6; }
-if ${ac_cv_python_link+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
-$as_echo "$ac_cv_python_link" >&6; }
- SWIG_PY_LINK="$ac_cv_python_link"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
-$as_echo_n "checking for linking Python libraries... " >&6; }
-if ${ac_cv_python_libs+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
-$as_echo "$ac_cv_python_libs" >&6; }
- SWIG_PY_LIBS="`
- input_flags="$ac_cv_python_libs"
- output_flags=""
- filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
-`"
-
- if test "$SWIG" = "none"; then
- SWIG_PY_ERRMSG=""
- else
- # Look more closely at the SWIG and Python versions to
- # determine SWIG_PY_OPTS. We can skip this if we already
- # have the SWIG-generated files.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python >= 3" >&5
-$as_echo_n "checking for Python >= 3... " >&6; }
-if ${ac_cv_python_is_py3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_is_py3="no"
- $PYTHON -c 'import sys; sys.exit(0x3000000 > sys.hexversion)' && \
- ac_cv_python_is_py3="yes"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_is_py3" >&5
-$as_echo "$ac_cv_python_is_py3" >&6; }
-
- if test "$ac_cv_python_is_py3" = "yes"; then
- if test "$SWIG_VERSION" -ge "300010"; then
- SWIG_PY_ERRMSG=""
- else
- SWIG_PY_ERRMSG="SWIG version is not suitable"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Python bindings for Python 3 require SWIG 3.0.10 or newer" >&5
-$as_echo "$as_me: WARNING: Subversion Python bindings for Python 3 require SWIG 3.0.10 or newer" >&2;}
- fi
- if test "$SWIG_VERSION" -lt "400000"; then
- SWIG_PY_OPTS="-python -py3 -nofastunpack -modern"
- else
- SWIG_PY_OPTS="-python -py3 -nofastunpack"
- fi
- else
- if test "$SWIG_VERSION" -lt "400000"; then
- SWIG_PY_OPTS="-python -classic"
- SWIG_PY_ERRMSG=""
- else
- SWIG_PY_OPTS="-python -nofastunpack"
- SWIG_PY_ERRMSG="SWIG version is not suitable"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Python bindings for Python 2 require 1.3.24 <= SWIG < 4.0.0" >&5
-$as_echo "$as_me: WARNING: Subversion Python bindings for Python 2 require 1.3.24 <= SWIG < 4.0.0" >&2;}
- fi
- fi
- fi
- fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
+$as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
fi
fi
- fi
-
- SWIG_PL_ERRMSG="check config.log for details"
- if test "$PERL" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
-$as_echo_n "checking perl version... " >&6; }
- PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
-$as_echo "$PERL_VERSION" >&6; }
- if test "$PERL_VERSION" -ge "5008000"; then
- SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
- SWIG_PL_LINK="`$PERL -MExtUtils::Embed -e ldopts`"
- SWIG_PL_LINK="`
- input_flags="$SWIG_PL_LINK"
- output_flags=""
- filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
-`"
-
- SWIG_PL_ERRMSG=""
+ SWIG_RB_COMPILE="none"
+ SWIG_RB_LINK="none"
+ SWIG_RB_ERRMSG="check config.log for details"
+ if test "$SWIG_RB_RUBY" = "none"; then
+ SWIG_RB_ERRMSG="You specfied not to build Ruby bindings or \
+suitable Ruby interpreter is not found."
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
-$as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
- fi
- fi
-
- SWIG_RB_COMPILE="none"
- SWIG_RB_LINK="none"
- SWIG_RB_ERRMSG="check config.log for details"
- if test "$RUBY" != "none"; then
- if test x"$SWIG_VERSION" = x"3""00""008"; then
- # Use a local variable to escape the '#' sign.
- ruby_swig_issue_602='https://subversion.apache.org/docs/release-notes/1.11#ruby-swig-issue-602'
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ruby bindings are known not to support swig 3.0.8; see $ruby_swig_issue_602" >&5
-$as_echo "$as_me: WARNING: Ruby bindings are known not to support swig 3.0.8; see $ruby_swig_issue_602" >&2;}
- fi
- rbconfig="$RUBY -rrbconfig -e "
+ rbconfig="$SWIG_RB_RUBY -rrbconfig -e "
- for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
- rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
- do
- rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
- eval "rbconfig_$var_name=\"$rbconfig_tmp\""
- done
+ for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
+ rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
+ do
+ rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
+ eval "rbconfig_$var_name=\"$rbconfig_tmp\""
+ done
- { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
$as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
$as_echo_n "checking for Ruby include path... " >&6; }
if ${svn_cv_ruby_includes+:} false; then :
$as_echo_n "(cached) " >&6
else
- if test -d "$rbconfig_rubyhdrdir"; then
- svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir"
- if test -d "$rbconfig_rubyarchhdrdir"; then
- svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
- else
- svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
- fi
- else
- svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
- fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
-$as_echo "$svn_cv_ruby_includes" >&6; }
- SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
-$as_echo_n "checking how to compile Ruby extensions... " >&6; }
-if ${svn_cv_ruby_compile+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
-$as_echo "$svn_cv_ruby_compile" >&6; }
- SWIG_RB_COMPILE="$svn_cv_ruby_compile"
-
- SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
-
-
- SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
-
-
- SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
-
- SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
-$as_echo_n "checking how to link Ruby extensions... " >&6; }
-if ${svn_cv_ruby_link+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
- $rbconfig_LDSHARED`"
- svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
- svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
-$as_echo "$svn_cv_ruby_link" >&6; }
- SWIG_RB_LINK="$svn_cv_ruby_link"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
-$as_echo_n "checking how to link Ruby libraries... " >&6; }
-if ${ac_cv_ruby_libs+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
-$as_echo "$ac_cv_ruby_libs" >&6; }
- SWIG_RB_LIBS="`
- input_flags="$ac_cv_ruby_libs"
- output_flags=""
- filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
-`"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
-$as_echo_n "checking for rb_errinfo... " >&6; }
- old_CFLAGS="$CFLAGS"
- old_LIBS="$LIBS"
- CFLAGS="$CFLAGS $svn_cv_ruby_includes"
-
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
-
-
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
-
-
- CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
-
- LIBS="$SWIG_RB_LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-#include <ruby.h>
-int main()
-{rb_errinfo();}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- have_rb_errinfo="yes"
-else
- have_rb_errinfo="no"
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
- if test "$have_rb_errinfo" = "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-$as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
-
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- fi
- CFLAGS="$old_CFLAGS"
- LIBS="$old_LIBS"
-
- if ${svn_cv_ruby_sitedir+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_sitedir="$rbconfig_sitedir"
-
-fi
-
-
-# Check whether --with-ruby-sitedir was given.
-if test "${with_ruby_sitedir+set}" = set; then :
- withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
-else
- svn_ruby_installdir="$svn_cv_ruby_sitedir"
-fi
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
-$as_echo_n "checking where to install Ruby scripts... " >&6; }
- if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
- $SED -e "s,^$rbconfig_sitedir,,"`"
-
-fi
-
- SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
-$as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
-$as_echo_n "checking where to install Ruby extensions... " >&6; }
- if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
- $SED -e "s,^$rbconfig_sitedir,,"`"
-
-fi
-
- SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
-$as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
-$as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
- if ${svn_cv_ruby_test_verbose+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- svn_cv_ruby_test_verbose="normal"
-
-fi
-
-
-# Check whether --with-ruby-test-verbose was given.
-if test "${with_ruby_test_verbose+set}" = set; then :
- withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
-else
- svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
-fi
-
- SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
-$as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
-
- SWIG_RB_ERRMSG=""
- fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ;;
- esac
-
-else
-
-
- where=check
-
- if test $where = no; then
- SWIG=none
- elif test $where = required || test $where = check; then
- # Extract the first word of "swig", so it can be a program name with args.
-set dummy swig; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_SWIG+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $SWIG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
- ;;
-esac
-fi
-SWIG=$ac_cv_path_SWIG
-if test -n "$SWIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
-$as_echo "$SWIG" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- if test "$SWIG" = "none" && test $where = required; then
- as_fn_error $? "SWIG required, but not found" "$LINENO" 5
- fi
- else
- if test -f "$where"; then
- SWIG="$where"
- else
- SWIG="$where/bin/swig"
- fi
- if test ! -f "$SWIG" || test ! -x "$SWIG"; then
- as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
- fi
- fi
-
- if test "$SWIG" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
-$as_echo_n "checking swig version... " >&6; }
- SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
- $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
- # We want the version as an integer so we can test against
- # which version we're using. SWIG doesn't provide this
- # to us so we have to come up with it on our own.
- # The major is passed straight through,
- # the minor is zero padded to two places,
- # and the patch level is zero padded to three places.
- # e.g. 1.3.24 becomes 103024
- SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
- $SED -e 's/[^0-9\.].*$//' \
- -e 's/\.\([0-9]\)$/.0\1/' \
- -e 's/\.\([0-9][0-9]\)$/.0\1/' \
- -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
-$as_echo "$SWIG_VERSION_RAW" >&6; }
- # If you change the required swig version number, don't forget to update:
- # subversion/bindings/swig/INSTALL
- if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
- SWIG_SUITABLE=yes
- else
- SWIG_SUITABLE=no
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
-$as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
-$as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
- fi
- fi
-
- SWIG_PY_COMPILE="none"
- SWIG_PY_LINK="none"
- SWIG_PY_OPTS="none"
- SWIG_PY_ERRMSG="check config.log for details"
- if test "$PYTHON" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
-$as_echo "$as_me: Configuring python swig binding" >&6;}
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
-$as_echo_n "checking for Python includes... " >&6; }
-if ${ac_cv_python_includes+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
-$as_echo "$ac_cv_python_includes" >&6; }
- SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
-
- if test "$ac_cv_python_includes" = "none"; then
- SWIG_PY_ERRMSG="no distutils found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
-$as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
- else
-
- python_header_found="no"
-
- save_cppflags="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ac_cv_python_includes"
- ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
-if test "x$ac_cv_header_Python_h" = xyes; then :
-
- python_header_found="yes"
-
-fi
-
-
- CPPFLAGS="$save_cppflags"
-
- if test "$python_header_found" = "no"; then
- SWIG_PY_ERRMSG="no Python.h found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python.h not found; disabling python swig bindings" >&5
-$as_echo "$as_me: WARNING: Python.h not found; disabling python swig bindings" >&2;}
- else
-
- py3c_found=no
- py3c_skip=no
-
-
-# Check whether --with-py3c was given.
-if test "${with_py3c+set}" = set; then :
- withval=$with_py3c;
- if test "$withval" = "yes"; then
- py3c_skip=no
- elif test "$withval" = "no"; then
- py3c_skip=yes
- else
- py3c_skip=no
- py3c_prefix="$withval"
- fi
-
-fi
-
-
- if test "$py3c_skip" = "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Skipping configure of py3c" >&5
-$as_echo "$as_me: Skipping configure of py3c" >&6;}
- else
- if test -n "$py3c_prefix"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: py3c library configuration via prefix $py3c_prefix" >&5
-$as_echo "$as_me: py3c library configuration via prefix $py3c_prefix" >&6;}
-
- if test "$ac_cv_python_includes" = "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c cannot be used without distutils module" >&5
-$as_echo "$as_me: WARNING: py3c cannot be used without distutils module" >&2;}
- fi
-
- save_cppflags="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ac_cv_python_includes -I$py3c_prefix/include"
- for ac_header in py3c.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "py3c.h" "ac_cv_header_py3c_h" "$ac_includes_default"
-if test "x$ac_cv_header_py3c_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_PY3C_H 1
-_ACEOF
-
- py3c_found="yes"
- SVN_PY3C_INCLUDES="-I$py3c_prefix/include"
-
-fi
-
-done
-
- CPPFLAGS="$save_cppflags"
- else
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: py3c library configuration via pkg-config" >&5
-$as_echo "$as_me: py3c library configuration via pkg-config" >&6;}
- if test -n "$PKG_CONFIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for py3c library" >&5
-$as_echo_n "checking for py3c library... " >&6; }
- if $PKG_CONFIG py3c --exists; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- py3c_found=yes
- SVN_PY3C_INCLUDES=`$PKG_CONFIG py3c --cflags`
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- fi
- fi
-
-
- if test "$py3c_found" = "no"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: py3c library configuration without pkg-config" >&5
-$as_echo "$as_me: py3c library configuration without pkg-config" >&6;}
-
- if test "$ac_cv_python_includes" = "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c cannot be used without distutils module" >&5
-$as_echo "$as_me: WARNING: py3c cannot be used without distutils module" >&2;}
- fi
-
- save_cppflags="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS $ac_cv_python_includes"
- ac_fn_c_check_header_mongrel "$LINENO" "py3c.h" "ac_cv_header_py3c_h" "$ac_includes_default"
-if test "x$ac_cv_header_py3c_h" = xyes; then :
-
- py3c_found="yes"
-
-fi
-
-
- CPPFLAGS="$save_cppflags"
- fi
- fi
- fi
-
-
-
-
- if test "$py3c_found" = "no"; then
- SWIG_PY_ERRMSG="py3c library not found"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: py3c library not found; disabling python swig bindings" >&5
-$as_echo "$as_me: WARNING: py3c library not found; disabling python swig bindings" >&2;}
+ if test -d "$rbconfig_rubyhdrdir"; then
+ svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir"
+ if test -d "$rbconfig_rubyarchhdrdir"; then
+ svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
-$as_echo_n "checking for compiling Python extensions... " >&6; }
-if ${ac_cv_python_compile+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
-$as_echo "$ac_cv_python_compile" >&6; }
- SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
-$as_echo_n "checking for linking Python extensions... " >&6; }
-if ${ac_cv_python_link+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
-$as_echo "$ac_cv_python_link" >&6; }
- SWIG_PY_LINK="$ac_cv_python_link"
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
-$as_echo_n "checking for linking Python libraries... " >&6; }
-if ${ac_cv_python_libs+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
-$as_echo "$ac_cv_python_libs" >&6; }
- SWIG_PY_LIBS="`
- input_flags="$ac_cv_python_libs"
- output_flags=""
- filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
-`"
-
- if test "$SWIG" = "none"; then
- SWIG_PY_ERRMSG=""
- else
- # Look more closely at the SWIG and Python versions to
- # determine SWIG_PY_OPTS. We can skip this if we already
- # have the SWIG-generated files.
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python >= 3" >&5
-$as_echo_n "checking for Python >= 3... " >&6; }
-if ${ac_cv_python_is_py3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- ac_cv_python_is_py3="no"
- $PYTHON -c 'import sys; sys.exit(0x3000000 > sys.hexversion)' && \
- ac_cv_python_is_py3="yes"
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_is_py3" >&5
-$as_echo "$ac_cv_python_is_py3" >&6; }
-
- if test "$ac_cv_python_is_py3" = "yes"; then
- if test "$SWIG_VERSION" -ge "300010"; then
- SWIG_PY_ERRMSG=""
- else
- SWIG_PY_ERRMSG="SWIG version is not suitable"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Python bindings for Python 3 require SWIG 3.0.10 or newer" >&5
-$as_echo "$as_me: WARNING: Subversion Python bindings for Python 3 require SWIG 3.0.10 or newer" >&2;}
- fi
- if test "$SWIG_VERSION" -lt "400000"; then
- SWIG_PY_OPTS="-python -py3 -nofastunpack -modern"
- else
- SWIG_PY_OPTS="-python -py3 -nofastunpack"
- fi
- else
- if test "$SWIG_VERSION" -lt "400000"; then
- SWIG_PY_OPTS="-python -classic"
- SWIG_PY_ERRMSG=""
- else
- SWIG_PY_OPTS="-python -nofastunpack"
- SWIG_PY_ERRMSG="SWIG version is not suitable"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Python bindings for Python 2 require 1.3.24 <= SWIG < 4.0.0" >&5
-$as_echo "$as_me: WARNING: Subversion Python bindings for Python 2 require 1.3.24 <= SWIG < 4.0.0" >&2;}
- fi
- fi
- fi
+ svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
fi
- fi
- fi
-
- fi
-
- SWIG_PL_ERRMSG="check config.log for details"
- if test "$PERL" != "none"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
-$as_echo_n "checking perl version... " >&6; }
- PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
-$as_echo "$PERL_VERSION" >&6; }
- if test "$PERL_VERSION" -ge "5008000"; then
- SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
- SWIG_PL_LINK="`$PERL -MExtUtils::Embed -e ldopts`"
- SWIG_PL_LINK="`
- input_flags="$SWIG_PL_LINK"
- output_flags=""
- filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
- for flag in $input_flags; do
- filter="no"
- for dir in $filtered_dirs; do
- if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
- filter="yes"
- break
- fi
- done
- if test "$filter" = "no"; then
- output_flags="$output_flags $flag"
- fi
- done
- if test -n "$output_flags"; then
- printf "%s" "${output_flags# }"
- fi
-`"
-
- SWIG_PL_ERRMSG=""
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
-$as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
- fi
- fi
-
- SWIG_RB_COMPILE="none"
- SWIG_RB_LINK="none"
- SWIG_RB_ERRMSG="check config.log for details"
- if test "$RUBY" != "none"; then
- if test x"$SWIG_VERSION" = x"3""00""008"; then
- # Use a local variable to escape the '#' sign.
- ruby_swig_issue_602='https://subversion.apache.org/docs/release-notes/1.11#ruby-swig-issue-602'
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ruby bindings are known not to support swig 3.0.8; see $ruby_swig_issue_602" >&5
-$as_echo "$as_me: WARNING: Ruby bindings are known not to support swig 3.0.8; see $ruby_swig_issue_602" >&2;}
- fi
- rbconfig="$RUBY -rrbconfig -e "
-
- for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
- rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
- do
- rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
- eval "rbconfig_$var_name=\"$rbconfig_tmp\""
- done
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
-$as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
-$as_echo_n "checking for Ruby include path... " >&6; }
-if ${svn_cv_ruby_includes+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- if test -d "$rbconfig_rubyhdrdir"; then
- svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir"
- if test -d "$rbconfig_rubyarchhdrdir"; then
- svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
else
- svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
+ svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
fi
- else
- svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
- fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
$as_echo "$svn_cv_ruby_includes" >&6; }
- SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
+ SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
$as_echo_n "checking how to compile Ruby extensions... " >&6; }
if ${svn_cv_ruby_compile+:} false; then :
$as_echo_n "(cached) " >&6
else
- svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
+ svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
$as_echo "$svn_cv_ruby_compile" >&6; }
- SWIG_RB_COMPILE="$svn_cv_ruby_compile"
+ SWIG_RB_COMPILE="$svn_cv_ruby_compile"
SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
@@ -26531,36 +24527,36 @@ $as_echo "$svn_cv_ruby_compile" >&6; }
SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
- SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
+ SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
$as_echo_n "checking how to link Ruby extensions... " >&6; }
if ${svn_cv_ruby_link+:} false; then :
$as_echo_n "(cached) " >&6
else
- svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
- $rbconfig_LDSHARED`"
- svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
- svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
+ svn_cv_ruby_link="`$SWIG_RB_RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
+ $rbconfig_LDSHARED`"
+ svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
+ svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
$as_echo "$svn_cv_ruby_link" >&6; }
- SWIG_RB_LINK="$svn_cv_ruby_link"
+ SWIG_RB_LINK="$svn_cv_ruby_link"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
$as_echo_n "checking how to link Ruby libraries... " >&6; }
if ${ac_cv_ruby_libs+:} false; then :
$as_echo_n "(cached) " >&6
else
- ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
+ ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
$as_echo "$ac_cv_ruby_libs" >&6; }
- SWIG_RB_LIBS="`
+ SWIG_RB_LIBS="`
input_flags="$ac_cv_ruby_libs"
output_flags=""
filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
@@ -26581,11 +24577,11 @@ $as_echo "$ac_cv_ruby_libs" >&6; }
fi
`"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
$as_echo_n "checking for rb_errinfo... " >&6; }
- old_CFLAGS="$CFLAGS"
- old_LIBS="$LIBS"
- CFLAGS="$CFLAGS $svn_cv_ruby_includes"
+ old_CFLAGS="$CFLAGS"
+ old_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $svn_cv_ruby_includes"
CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
@@ -26595,8 +24591,8 @@ $as_echo_n "checking for rb_errinfo... " >&6; }
CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
- LIBS="$SWIG_RB_LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ LIBS="$SWIG_RB_LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <ruby.h>
@@ -26610,24 +24606,24 @@ else
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- if test "$have_rb_errinfo" = "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ if test "$have_rb_errinfo" = "yes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
$as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- fi
- CFLAGS="$old_CFLAGS"
- LIBS="$old_LIBS"
+ fi
+ CFLAGS="$old_CFLAGS"
+ LIBS="$old_LIBS"
- if ${svn_cv_ruby_sitedir+:} false; then :
+ if ${svn_cv_ruby_sitedir+:} false; then :
$as_echo_n "(cached) " >&6
else
- svn_cv_ruby_sitedir="$rbconfig_sitedir"
+ svn_cv_ruby_sitedir="$rbconfig_sitedir"
fi
@@ -26640,43 +24636,43 @@ else
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
$as_echo_n "checking where to install Ruby scripts... " >&6; }
- if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
+ if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
$as_echo_n "(cached) " >&6
else
- svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
- $SED -e "s,^$rbconfig_sitedir,,"`"
+ svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
+ $SED -e "s,^$rbconfig_sitedir,,"`"
fi
- SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
+ SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
$as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
$as_echo_n "checking where to install Ruby extensions... " >&6; }
- if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
+ if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
$as_echo_n "(cached) " >&6
else
- svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
- $SED -e "s,^$rbconfig_sitedir,,"`"
+ svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
+ $SED -e "s,^$rbconfig_sitedir,,"`"
fi
- SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
+ SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
$as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
$as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
- if ${svn_cv_ruby_test_verbose+:} false; then :
+ if ${svn_cv_ruby_test_verbose+:} false; then :
$as_echo_n "(cached) " >&6
else
- svn_cv_ruby_test_verbose="normal"
+ svn_cv_ruby_test_verbose="normal"
fi
@@ -26688,13 +24684,12 @@ else
svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
fi
- SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
+ SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
$as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
- SWIG_RB_ERRMSG=""
- fi
-
+ SWIG_RB_ERRMSG=""
+ fi
@@ -26714,7 +24709,6 @@ $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
-fi
@@ -28386,7 +26380,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by subversion $as_me 1.14.2, which was
+This file was extended by subversion $as_me 1.14.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -28452,7 +26446,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-subversion config.status 1.14.2
+subversion config.status 1.14.3
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"