/[Apache-SVN]/subversion/trunk/build/ac-macros/swig.m4
ViewVC logotype

Log of /subversion/trunk/build/ac-macros/swig.m4

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 1883722 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 22 09:15:01 2020 UTC (3 years, 8 months ago) by futatuki
File length: 13495 byte(s)
Diff to previous 1883719 (colored)
Follow up to r1883719: Revert usage of 'check' in SVN_FIND_SWIG argment.

* build/ac-macros/swig.m4
  (SVN_CHECK_SWIG): Use 'check' as default value of --with-swig again.
  (SVN_FIND_SWIG): Warn only if when SWIG is required and SWIG is 'none' 

Found by: brane


Revision 1883719 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 22 07:24:46 2020 UTC (3 years, 8 months ago) by futatuki
File length: 13475 byte(s)
Diff to previous 1878379 (colored)
Reduce macro expansion.

[Note from the future: This insisted "no functional change" at first,
 however it turned out to have a regression, which was fixed in r1883722.]

* build/ac-macros/swig.m4
  everywhere: Remove trailing whitespaces.
  (SVN_CHECK_SWIG): Gather the use of SVN_FIND_SWIG by using cache variable.
  (SVN_CHECK_SWIG, SVN_FIND_SWIG): Remove unused variable SWIG_SUITABLE.


Revision 1878379 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 2 03:08:35 2020 UTC (4 years, 1 month ago) by futatuki
File length: 13596 byte(s)
Diff to previous 1876662 (colored)
configure: Add new option to specify path to swig bindings targets

Before this commit, it was not possible to use distinct Python
installations for the build system and test suite on the one hand,
and for building language bindings against on the other hand.

So we introduce new variable "SWIG_PY_PYTHON" for a target of
the SWIG Python bindings and a configure option to specify it. 
Also, for the symmetry we introduce "SWIG_PL_PERL" and
"SWIG_RB_RUBY" for the Perl and Ruby SWIG bindings, and options
to specify them.

* configure.ac ():
  - Use variables "SWIG_PL_PERL", "SWIG_PY_PYTHON", "SWIG_RB_RUBY" for
    targets of the SWIG Perl, Python, Ruby bindings instead of "PERL",
    "PYTHON", "RUBY".
  - Introduce --with-swig-perl, --with-swig-python, --with-swig-ruby
    options for setting variables "SWIG_PL_PERL", "SWIG_PY_PYTHON",
    "SWIG_RB_RUBY".

* Makefile.in, build/ac-macros/swig.m4 ():
  Use variables "SWIG_PL_PERL", "SWIG_PY_PYTHON", "SWIG_RB_RUBY" for
  targets of the SWIG Perl, Python, Ruby bindings instead of "PERL",
  "PYTHON", "RUBY".

* subversion/bindings/swig/INSTALL
  (BUILDING SWIG BINDINGS FOR SVN ON UNIX step 2):
  - Describe how to specify the path to the target language interpreters
    with the new options, instead of using environment variables.
  - Fix the name of glue libraries.

Review by: danielsh


Revision 1876662 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 17 12:43:11 2020 UTC (4 years, 3 months ago) by futatuki
File length: 13492 byte(s)
Diff to previous 1875602 (colored)
Avoid check for SWIG version for Python bindings when --witout-swig is passed.

* build/ac-macros/swig.m4 (SVN_FIND_SWIG):

Found by: brane
Review by: cmpilato
           jamessan


Revision 1875602 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 24 23:30:21 2020 UTC (4 years, 4 months ago) by jamessan
File length: 13165 byte(s)
Diff to previous 1869853 (colored)
Remove incorrect include paths from svn_cv_ruby_includes.

Files under ruby/ and ruby/backward/ should be included using "#include
<ruby/...>", if needed, instead of adding those directories to the include
path.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Remove "-I$rbconfig_rubyhdrdir/ruby
   -I$rbconfig_rubyhdrdir/ruby/backward"

Patch by: Anatol Pomozov <anatol.pomozov{_AT_}gmail.com>


Revision 1869853 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 15 14:09:09 2019 UTC (4 years, 8 months ago) by hartmannathan
File length: 13230 byte(s)
Diff to previous 1869722 (colored)
Support building with SWIG 4 on Python 3.x

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Allow building with SWIG 4+, and add -modern option
    when Python 3 and SWIG 3.x are detected.

* subversion/bindings/swig/include/proxy.py
    Use _get_instance_attr and _set_instance_attr.

* subversion/bindings/swig/include/proxy.swg
  (_get_instance_attr): New function to get an instance attribute
    without metadata for new-style and old-style classes.
  (_set_instance_attr): New function to set an instance attribute for
    new-style and old-style classes.

* subversion/bindings/swig/INSTALL
  (BUILDING SWIG BINDINGS FOR SVN ON UNIX, Step 1): Update supported
    SWIG versions for Python 3 bindings (remove the note that SWIG 4+
    is not supported).

Patch by: Jun Omae <jun66j5{_AT_}gmail.com>

Review by: brane
           futatuki
           julianfoad


Revision 1869722 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 13 06:15:10 2019 UTC (4 years, 8 months ago) by futatuki
File length: 13155 byte(s)
Diff to previous 1869354 (colored)
Restrict SWIG version for Python bindings

* Makefile.in (copy-swig-py:):
  Make symbolic links to C extension modules in build/test directory
  (for check-swig-py with SWIG 3.0.9 and SWIG 4.0 or later)

* build/ac-macros/swig.m4:
  Add SWIG version check for Python 2 and Python 3 to check its version
  is suitable for Python bindings, and to set up appropriate SWIG option.

Review by: hartmannathan

* subversion/bindings/swig/INSTALL
 (BUILDING SWIG BINDINGS FOR SVN ON UNIX, Step1):
 - Add description that SWIG installation is optional.
 - Update suitable SWIG version information per language bindings.
 (BUILDING SWIG BINDINGS FOR SVN ON UNIX, Step1a): Fold long line.
 (USING SWIG BINDINGS, Python): Update URLs for ViewVC and Trac.


Revision 1869354 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 4 05:59:36 2019 UTC (4 years, 8 months ago) by brane
File length: 12385 byte(s)
Diff to previous 1857391 (colored)
Merge the swig-py3 branch to trunk.

Revision 1857391 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 12 09:27:33 2019 UTC (5 years, 3 months ago) by stsp
File length: 10612 byte(s)
Diff to previous 1842090 (colored)
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.


Revision 1842090 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 27 12:38:18 2018 UTC (5 years, 9 months ago) by danielsh
File length: 12213 byte(s)
Diff to previous 1829260 (colored)
* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Warn on the combination of swig-3.0.8 --with-ruby due to
    a known issue.

Revision 1829260 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 16 12:29:24 2018 UTC (6 years, 3 months ago) by jamessan
File length: 11903 byte(s)
Diff to previous 1823211 (colored)
* build/ac-macros/swig.m4: Revert r1751167, since it broke use of pre-generated
  Swig bindings in release builds.


Revision 1823211 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 5 16:56:08 2018 UTC (6 years, 5 months ago) by stsp
File length: 12248 byte(s)
Diff to previous 1781588 (colored)
* build/ac-macros/swig.m4: Filter standard library directories from
  SWIG_PL_LINK, as already done for the other swig bindings.


Revision 1781588 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 3 19:03:53 2017 UTC (7 years, 5 months ago) by stsp
File length: 12179 byte(s)
Diff to previous 1751167 (colored)
Pass explicit linker flags to the Perl bindings build.

This unbreaks 'make check-swig-pl' in cases where the libsvn libraries
being tested are not installed in the standard system library search path.
With another set of libsvn libraries present on the system, the Perl
bindings would get linked to that set, and the tests would fail crashing
left and right.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Ask Perl which LD flags to use for linking extensions.
   Expose these flags in a new SWIG_PL_LINK variable.

* subversion/bindings/swig/perl/native/Makefile.PL.in
  (config): Pass LDFLAGS and LDDLFLAGS explicitly, adding our local
   libraries to the linker's command line, instead of using whatever
   defaults the Perl installation happens to use.


Revision 1751167 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 3 18:52:15 2016 UTC (8 years ago) by jamessan
File length: 12095 byte(s)
Diff to previous 1721648 (colored)
* build/ac-macros/swig.m4:
  (SVN_FIND_SWIG): Configure the swig bindings only if swig has been enabled.
[Note from the future; reverted in r1829260]


Revision 1721648 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 24 18:33:13 2015 UTC (8 years, 7 months ago) by jamessan
File length: 11754 byte(s)
Diff to previous 1721488 (colored)
Fix Python bindings with SWIG < 3.0.6, followup on 1721488.

“%pythoncode { ... }” had to be changed to “%pythoncode %{ ... %}” to avoid
macro expansion (done in r1721488).  This was a latent bug in the bindings
exposed by stricter parsing in SWIG 3.x.

However, there was a bug in SWIG through 3.0.6 which would remove part of the
commented lines inside the “%pythoncode %{ ... %}” block.  This caused the
"right" fix to break everywhere except 3.0.6+.

As discussed in the SWIG bug tracker[0], an alternative form of the pythoncode
directive can be used to inline the contents of a specified file.  Use of this
form works in all supported SWIG versions.

[0]: https://github.com/swig/swig/issues/379#issuecomment-107664345

* subversion/bindings/swig/include/proxy.swg:
  (proxy_pythoncode): Copy %pythoncode contents to ...

* subversion/bindings/swig/include/proxy.py:
  ... new file which is included in proxy.swg via “%pythoncode "..."”
  directive.

* build/ac-macros/swig.m4
  subversion/bindings/swig/INSTALL:
  Remove 3.x related SWIG restrictions.  All SWIG versions are supported again.


Revision 1721488 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 23 04:46:42 2015 UTC (8 years, 7 months ago) by jamessan
File length: 11867 byte(s)
Diff to previous 1700849 (colored)
Enable building bindings with SWIG >= 3.0.6

This reinstates r1690591 and adds the minimum version checks for SWIG
proposed by Joe Orton in http://svn.haxx.se/dev/archive-2015-07/0028.shtml.

* build/ac-macros/swig.m4,
  subversion/bindings/swig/INSTALL:
  Change version check and documentation to allow SWIG >= 3.0.6

* subversion/bindings/swig/include/proxy.swg:
  Use %{ %} with %pythoncode so comments avoid the SWIG processor,
  fixing the bindings with SWIG >= 3.0.6.


Revision 1700849 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 2 16:18:26 2015 UTC (8 years, 10 months ago) by danielsh
File length: 11813 byte(s)
Diff to previous 1700844 (colored)
Followup to r1700844: fix the build.

* build/ac-macros/swig.m4
  (SVN_CHECK_SWIG, SVN_FIND_SWIG):
     Only require swig when --with-swig was passed.

Revision 1700844 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 2 15:39:13 2015 UTC (8 years, 10 months ago) by danielsh
File length: 11767 byte(s)
Diff to previous 1674894 (colored)
swig: Error out if --with-swig was passed but swig not found.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): As above.
    Also, change the magic string used by SVN_CHECK_SWIG/SVN_FIND_SWIG to
    communicate the "--with-swig passed without value" case.

Revision 1674894 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 20 14:48:04 2015 UTC (9 years, 3 months ago) by julianfoad
File length: 11665 byte(s)
Diff to previous 1674580 (colored)
* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): In a comment, remove a mention of obsolete files.

Revision 1674580 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 18 20:40:45 2015 UTC (9 years, 3 months ago) by breser
File length: 11848 byte(s)
Diff to previous 1659546 (colored)
* build/ac-macros/swig.m4:
  (SVN_FIND_SWIG): Update version warning on SWIG to complain about 3.0.0 and
    newer.


Revision 1659546 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 13 12:51:23 2015 UTC (9 years, 5 months ago) by brane
File length: 11795 byte(s)
Diff to previous 1659397 (colored)
Revert r1659397; it breaks too many buildbots.

* TODO: Re-added.
* build/ac-macros/swig.m4: Reverted.


Revision 1659397 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 12 20:55:13 2015 UTC (9 years, 5 months ago) by brane
File length: 12164 byte(s)
Diff to previous 1596882 (colored)
[Reverted in r1659546]
Do not attempt to build bindings with Swig 3.0+. Current versions
break the Python bindings.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Add an upper limite to supported Swig versions.
   Do not configure bindings if the detected Swig is not suitable.

* TODO: Remove.


Revision 1596882 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 22 14:15:45 2014 UTC (10 years, 2 months ago) by philip
File length: 11795 byte(s)
Diff to previous 1425617 (colored)
Allow Swig to use Ruby 2.0 and 2.1.

Patch by: James McCoy <jamessan{_AT_}debian.org>

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Adjust include path for Ruby 2.

* configure.ac: Allow Ruby 2.0 and 2.1.


Revision 1425617 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 24 09:59:39 2012 UTC (11 years, 7 months ago) by brane
File length: 11554 byte(s)
Diff to previous 1421650 (colored)
Reintegrate tweak-build-take-two branch to trunk.

Summary of changes:

 ** Split standards-compliance mode and maintainer mode compiler flags
    out of CFLAGS, so that compilation command lines that do not
    generate (too many) warnings or are not forced to comply with ISO
    C '90 can be constructed without having to resort to stripping
    individual flags out of CFLAGS.

    $ svn diff -r1424288:1424822 \
      ^/subversion/branches/tweak-build-take-two/configure.ac \
      ^/subversion/branches/tweak-build-take-two/aclocal.m4 \
      ^/subversion/branches/tweak-build-take-two/build/ac-macros/compiler.m4 \
      ^/subversion/branches/tweak-build-take-two/Makefile.in

 ** Now that warning and standards-compliance mode macros are no
    longer part of CFLAGS, stop stripping them in the Swig wrapper
    configury, except for Ruby, which is more delicate.

    $ svn diff -r1424329:1425040 \
      ^/subversion/branches/tweak-build-take-two/build/ac-macros/swig.m4

 ** Allow optimization and debugging to coexist, including in
    maintainer mode, adding a new configure option
    --enable-optimize. Neither --enable-optimize nor --enable-debug
    will override any optimization or debugging flags set by the user
    in C(XX)FLAGS at configure time. If debugging and optimization are
    enabled at the same time, we will try to use -O1, then -O; if
    debuggin is not enabled, we will try -O2 first.

    $ svn diff -c1424860 \
      ^/subversion/branches/tweak-build-take-two/configure.ac

 ** Remove an obsolete autoconf macro that was not used anywhere and
    is superceded with SVN_CFLAGS_ADD_IFELSE.

    $ svn diff -c1424297 \
      ^/subversion/branches/tweak-build-take-two/build/ac-macros/svn-macros.m4

 ** Move the sqlite-amalgamation directory from the root of the source tree
    under subversion/include/private to make include paths safer from
    possible collision with sqlite include files from other install locations.

    $ svn diff -c1425050 \
      ^/subversion/branches/tweak-build-take-two

 ** Allow a user to set a custom set of compiler flags at configure time that
    are used for Subversion sources, but not, e.g., Swig-generated sources,
    like this:

    $ ./configure CUSERFLAGS=--flags-for-C CXXUSERFLAGS=--flags-for-C++

    $ svn diff -c1425086 \
      ^/subversion/branches/tweak-build-take-two


Revision 1421650 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 14 03:24:02 2012 UTC (11 years, 7 months ago) by hwright
File length: 12283 byte(s)
Diff to previous 1421645 (colored)
Similar to r1421645, but for the Python bindings: filter out noisy warnings.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Filter some noise from the output of 'make swig-py'.


Revision 1421645 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 14 03:03:52 2012 UTC (11 years, 7 months ago) by hwright
File length: 12083 byte(s)
Diff to previous 1349318 (colored)
Make the warnings issued when building the Ruby bindings *much* less verbose.
The removed warnings are the result of swig's---ahem---interesting way of
generating code.  Hopefully, this helps us find more errors, more quickly.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Filter out a number of compiler warnings flags for the Ruby
    bindings.


Revision 1349318 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 12 13:24:07 2012 UTC (12 years, 1 month ago) by hwright
File length: 11502 byte(s)
Diff to previous 1337514 (colored)
The swig python bindings generate a lot of shadowed variables, which then
emit a number of warnings when compiling.  Turn off those warnings for swig-py.

* build/ac-macros/swig.m4:
  Filter -Wshadow from SWIG_PY_COMPILE.


Revision 1337514 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 12 11:19:00 2012 UTC (12 years, 2 months ago) by astieger
File length: 11302 byte(s)
Diff to previous 1295006 (colored)
fix Ruby 1.9 deprecation warning for Config, use RbConfig

* configure.ac
  replace Config with RbConfig
* build/ac-macros/swig.m4
  replace Config with RbConfig

Approved by: gstein


Revision 1295006 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 29 08:22:01 2012 UTC (12 years, 4 months ago) by danielsh
File length: 11300 byte(s)
Diff to previous 1138490 (colored)
Revert r1295004, which contained numerous accidental changes.

[ This was an svnmucc commit that replaced trunk@HEAD with
trunk@r1295003.  See r1295004 for the exact changes reverted. ]


Revision 1138490 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 22 14:45:03 2011 UTC (13 years, 1 month ago) by philip
File length: 11300 byte(s)
Diff to previous 1137545 (colored)
* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Strip -std=c89 from CFLAGS in a second place, just
   like -ansi.


Revision 1137545 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 20 08:39:38 2011 UTC (13 years, 1 month ago) by stsp
File length: 11285 byte(s)
Diff to previous 1134071 (colored)
* build/ac-macros/swig.m4: When checking how to link ruby libraries,
   include all libraries that libruby depends on in the linker argument
   list, rather than just the ruby library itself. Should fix the build on
   OpenBSD with ruby-1.9. The configure script could not detect rb_errinfo()
   because linking ruby libraries failed as the -pthread argument was missing.
   This argument isn't part of the LIBRUBYARG value in rbconfig, but of LIBS.


Revision 1134071 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 9 20:50:18 2011 UTC (13 years, 1 month ago) by arfrever
File length: 11265 byte(s)
Diff to previous 1087785 (colored)
Remove check for maximal version of SWIG.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Remove check for maximal version of SWIG.

* subversion/bindings/swig/INSTALL: Update documentation.


Revision 1087785 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 1 16:24:17 2011 UTC (13 years, 3 months ago) by arfrever
File length: 11380 byte(s)
Diff to previous 1054087 (colored)
Support SWIG 2.0.2.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG):
* subversion/bindings/swig/INSTALL: Support SWIG 2.0.2.


Revision 1054087 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 31 11:01:56 2010 UTC (13 years, 6 months ago) by danielsh
File length: 11380 byte(s)
Diff to previous 1049503 (colored)
[ This was reverted/redone as part of issue #3850, which see. ]

Don't error on 'none: bad command or file name' when SWIG was disabled
at configure-time.

(Yes, I'm on Debian, thanks for asking.)

* Makefile.in
  (check-SWIG): New target.
  (swig-py, swig-pl, swig-rb): Use new target to fail early.

* build/generator/gen_make.py
  (Generator.write): Use the new target in build-outputs.mk, too.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Don't check for 'none', just set the thing to 'none'.
    As a side effect, the message to stdout is obliterated.

Revision 1049503 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 15 11:12:25 2010 UTC (13 years, 7 months ago) by arfrever
File length: 11401 byte(s)
Diff to previous 1029802 (colored)
Fix comparisons of SWIG version in build system. Previously
generator.swig.Generator.version() was returning 20001 for SWIG 2.0.1, which
was incorrectly compared with hardcoded integers corresponding to SWIG 1.3.2*
(e.g. 103024 for SWIG 1.3.24).
This change also fixes building of Ruby bindings with SWIG 2.0.0 and 2.0.1.

* build/generator/swig/__init__.py
  (Generator.version): Return a tuple of integers instead of
   a single integer.

* build/generator/swig/checkout_swig_header.py
  (Generator.checkout, Generator._skip_checkout):
* build/generator/swig/external_runtime.py
  (Generator.write_external_runtime): Compare tuples returned by
   generator.swig.Generator.version() with tuples of integers.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG):
* subversion/bindings/swig/INSTALL: Declare SWIG 2.0.1 supported.


Revision 1029802 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 1 19:29:16 2010 UTC (13 years, 8 months ago) by jerenkrantz
File length: 11402 byte(s)
Diff to previous 921825 (colored)
Fix warnings about missing AC_LANG_SOURCE with autoconf 2.68; tested also
against 2.59.

Kudos to Philip Martin for pointing me at final bit needed to fix this.

* build/ac-macros/kwallet.m4 (SVN_LIB_KWALLET),
  build/ac-macros/swig.m4 (SVN_FIND_SWIG),
  build/ac-macros/gssapi.m4 (SVN_LIB_RA_SERF_GSSAPI),
  build/ac-macros/neon.m4 (SVN_NEON_CONFIG),
  configure.ac:
  Wrap AC_{PREPROC,COMPILE,LINK}_IFELSE source argument with AC_LANG_SOURCE.


Revision 921825 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 11 12:31:05 2010 UTC (14 years, 4 months ago) by philip
File length: 11382 byte(s)
Diff to previous 882257 (colored)
* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Remove -std=c89 (equivalent to -ansi) from SWIG_RB_COMPILE.


Revision 882257 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 19 19:25:52 2009 UTC (14 years, 8 months ago) by hwright
File length: 11367 byte(s)
Diff to previous 878925 (colored)
Apply ASF license headers to a number of files included under that license
but lacking said header.

Patch by: Niall Pemberton <niallp{_AT_}apache.org>


Revision 878925 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 19 16:04:25 2009 UTC (14 years, 11 months ago) by arfrever
File length: 10374 byte(s)
Diff to previous 878461 (colored)
Fix Issue #3458: Use '$SED' instead of 'sed'.

* configure.ac:
* build/ac-macros/berkeley-db.m4
  (SVN_LIB_BERKELEY_DB, SVN_LIB_BERKELEY_DB_TRY):
* build/ac-macros/neon.m4
  (SVN_NEON_CONFIG):
* build/ac-macros/svn-macros.m4
  (SVN_EXTERNAL_PROJECT):
* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Use '$SED' instead of 'sed'.


Revision 878461 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 9 17:56:05 2009 UTC (15 years ago) by arfrever
File length: 10368 byte(s)
Diff to previous 878359 (colored)
Follow-up to r38377:

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Use SVN_REMOVE_STANDARD_LIB_DIRS for SWIG_PY_LIBS and
   SWIG_RB_LIBS.


Revision 878359 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 1 14:53:03 2009 UTC (15 years ago) by arfrever
File length: 10304 byte(s)
Diff to previous 878292 (colored)
Revert r38218. Buildbots now provide 'config.log' when an error occurs.


Revision 878292 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 27 12:11:33 2009 UTC (15 years, 1 month ago) by arfrever
File length: 10306 byte(s)
Diff to previous 878199 (colored)
Make `configure` sometimes print the content of 'config.log' when an error occurs.

* build/ac-macros/svn-macros.m4
  (SVN_MSG_ERROR): New.

* build/ac-macros/apache.m4:
* build/ac-macros/apr.m4:
* build/ac-macros/apr_memcache.m4:
* build/ac-macros/aprutil.m4:
* build/ac-macros/berkeley-db.m4:
* build/ac-macros/ctypesgen.m4:
* build/ac-macros/gssapi.m4:
* build/ac-macros/java.m4:
* build/ac-macros/kwallet.m4:
* build/ac-macros/neon.m4:
* build/ac-macros/sasl.m4:
* build/ac-macros/serf.m4:
* build/ac-macros/sqlite.m4:
* build/ac-macros/swig.m4:
* build/ac-macros/zlib.m4:
* configure.ac: Use SVN_MSG_ERROR() instead of AC_MSG_ERROR().

[Reverted in r38285.]


Revision 878199 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 20 22:50:39 2009 UTC (15 years, 1 month ago) by arfrever
File length: 10304 byte(s)
Diff to previous 875957 (colored)
* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Allow SWIG 1.3.39.


Revision 875957 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 16 19:01:03 2009 UTC (15 years, 5 months ago) by arfrever
File length: 10304 byte(s)
Diff to previous 875953 (colored)
Follow-up to r35852:
Improve check for rb_errinfo().

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Define HAVE_RB_ERRINFO if rb_errinfo() is available.

* subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
  (callback_rescue): Use rb_errinfo() if HAVE_RB_ERRINFO is defined.


Revision 875953 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 16 16:10:48 2009 UTC (15 years, 5 months ago) by arfrever
File length: 9738 byte(s)
Diff to previous 875926 (colored)
Respect CFLAGS in SWIG bindings.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Include $CFLAGS in SWIG_PY_COMPILE and SWIG_RB_COMPILE.

* build/get-py-info.py: Don't print BASECFLAGS and OPT.

* Makefile.in
  (COMPILE_SWIG_PY): Delete $(CFLAGS) which is now in $(SWIG_PY_COMPILE).
  (COMPILE_SWIG_RB): Delete $(CFLAGS) which is now in $(SWIG_RB_COMPILE).
  (swig-pl): Appropriately set OPTIMIZE when calling $(MAKE) in
   subversion/bindings/swig/perl/native directory.

* subversion/bindings/swig/perl/native/Makefile.PL.in: Respect CFLAGS.


Revision 875926 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 13 16:48:08 2009 UTC (15 years, 5 months ago) by arfrever
File length: 9653 byte(s)
Diff to previous 875722 (colored)
Fix building Ruby bindings with Ruby 1.9.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Use appropriate -I options.

* subversion/bindings/swig/core.i: Use RSTRING_LEN().

* subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
  (): Include <version.h>.
  (rb_holder_pop, svn_swig_rb_set_pool, svn_swig_rb_to_apr_array_row_prop,
   svn_swig_rb_to_apr_array_prop, svn_swig_rb_array_to_apr_array_revision_range,
   name, read_handler_rbio): Use RARRAY_LEN(), RARRAY_PTR() and RSTRING_LEN().
  (callback_rescue): Use rb_errinfo() instead of ruby_errinfo when Ruby >=1.9 is used.

* subversion/bindings/swig/include/svn_types.swg
  (_swig_rb_closed): Use RSTRING_LEN().

* subversion/bindings/swig/include/svn_string.swg
  (%typemap(in) svn_stringbuf_t *, %typemap(in) svn_stringbuf_t *node_name,
   %typemap(in) const svn_string_t * (svn_string_t value)): Use RSTRING_LEN().


Unrelated changes which fix 'implicit declarations of svn_md5_digest_to_cstring()'
and some 'casts to pointer from integer of different size' accidentally discovered
when building Ruby bindings with Ruby 1.9:

* subversion/bindings/swig/core.i: Include svn_md5_h.swg.
* subversion/bindings/swig/svn_fs.i:
* subversion/bindings/swig/svn_wc.i:
* subversion/bindings/swig/svn_delta.i: Include "svn_md5.h" to get the
    prototype for svn_md5_digest_to_cstring() (used in some typemaps in
    svn_types.swg).


Revision 875722 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 3 17:36:22 2009 UTC (15 years, 5 months ago) by arfrever
File length: 9376 byte(s)
Diff to previous 875721 (colored)
Follow-up to r35647:

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Fix quoting so that it works on all platforms.

Tested by: stsp


Revision 875721 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 3 17:00:31 2009 UTC (15 years, 5 months ago) by stsp
File length: 9368 byte(s)
Diff to previous 874544 (colored)
* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Do not quote $rbconfig_sitedir inside a quoted
   and backtick'ed invocation of sed.

   This does not work on OpenBSD, where neither m4 nor /bin/sh
   swallow the extra quotes around $rbconfig_sitedir, causing
   sed to see " instead of s as the command character.
   As a result of this problem, ruby bindings where installing
   stuff in wacky places.

   If this breaks things on other platforms, we need a better fix.
   The only problem I could imagine is people using spaces in their
   ruby install path, which is a silly thing to do given that these
   paths are often used by configure scripts written in /bin/sh.


Revision 874544 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 29 02:06:15 2008 UTC (15 years, 7 months ago) by arfrever
File length: 9384 byte(s)
Diff to previous 867048 (colored)
* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Allow SWIG 1.3.36.


Revision 867048 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 6 04:00:58 2007 UTC (16 years, 9 months ago) by maxb
File length: 9384 byte(s)
Diff to previous 867044 (colored)
Resolve crazy space/tab mix.

* build/ac-macros/apache.m4
* build/ac-macros/swig.m4
* build/ac-macros/neon.m4


Revision 867044 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 6 03:31:58 2007 UTC (16 years, 9 months ago) by maxb
File length: 9370 byte(s)
Diff to previous 867041 (colored)
* configure.in (AC_PREREQ): Require autoconf >= 2.58.

* configure.in:
* build/ac-macros/apache.m4:
* build/ac-macros/java.m4:
* build/ac-macros/neon.m4:
* build/ac-macros/serf.m4:
* build/ac-macros/sqlite.m4:
* build/ac-macros/svn-macros.m4:
* build/ac-macros/swig.m4:
* build/ac-macros/zlib.m4:
  Blind s/AC_HELP_STRING/AS_HELP_STRING/.


Revision 867041 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 6 03:15:05 2007 UTC (16 years, 9 months ago) by maxb
File length: 9370 byte(s)
Diff to previous 862993 (colored)
Increase SWIG upper bound to 1.3.31.

* build/ac-macros/swig.m4
* subversion/bindings/swig/INSTALL


Revision 862993 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 6 04:31:47 2007 UTC (17 years, 6 months ago) by kou
File length: 9370 byte(s)
Diff to previous 862895 (colored)
Don't use changequote.

* build/ac-macros/swig.m4 (SVN_FIND_SWIG): Use @<:@ and @:>@ instead of
  changequote(<<, >>) for [ and ].

Suggested by: malcolm


Revision 862895 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 28 07:22:13 2006 UTC (17 years, 7 months ago) by kou
File length: 9410 byte(s)
Diff to previous 862894 (colored)
Link with ruby library.

* build/ac-macros/swig.m4 (SVN_FIND_SWIG): Detect ruby library.

* Makefile.in (SWIG_RB_LINK): Register.

* build.conf (libsvn_swig_ruby): Use SWIG_RB_LIBS for linking.

Suggested by: Joe Swatosh


Revision 862894 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 28 07:08:46 2006 UTC (17 years, 7 months ago) by kou
File length: 9215 byte(s)
Diff to previous 860042 (colored)
Clean up Ruby part configuration script.

* build/ac-macros/swig.m4 (SVN_FIND_SWIG):
  - Use changequote() to use "[]" in Ruby script.
  - Store configurations of ruby to rbconfig_XXX and use them to clean up.


Revision 860042 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 6 17:09:11 2006 UTC (18 years, 1 month ago) by maxb
File length: 9002 byte(s)
Diff to previous 860031 (colored)
We seem to be working just fine with SWIG 1.3.29 already, so bump the stated
prerequisite versions.

* subversion/bindings/swig/INSTALL: Increase maximum SWIG version to 1.3.29.
* build/ac-macros/swig.m4: Ditto.


Revision 860031 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 6 02:00:02 2006 UTC (18 years, 1 month ago) by nori
File length: 9002 byte(s)
Diff to previous 858927 (colored)
Remove duplication of directories searched for include files, which may
not be harmful but makes build messages ugly.  Problem scenario:
1. SWIG_PY_INCLUDES includes SWIG_INCLUDES.
   SWIG_RB_COMPILE includes SWIG_RB_INCLUDES, which includes
   SWIG_INCLUDES.
2. COMPILE_PY_WRAPPER includes both of SWIG_PY_INCLUDES and
   SWIG_INCLUDES.
   COMPILE_SWIG_RB includes SWIG_RB_COMPILE and SWIG_RB_INCLUDES.
   COMPILE_RB_WRAPPER includes SWIG_RB_COMPILE, SWIG_INCLUDES, and
   SWIG_RB_INCLUDES.

Patch by: me
Review by: kou

* Makefile.in
  (COMPILE_PY_WRAPPER): Remove SWIG_INCLUDES, which is included in
  SWIG_PY_COMPILE.
  (COMPILE_RB_WRAPPER): Remove SWIG_INCLUDES, which is included in
  SWIG_RB_COMPILE.
* build/ac-macros/swig.m4 (SVN_FIND_SWIG): Remove SWIG_RB_INCLUDES from
  SWIG_RB_COMPILE.


Revision 858927 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 12 18:38:55 2006 UTC (18 years, 4 months ago) by malcolm
File length: 9023 byte(s)
Diff to previous 858565 (colored)
Followup to r18491: update documentation to reflect that SWIG 1.3.28 is
compatible with Subversion.

* subversion/bindings/swig/INSTALL
* build/ac-macros/swig.m4 (SVN_FIND_SWIG):
  Update list of acceptable SWIG versions to include SWIG 1.3.28.


Revision 858565 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 17 01:50:26 2006 UTC (18 years, 5 months ago) by djames
File length: 9023 byte(s)
Diff to previous 858279 (colored)
Upgrade the SWIG bindings to be compatible with SWIG 1.3.28.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Allow SWIG 1.3.28.

* build/generator/swig/external_runtime.py
  (write_external_runtime): Don't add rubytracking.swg for SWIG 1.3.28.



Revision 858279 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 24 19:16:53 2006 UTC (18 years, 6 months ago) by djames
File length: 9023 byte(s)
Diff to previous 858246 (colored)
Update documentation to reflect that SWIG 1.3.26 and 1.3.27 are compatible with
Subversion.

Suggested by: julianfoad

* subversion/bindings/swig/INSTALL
  Update list of acceptable SWIG versions to include SWIG 1.3.26 and 1.3.27.

* subversion/bindings/swig/NOTES
  Remove warning about required versions of SWIG. Instead, folks can look in
  INSTALL to find the list of acceptable SWIG versions.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Clarify warning text. Remove subversion/bindings/swig/NOTES
  from list of locations which contain version numbers.



Revision 858246 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 19 19:33:00 2006 UTC (18 years, 6 months ago) by djames
File length: 9115 byte(s)
Diff to previous 857842 (colored)
* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Allow SWIG 1.3.26 and 1.3.27.


Revision 857842 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 13 22:49:12 2005 UTC (18 years, 7 months ago) by malcolm
File length: 9064 byte(s)
Diff to previous 856989 (colored)
Eliminate the use of 'test -a' and 'test -o' from configure.

These operators are not POSIX compliant and apparently have strange
operator precedence issues in some environments.  No functional changes.

Patch by: Peter Samuelson <peter@p12n.org>

* configure.in
  Replace 'test -a' and 'test -o' with '&& test' and '|| test'
  respectively.

[in build/ac-macros]
* apr.m4, aprutil.m4, java.m4, neon.m4, svn-apache.m4, swig.m4
  Likewise.


Revision 856989 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 22 18:46:49 2005 UTC (18 years, 9 months ago) by djames
File length: 9057 byte(s)
Diff to previous 856696 (colored)
Only allow SWIG 1.3.24 or SWIG 1.3.25. Other versions of SWIG are currently
incompatible with the Subversion bindings.

* build/ac-macros/swig.m4 (SVN_FIND_SWIG),
  subversion/bindings/swig/NOTES,
  subversion/bindings/swig/INSTALL: Only allow SWIG 1.3.24 or SWIG 1.3.25.



Revision 856696 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 9 21:29:27 2005 UTC (18 years, 9 months ago) by maxb
File length: 9008 byte(s)
Diff to previous 856637 (colored)
The setup of the preprocessor define SVN_SWIG_VERSION was damaged.
However, it was scarcely used, so convert the only use to use SWIG_VERSION
instead, and remove the remains of SVN_SWIG_VERSION support.

* build/ac-macros/swig.m4: Don't AC_SUBST(SWIG_VERSION).
* build/generator/gen_make.py: Don't output a -DSVN_SWIG_VERSION=foo.
* build/generator/gen_win.py
  (WinGeneratorBase.get_win_defines): Remove references to self.swig_defines.
  (WinGeneratorBase._find_swig): Don't set self.swig_defines.
* subversion/bindings/swig/core.i:
    Standardize the format of number used with SWIG_VERSION.
* subversion/bindings/swig/include/apr.swg:
    Use SWIG_VERSION instead of SVN_SWIG_VERSION.


Revision 856637 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 6 23:29:36 2005 UTC (18 years, 9 months ago) by maxb
File length: 9035 byte(s)
Diff to previous 856124 (colored)
Remove unnecessary complication in Makefile SWIG clean rules.

* Makefile.in (clean): Do not use AC_SUBSTed SWIG_CLEAN_RULES, use plain
    clean-swig target instead.
  (clean-swig): New target, simply listing each individual SWIG language clean
    target.
* build/ac-macros/swig.m4: Remove SWIG_CLEAN_RULES everywhere.


Revision 856124 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 5 14:11:52 2005 UTC (18 years, 10 months ago) by djames
File length: 9234 byte(s)
Diff to previous 856014 (colored)
Check that distutils module exists when configuring Python bindings.

* build/ac-macros/swig.m4
  (SVN_FIND_SWIG): Warn if distutils module cannot be found.
* build/get-py-info.py:
  Output "none" if distutils module cannot be found. 

Suggested by: julianfoad



Revision 856014 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 27 16:22:12 2005 UTC (18 years, 11 months ago) by djames
File length: 9096 byte(s)
Diff to previous 855922 (colored)
Merge python-bindings-improvements to trunk, by comparing trunkURL with
branchURL.

Major changes:
* Always build SWIG headers in the build dir, unless we are still using
  pristine SWIG headers from an official Subversion release (r15865).
* Enable SWIG bindings, even if we compile --without-swig. In release builds,
  we can build the bindings without SWIG (r15857).
* Refactor SWIG generator to use a modular architecture, separate from the
  Unix / Windows generators (r15855).

Minor changes:
* See r15879, r15870, r15868, r15867, r15857, and r15856.

Approved by: jerenkrantz



Revision 855922 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 20 17:36:30 2005 UTC (18 years, 11 months ago) by djames
File length: 7266 byte(s)
Diff to previous 855179 (colored)
Merge python-bindings-improvements to trunk, by comparing trunkURL with
branchURL.

New features:
- Automated Test Suite
 * Test suite for memory pools (r15396, r15462)
 * Test suite for FS library (r15590, r15632)
 * In-build-directory testing (r15478)
 * Nightly smoke tests (r15505)
- Automatic Memory Management
 * Autogenerated proxy classes for SVN structs (r15428)
 * Hand-written proxy classes for APR structs (r15484)
 * Real reference counting for Pool objects (r15489, r15495, r15500)
 * Treat svn_string_t objects as Python strings (r15595)
 * Optional Pool Arguments (r15370, r15529)
- Better Documentation and error messages
 * Enabled SWIG autodoc feature (r15490)
 * Report assertion failures when variables are deleted prematurely
   (r15488, r15489, r15492)
 * Python argument numbers in error messages (r15460, r15493, r15525)
- Streamlined build process
 * Release versions of Subversion bindings can be built without SWIG (r15620,
   r15623, r15626, r15635, r15636, r15637, r15642, r15643)
 * Automatic dependency checking for SWIG files (r15381, r15405, r15426,
   r15429, r15430)
 * Makefile rule for clean-swig-py (r15476)
- Other changes
 * Compile-time type lookups for SWIG (r15396, r15407, r15408, r15409, 
   r15412, r15417)
 * Move SWIG includes into include directory (r15407, r15408, r15413)
 * Refactoring (r15411, r15425, r15453, r15521, r15522, r15527, r15559)
 * SWIG bindings compile with Microsoft Visual C++ 6.0 (r15644)
 * Minor bugfixes (r15409, r15494, r15496, r15497, r15498, r15499, r15501,
   r15511, r15519, r15526, r15565, r15566, r15591, r15592, r15603, r15607,
   r15645, r15646, r15653, r15579)

To see commit logs for this feature, examine
/branches/python-bindings-improvements, r15365:15846

Approved by: kfogel
Review by: dberlin
           breser
           cmpilato
           brane
Testing by: Troy Straszheim <troy@resophonic.com>
            Christian Boos <cboos@wanadoo.fr>
            cmpilato



Revision 855179 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 19 09:21:25 2005 UTC (19 years, 1 month ago) by kou
File length: 10899 byte(s)
Diff to previous 855178 (colored)
Add '--with-ruby-test-verbose' option to configure script for changing
output level of Ruby bindings tests.

* Makefile.in
  (SWIG_RB_TEST_VERBOSE): Add.
  (check-swig-rb): Add '--verbose' option.

* build/ac-macros/swig.m4(SVN_FIND_SWIG):
  Add '--with-ruby-test-verbose' option.


Revision 855178 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 19 07:32:50 2005 UTC (19 years, 1 month ago) by kou
File length: 10268 byte(s)
Diff to previous 853988 (colored)
Fix link command configuration for Ruby bindings.

* build/ac-macros/swig.m4
  (AC_CACHE_CHECK([how to link Ruby extensions])): Use '\S+'
  instead of '\w+' for detecting compiler name.


Revision 853988 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 4 22:01:27 2005 UTC (19 years, 3 months ago) by maxb
File length: 10268 byte(s)
Diff to previous 853986 (colored)
Make the errors that happen when a user executes "make swig-py", but the
Python bindings were not configured, a tiny bit less obscure.

* build/ac-macros/swig.m4
  (SWIG_PY_COMPILE, SWIG_PY_LINK, SWIG_RB_COMPILE, SWIG_RB_LINK):
    Set variables which define commands to "none",
    rather than "", when the relevant bindings language is not configured.


Revision 853986 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 4 21:50:07 2005 UTC (19 years, 3 months ago) by maxb
File length: 10166 byte(s)
Diff to previous 853817 (colored)
Remove the configure option --enable-swig-bindings entirely. It did not
actually enable anything. All it did was to conditionally skip a few
configure tests, whilst its presence made the swig build system just that
little bit more incomprehensible.

* build/ac-macros/swig.m4
  (AC_ARG_ENABLE(swig-bindings)): Delete.
  (SWIG_BINDINGS_ENABLE): Delete.
  (SVN_FIND_SWIG): Do not test $svn_swig_bindings_enable_foo variables.


Revision 853817 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 29 18:21:35 2005 UTC (19 years, 4 months ago) by maxb
File length: 11258 byte(s)
Diff to previous 853657 (colored)
Remove the SWIG-Java bindings.

* Makefile.in:
* build.conf:
* build/ac-macros/swig.m4:
* build/generator/gen_base.py:
* build/generator/gen_win.py:
* subversion/bindings/java/README:
* subversion/bindings/swig/INSTALL:
* subversion/bindings/swig/apr.i:
* subversion/bindings/swig/core.i:
* subversion/bindings/swig/svn_client.i:
* subversion/bindings/swig/svn_delta.i:
* subversion/bindings/swig/svn_fs.i:
* subversion/bindings/swig/svn_ra.i:
* subversion/bindings/swig/svn_repos.i:
* subversion/bindings/swig/svn_string.i:
* subversion/bindings/swig/svn_types.i:
* subversion/bindings/swig/svn_wc.i:
  Remove SWIG-Java bindings. Many changes.


Revision 853657 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 22 14:42:12 2005 UTC (19 years, 4 months ago) by maxb
File length: 11890 byte(s)
Diff to previous 853001 (colored)
Merge the ruby branch to trunk.


Revision 853001 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 6 07:35:42 2005 UTC (19 years, 5 months ago) by jerenkrantz
File length: 9333 byte(s)
Diff to previous 852946 (colored)
* build/ac-macros/swig.m4: Tweak the APR_INT64_T_FMT regexps to take
  account of Forte whitespace handling.  (It prepends whitespace.)


Revision 852946 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 29 01:09:48 2005 UTC (19 years, 6 months ago) by philip
File length: 9254 byte(s)
Diff to previous 852793 (colored)
* build/ac-macros/swig.m4: Tweak the APR_INT64_T_FMT regexps to take
  account of gcc-2.95 whitespace handling.


Revision 852793 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 14 02:11:01 2005 UTC (19 years, 6 months ago) by maxb
File length: 9125 byte(s)
Diff to previous 852791 (colored)
Followup to r12717 - fix typo

Suggested by: Kouhei Sutou <kou@cozmixng.org>

* build/ac-macros/swig.m4: Fix missing parenthesis.


Revision 852791 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 13 23:31:43 2005 UTC (19 years, 6 months ago) by maxb
File length: 9124 byte(s)
Diff to previous 852639 (colored)
SWIG 1.3.24 compatibility.

Patch by: John Lenz <lenz@cs.wisc.edu>
          me

* Makefile.in (SWIG_INCLUDES): Add -DSWIG_TABLE_TYPE=subversion.
* subversion/bindings/swig/core.i: Add a typemap which (I think) is
  compensating for a defect in SWIG 1.3.24.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:
* subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:
    For 1.3.24+, include the SWIG runtime code inline in the libsvn_swig_py and
    libsvn_swig_perl libraries.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.h:
* subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h:
    For 1.3.24+, do not use the old 'declare SWIG runtime functions' code.
    
* subversion/bindings/swig/perl/native/Makefile.PL.in:
* build/generator/gen_win.py (WinGeneratorBase.get_proj_sources): 
    For 1.3.24+, use neither -noruntime or -c.

* build/ac-macros/swig.m4:
    Accept SWIG 1.3.24+.
    For 1.3.24+, use neither -noruntime or -c.
    New AC_SUBSTed values LSWIGPL and LSWIGPY, defined to '-lswigpl' and 
    '-lswigpy' for old SWIG versions, and to empty strings for 1.3.24+.
    Update versions-required message.

* build/generator/gen_base.py (TargetSWIGRuntime.__init__): Use $(LSWIGPL) and
    $(LSWIGPY), instead of -lswigpl and -lswigpy.


Revision 852639 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 2 20:43:19 2005 UTC (19 years, 6 months ago) by maxb
File length: 8623 byte(s)
Diff to previous 852631 (colored)
Fix breakage with APR not in /usr, introduced in r12557.

* build/ac-macros/swig.m4: Add the APR includes to CPPFLAGS whilst trying to
    include <apr.h>.


Revision 852631 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 2 12:28:32 2005 UTC (19 years, 6 months ago) by maxb
File length: 8492 byte(s)
Diff to previous 852557 (colored)
Python bindings: Make svn_client_blame() usable, by thunking the callback.

ATTENTION: This breaks the Windows Python bindings build!
I have left what I believe to be the appropriate fix commented out in
svn_private_config.hw, for someone who can test it to review and uncomment.

* build/ac-macros/swig.m4: Deduce the appropriate Python/C API format character
    for apr_int64_t, and define it in svn_private_config.h.
* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:
    Include svn_private_config.h.
  (svn_swig_py_client_blame_receiver_func): New function.
* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.h:
  (svn_swig_py_client_blame_receiver_func): Declare new function.
* subversion/bindings/swig/svn_client.i: New typemap, using the new function.
* subversion/svn_private_config.hw: Add info to help someone fix the Windows
    build.


Revision 852557 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 21 20:48:51 2004 UTC (19 years, 7 months ago) by breser
File length: 7162 byte(s)
Diff to previous 852524 (colored)
Fix the error message to tell which versions of swig are required.

* build/ac-macros/swig.m4
  Only 1.3.19, 1.3.20 and 1.3.21 work.



Revision 852524 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 20 19:53:40 2004 UTC (19 years, 7 months ago) by breser
File length: 7157 byte(s)
Diff to previous 850958 (colored)
Update our configure test and docs to show what versions of SWIG we actually
work with.

* subversion/bindings/swig/INSTALL
  Update version range.

* build/ac-macros/swig.m4
  Update version range for the test.



Revision 850958 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 10 18:48:46 2004 UTC (19 years, 10 months ago) by breser
File length: 7084 byte(s)
Diff to previous 850942 (colored)
Remove some confusing syntax pointed out by ghudson.

* build/ac-macros/swig.m4
  test doesn't need square brackets around it.
  Prefer -o over two test invocations with ||



Revision 850942 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 10 00:49:54 2004 UTC (19 years, 10 months ago) by breser
File length: 7101 byte(s)
Diff to previous 850524 (colored)
Make configuration of SWIG location a little more user friendly.

* build/ac-macros/swig.m4
  Handle the possibility that they're passing the path to the swig binary.
  If the path they give is not to the binary itself or the prefix swig is
  installed in immediately error out.  Note that this will not cause an
  error unless the users is explicitly passing the path to swig.  Users
  without SWIG installed can continue to build as they always have.



Revision 850524 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 31 22:11:08 2004 UTC (19 years, 11 months ago) by maxb
File length: 6899 byte(s)
Diff to previous 850448 (colored)
Explicitly link the python bindings against libpython.

* Makefile.in: New substitution variable, SWIG_PY_LIBS.
* build.conf: Add SWIG_PY_LIBS to the libsvn_swig_py link.
* build/ac-macros/swig.m4: Set and substitute SWIG_PY_LIBS.
* build/get-py-info.py: New --libs option to provide SWIG_PY_LIBS.
  Teach how to escape OS X -framework options so libtool doesn't eat them.
  Teach how to add extra library arguments on Cygwin, like distutils does.


Revision 850448 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 21 09:16:49 2004 UTC (20 years ago) by rey4
File length: 6669 byte(s)
Diff to previous 850310 (colored)
Revert the effects of r10233 and r10236 on unix. These changes caused
the build system to include swig runtime functions in our swig "core"
modules so we wouldn't have to depend on external swig runtime
libraries. But they also caused a few problems.

1) They caused a libtool error on linux
   (http://www.contactor.se/~dast/svn/archive-2004-07/0758.shtml).
   Putting the runtime into the core module meant that the other modules
   would need to be linked to it to access the runtime. Libtool would do
   the linking correctly during the initial build, but when it relinked
   the libraries during installation it would try invoke gcc with -l_core,
   which doesn't work because core modules have names like _core.so, not
   lib_core.so. This is probably a bug in libtool.

2) They don't work on cygwin because they create mutual dependencies
   between core modules and libsvn_swig_(perl|py|java) modules. On cygwin,
   libtool can't make two shared libraries which depend on each other.
   A solution to this which was never committed was to build the
   libsvn_swig_* libraries as static libraries.
   (http://www.contactor.se/~dast/svn/archive-2004-07/0586.shtml)

3) They don't work on darwin. Having other modules depend on the core
   modules is no good on darwin because the core moules are built
   as dynamically loadable libraries, not dynamically linked libraries
   on that platform. On darwin, a library can be either dynamically
   loadable or dynamically linked, but not both.
   (http://www.contactor.se/~dast/svn/archive-2004-07/0759.shtml)

* build/ac-macros/swig.m4:
* Makefile.in
    revert r10236

* build/generator/gen_base.py
  (SWIGObject._init_, TargetSWIG.add_dependencies):
    revert r10236

  (TargetSWIGRuntime, TargetSWIG.add_dependencies):
    undo effects of r10233 on unix build, restore dependency on external
    swig runtime libraries

* build.conf
  (swig_client, swig_delta, swig_fs, swig_ra, swig_repos, swig_wc):
    undo effects of r10233 on unix build, make dependencies on
    "swig_core" into "nonlib" dependencies so they only show up
    on windows


Revision 850310 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 11 15:25:06 2004 UTC (20 years ago) by rey4
File length: 6769 byte(s)
Diff to previous 850130 (colored)
Get python bindings to build on unix and to not depend on an external
swig runtime library.

* build/ac-macros/swig.m4:
  (SWIG_RUNTIME_FLAG):
    new make variable for swig -runtime option

* Makefile.in
  (RUN_SWIG_PY, RUN_SWIG_NORUN_PY, RUN_SWIG_JAVA, RUN_SWIG_NORUN_JAVA):
    use separate commands for running swig with and without runtime

* build.conf
  (libsvn_swig_python):
    use "nonlibs" dependency on "swig_core" instead of "libs" dependency
    to avoid circular dependency error in make

* build/generator/gen_base.py
  (SWIGObject.__init__, TargetSWIG.add_dependencies):
    add new "target" member to swig objects to expose more build
    information to make backend

* build/generator/gen_make.py
  (Generator.write):
    use "include-runtime" values on swig targets to determine whether to
    call swig with runtime or not



Revision 850130 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 22 23:24:57 2004 UTC (20 years, 1 month ago) by breser
File length: 6669 byte(s)
Diff to previous 850100 (colored)
Fix incorrect quoting in swig.m4.

* build/ac-macros/swig.m4
  Use [] not "".



Revision 850100 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 18 16:24:49 2004 UTC (20 years, 1 month ago) by breser
File length: 6669 byte(s)
Diff to previous 850098 (colored)
No longer build any bindings code by default, per agreement with sussman,
cmpilato and myself on IRC.

* Makefile.in
  Remove SWIG_BUILD_RULES from local-all, SWIG_INSTALL_RULES from local-install.

* build/ac-macros/swig.m4
  Remove SWIG_BUILD_RULES and SWIG_INSTALL_RULES.

* INSTALL
  Update the Perl documentation, now that it isn't built by default.



Revision 850098 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 18 05:01:17 2004 UTC (20 years, 1 month ago) by breser
File length: 7138 byte(s)
Diff to previous 850097 (colored)
Add test for perl version to disable perl bindings if not 5.8.0 or newer.
Also remove some cruft from the old build setup.

* Makfile.in
  Remove SWIG_PL_COMPILE and SWIG_PL_LINK which are unused.
  SWIG_PL_INCLUDES doesn't need the path to libsvn_swig_perl.

* build/ac-macros/swig.m4
  Remove SWIG_PL_COMPILE and SWIG_PL_LINK which are unused.
  Add test for perl version newer than 5.8.0.



Revision 850097 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 17 20:26:29 2004 UTC (20 years, 1 month ago) by breser
File length: 7026 byte(s)
Diff to previous 849077 (colored)
Finish up making the Perl binding build integrated into the Subversion mainline
build process.  In the process make the Perl bindings build a lot smarter about
dependcies!  Also the Perl bindings will now build and install by default if
they are enabled.

* Makefile.in
  Remove RUN_SWIG_PL, COMPILE_PL_WRAPPER, LINK_PL_WRAPPER, INSTALL_SWIG_PL as
    they are unused now.
  Add SWIG_PL_DIR to make things more readable.
  Add PERL variable to acquire the PERL detected by configure.
  Add SWIG_CLEAN_RULES to the local-clean target.
  Add target to build the Perl Makefile from Makefile.PL
  Add targets to build, check/test, install and clean the perl bindings.

* build.conf
  Remove the perl bindings from build.conf so the Python generator won't
    generate the wrong targets that don't work.  But leave in the configuration
    for libsvn_swig_perl, the support library, that the mainline build already
    knew how to build properly.

* build/ac-macros/swig.m4
  Enable Perl bindings to build and install by default.
  Add SWIG_CLEAN_RULES and set it so clean-swig-pl can be called by the
    clean target.
  
* subversion/bindings/swig/perl/native
  Add Makefile.PL to the svn:ignore property.

* subversion/bindings/swig/perl/native/Makefile.PL.in
  Add dependency on the relevent library we're binding so if the library is
  changed the bindings will be rebuilt.

* subversion/bindings/swig/INSTALL
  Update documentation to match the new and improved build process.



Revision 849077 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 12 04:05:52 2004 UTC (20 years, 4 months ago) by dlr
File length: 7013 byte(s)
Diff to previous 849076 (colored)
* build/ac-macros/swig.m4
  (SWIG_JAVA_LINK): Include the path to the directory containing
  libsvn_swig_java in the preprocessor token.  Avoids errors when
  building the SWIG Java bindings like:

    /usr/bin/ld: cannot find -lsvn_swig_java-1

  Where the link command references the library, but can't find it
  because it's not in the linker's library path.


Revision 849076 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 12 02:54:40 2004 UTC (20 years, 4 months ago) by dlr
File length: 6796 byte(s)
Diff to previous 849067 (colored)
* build/ac-macros/swig.m4
  Removed my comment about being unable to confirm that SWIG 1.3.20
  was the version where the "-c" flag became "-noruntime".  SWIG's
  release notes <http://www.swig.org/Release/CHANGES> verify this.


Revision 849067 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 11 18:22:30 2004 UTC (20 years, 4 months ago) by dlr
File length: 6989 byte(s)
Diff to previous 848961 (colored)
* build/ac-macros/swig.m4
  Defined a SWIG_NORUNTIME_FLAG preprocessor token to gracefully
  handle SWIG's deprecation of the "-c" flag, documented as "do not
  include SWIG runtime functions (used for creating multi-module
  packages)".  In my version of SWIG (1.3.21), use of "-c" generates
  this warning:

    SWIG:1: Warning(120): -c command line option is deprecated.
    Use -noruntime instead.


* Makefile.in
  Made the SWIG_NORUNTIME_FLAG provided by configure available as a
  Makefile variable, and used it in place of "-c" in RUN_SWIG_PY,
  RUN_SWIG_PL, and RUN_SWIG_JAVA.


Revision 848961 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 4 07:00:01 2004 UTC (20 years, 4 months ago) by jerenkrantz
File length: 6425 byte(s)
Diff to previous 848637 (colored)
Stop depending upon presence of SWIG to build JavaHL.

* Makefile.in: Directly include JNI_INCLUDES instead of referencing
  SWIG_JAVA_INCLUDES.
* build/ac-macros/java.m4 (SVN_FIND_JDK): Move in the JNI_INCLUDE expansion
  into here from swig.m4.
* build/ac-macros/swig.m4 (SVN_FIND_SWIG): Use the JNI_INCLUDE expansion
  rather than doing it here.


Revision 848637 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 5 17:02:21 2004 UTC (20 years, 5 months ago) by jerenkrantz
File length: 6572 byte(s)
Diff to previous 848531 (colored)
Allow javahl to be built by the core build system.  Pass --enable-javahl to
configure.  (Not clear what needs to be added for MSVC support though;
Python eagle eyes may find some better ways to optimize the gen_make code.)

* Makefile.in: Add javahl_* specific location variables; add support for C++
  compilers if JavaHL is defined; add JAVAH location.
* build.conf: Add JavaHL targets.
* configure.in: Add --enable-javahl argument; if we enabled javahl, look for
  a C++ compiler.
* build/ac-macros/java.m4: Clean up JDK detection to allow non-standard
  (i.e. Darwin) installs; add location for JNI includes here rather than
  deferring to SWIG m4 macros.
* build/ac-macros/swig.m4: Use pre-detected JNI includes dir instead of
  guessing.
* build/generator/gen_base.py: Add support for C++ and Java compilation
* build/generator/gen_make.py: Write out the correct stubs if we are doing
  Java compilation.
* subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/SVNClient.java:
  Due to the our build system, javahl *MUST* be compiled with its major
  version number.  This follows with the rest of the Subversion build system
  and our library structure.  So, this is an incompatible change with
  JavaHL's previous build system, but necessary for 'nice' integration with
  the core build system.


Revision 848531 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 23 06:43:39 2004 UTC (20 years, 6 months ago) by breser
File length: 6572 byte(s)
Diff to previous 848515 (colored)
Fix python bindings to work with SWIG 1.3.20 and newer.

* build/ac-macros/swig.m4
  Add SWIG_INCLUDES to SWIG_PY_INCLUDES

* subversion/bindings/swig/swigutil_py.h
  Add necessary includes and macros for SWIG 1.3.20 and newer.

Approved by philip



Revision 848515 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 22 01:41:50 2004 UTC (20 years, 6 months ago) by epg
File length: 6554 byte(s)
Diff to previous 848514 (colored)
Needed as part of the fix for Issue #1690

* build/ac-macros/swig.m4
  And here's the rest of Ben Reser's correction to my SWIG_VERSION fix.


Revision 848514 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 22 01:14:55 2004 UTC (20 years, 6 months ago) by epg
File length: 6527 byte(s)
Diff to previous 848512 (colored)
Needed as part of the fix for Issue #1690

* build/ac-macros/swig.m4
  Ben Reser corrects my SWIG_VERSION correction.


Revision 848512 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 22 00:17:28 2004 UTC (20 years, 6 months ago) by epg
File length: 6391 byte(s)
Diff to previous 848491 (colored)
Needed as part of the fix for Issue #1690

* build/ac-macros/swig.m4
  Correct the sed program that creates SWIG_VERSION; it now handles
  SWIG versions with letters and other funny characters at the end of
  the version string.


Revision 848491 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 21 15:35:17 2004 UTC (20 years, 6 months ago) by epg
File length: 6483 byte(s)
Diff to previous 848180 (colored)
Commit Ben Reser's issue #1690 patch.

General fixes for building against SWIG 1.3.20 and newer.

* Makefile.in
* build/ac-macros/swig.m4
  Add SWIG_VERSION so we can detect which swig version we are buildling
    against.
  Move SWIG_LIBSWIG_DIR out of the python section and include it in
    the Makefile.
  Make the SWIG version test more flexible, so we can match on ranges
    of version numbers not just with patterns.
  SWIG_PL_INCLUDES now pulls in SWIG_INCLUDES as well.
  Define SVN_SWIG_VERSION in SWIG_INCLUDES (the SVN_ is to avoid
    namespace issues with SWIG that breaks Python)
  Add SWIG_LIBSWIG_DIR as an include dir in SWIG_INCLUDES

* subversion/bindings/swig/swigutil_pl.h
  Fixes to build against SWIG 1.3.20 or 1.3.21.

* subversion/bindings/swig/INSTALL
* subversion/bindings/swig/README
  Update documentation regarding perl bindings install.

* subversion/bindings/swig/perl/Makefile.PL
  Rework to make the postamble easier to read and maintain.
  Fixes for swig 1.3.20 and newer building.
  Use the perl correct path to the perl for perl commands
    run from the Makefile, ie the same perl as the Makefile.PL
    was run with.


Revision 848180 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 27 22:34:52 2003 UTC (20 years, 7 months ago) by ehu
File length: 5786 byte(s)
Diff to previous 847655 (colored)
Add selectable swig targets to configure.

* build/ac-macros/swig.m4
  add --enable-swig-bindings option to select build targets
  included in standard make.



Revision 847655 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 31 08:51:39 2003 UTC (20 years, 8 months ago) by jerenkrantz
File length: 4351 byte(s)
Diff to previous 846729 (colored)
Rework Java SWIG bindings to work with VPATH and non-Linux boxen.

* Makefile.in: Use SWIG_JAVA_COMPILE, SWIG_JAVA_LINK from swig.m4; change
  RUN_SWIG_JAVA to execute in the SWIG_BUILD_DIR; rework .java compilation to
  occur *after* we've generated the SWIG bindings (at install time via
  INSTALL_EXTRA_SWIG_JAVA); do not try to make a directory if it already
  exists; remove java-api and swig-java-api targets (what *were* these
  supposed to do?).
* build/ac-macros/swig.m4: Add in $(JDK)/include to JAVA_INCLUDES by default.
  (Mac OS X has JDK in a funny place, so this will do the right thing -
  could be superfluous on non-Mac OS X boxes - oh well); until we have logic
  to know what to compile JNI as - just steal from our pal Python's module
  compile and link lines (good as anything else and better than before).
* build/generator/gen_base.py: Remove java-api hack as now supplanted by
  INSTALL_EXTRA_SWIG_JAVA target.
* build/generator/gen_make.py: Replace $(top_srcdir) with $(abs_srcdir)
  because autoconf is lame and makes those relative (post-2.52), and for the
  Java target we *need* the full path not the relative path (could optimize by
  just doing abs_srcdir just for the java targets); Remove java-specific
  hack for not printing the full paths.

Apologies to dlr if this breaks his build.


Revision 846729 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 6 01:16:42 2003 UTC (20 years, 11 months ago) by clkao
File length: 4092 byte(s)
Diff to previous 846724 (colored)
Fix a configure error message introduced in rev 6650.

Reported by: philip

* build/ac-macros/swig.m4: Escape $(SWIG_PL_INCLUDES) so it gets
  into configure verbatim.


Revision 846724 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 5 16:20:27 2003 UTC (20 years, 11 months ago) by clkao
File length: 4091 byte(s)
Diff to previous 846515 (colored)
Fix building a real libsvn_swig_perl, which requires proper perl
include paths.

* build/ac-macros/swig.m4: assign SWIG_PL_INCLUDES.
* build/generator/gen_base.py: add custom class for swig-pl.
* Makefile.in: define COMPILE_SWIG_PL, INSTALL_SWIG_PL, and
  INSTALL_SWIG_PL_LIB properly.



Revision 846515 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 10 21:20:26 2003 UTC (21 years ago) by jerenkrantz
File length: 4072 byte(s)
Diff to previous 845666 (colored)
Add build infrastructure to support Perl SWIG bindings.

The bindings will build, but it is unknown if they actually work or install.
Use 'make swig-pl' to build.

* Makefile.in: Add the relevant SWIG_PY_* variables and directory information.
* build.conf: Add perl-specific options so perl SWIG targets will be emitted.
* configure.in: Search for perl - if it exists set PERL.
* build/ac-macros/swig.m4 (SVN_FIND_SWIG): Use the Config and ExtUtils::Embed
  packages to discover the appropriate information on how to build modules for
  Perl from C.
  (This may be further abstracted into get-pl-info.pl if time allows.)
* subversion/bindings/swig/swigutil_pl.c (Added): Add a placeholder file for
  the Perl stub libraries.  build.conf requires this to be present and will
  most likely be needed eventually, so add it now.

Suggested by: John Peacock <jpeacock@rowman.com>


Revision 845666 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 9 00:36:09 2003 UTC (21 years, 3 months ago) by blair
File length: 3647 byte(s)
Diff to previous 845232 (colored)
* build/ac-macros/swig.m4:
  Allow swig 1.3.19, but not 1.3.18 since it is buggy.
  If a suitable version of swig cannot be found, mention 1.3.19
    instead of 1.3.16.


Revision 845232 - (view) (download) (annotate) - [select for diffs]
Added Sat Mar 1 12:41:09 2003 UTC (21 years, 5 months ago) by gstein
File length: 3646 byte(s)
build/ was always intended to be a superset of ac-helpers (autoconf
macros, build tools, scripts, etc), and to obsolete the ac-helpers
directory. Get a bunch of stuff moved from ac-helpers to build.

* build/get-neon-ver.sh: moved from ac-helpers
* build/get-py-info.py: moved from ac-helpers

* build/ac-macros: new directory to hold autoconf (m4) macros

* build/ac-macros/apr.m4,
  build/ac-macros/aprutil.m4,
  build/ac-macros/berkeley-db.m4,
  build/ac-macros/find_apr.m4,
  build/ac-macros/find_apu.m4,
  build/ac-macros/java.m4,
  build/ac-macros/svn-apache.m4,
  build/ac-macros/svn-macros.m4: moved from ac-helpers

* build/ac-macros/neon.m4: moved from ac-helpers. changed path to
    get-neon-ver.sh.

* build/ac-macros/swig.m4: moved from ac-helpers. changed path to
    get-py-info.py.

* build/ac-diff-test: new directory to hold the gnu-diff test

* build/ac-diff-test/check-diff-input-1.txt,
  build/ac-diff-test/check-diff-input-2.txt,
  build/ac-diff-test/gnu-diff.m4
  build/ac-diff-test/mine.txt,
  build/ac-diff-test/older.txt,
  build/ac-diff-test/result.txt,
  build/ac-diff-test/yours.txt: moved from ac-helpers

* build/buildcheck.sh:
  - change path to get-neon-ver.sh
  - change paths to find_apr.m4 and find_apu.m4

* configure.in:
  - change paths in the sinclude() macros
  - change path in SVN_LIB_DIFFUTILS() invocation


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.


infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26