Re: svn commit: r1814387 - in /subversion/branches/swig-py3: BRANCH-README Makefile.in build.conf build/ac-macros/swig.m4 configure.ac subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1814387 - in /subversion/branches/swig-py3: BRANCH-README Makefile.in build.conf build/ac-macros/swig.m4 configure.ac subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c

Daniel Shahaf-2
[hidden email] wrote on Mon, 06 Nov 2017 02:33 +0000:
> +++ subversion/branches/swig-py3/build/ac-macros/swig.m4 Mon Nov  6 02:33:27 2017
> @@ -133,6 +134,18 @@ AC_DEFUN(SVN_FIND_SWIG,
> +        AC_CACHE_CHECK([for Python >= 3], [ac_cv_python_is_py3],[
> +          ac_cv_python_is_py3="no"
> +          $PYTHON -c 'import sys; sys.exit(0x3000000 >= sys.hexversion)' && \
> +             ac_cv_python_is_py3="yes"
> +        ])

s/>=/>/

Yes, it's a corner case...

Cheers,

Daniel
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1814387 - in /subversion/branches/swig-py3: BRANCH-README Makefile.in build.conf build/ac-macros/swig.m4 configure.ac subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c

Troy Curtis Jr


On Mon, Nov 6, 2017, 7:41 AM Daniel Shahaf <[hidden email]> wrote:
[hidden email] wrote on Mon, 06 Nov 2017 02:33 +0000:
> +++ subversion/branches/swig-py3/build/ac-macros/swig.m4 Mon Nov  6 02:33:27 2017
> @@ -133,6 +134,18 @@ AC_DEFUN(SVN_FIND_SWIG,
> +        AC_CACHE_CHECK([for Python >= 3], [ac_cv_python_is_py3],[
> +          ac_cv_python_is_py3="no"
> +          $PYTHON -c 'import sys; sys.exit(0x3000000 >= sys.hexversion)' && \
> +             ac_cv_python_is_py3="yes"
> +        ])

s/>=/>/

Yes, it's a corner case...

What? I run python 3.0 all the time! ;) 

Thanks I'm get it fixed up. 

Troy