[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1054087 - in /subversion/trunk: Makefile.in build/ac-macros/swig.m4 build/generator/gen_make.py

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Fri, 1 Apr 2011 18:33:40 +0200

2010-12-31 12:01:57 danielsh_at_apache.org napisaƂ(a):
> Author: danielsh
> Date: Fri Dec 31 11:01:56 2010
> New Revision: 1054087
>
> URL: http://svn.apache.org/viewvc?rev=1054087&view=rev
> Log:
> 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.
>
> Modified:
> subversion/trunk/Makefile.in
> subversion/trunk/build/ac-macros/swig.m4
> subversion/trunk/build/generator/gen_make.py
>
> Modified: subversion/trunk/Makefile.in
> URL: http://svn.apache.org/viewvc/subversion/trunk/Makefile.in?rev=1054087&r1=1054086&r2=1054087&view=diff
> ==============================================================================
> --- subversion/trunk/Makefile.in (original)
> +++ subversion/trunk/Makefile.in Fri Dec 31 11:01:56 2010
> @@ -702,6 +702,12 @@ install-man:
> install-swig-py: install-swig-py-lib
> install-swig-rb: install-swig-rb-lib
>
> +check-SWIG:
> + if [ "$(SWIG)" = "none" ]; then \
> + echo "SWIG disabled at configure time" >&2; \
> + exit 1; \
> + fi
> +

Release tarballs contain files pregenerated by SWIG. This revision probably breaks support
for building SWIG-based bindings from release tarballs when SWIG is not available.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2011-04-01 18:34:37 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.