Checkout
stsp
committed
on 12 Apr
Get rid of apr_int64_t format string check in swig py configure.

This check relied on APR implementation details and broke with APR 1.7.0.… Show more
Get rid of apr_int64_t format string check in swig py configure.

This check relied on APR implementation details and broke with APR 1.7.0.

Rather than trying to guess a perfect format string to use, just use the

largest possible format and cast the argument accordingly.

Should fix build against APR 1.7.0 and later.

Suggested by: brane

* build/ac-macros/swig.m4: Remove code related to SVN_APR_INT64_T_PYCFMT.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c

 (svn_swig_py_client_blame_receiver_func): Stop relying on the

  SVN_APR_INT64_T_PYCFMT constant from configure. Use "L" and

  acast to PY_LONG_LONG instead.

Show less