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

Re: [PATCH] Behave correctly when users specify SWIG binary instead of SWIG directory as configure option

From: Ben Reser <ben_at_reser.org>
Date: 2004-09-10 03:03:19 CEST

On Thu, Aug 26, 2004 at 03:42:50PM -0400, David James wrote:
> Occasionally, users will forget to read instructions. When they do,
> it's helpful for us to be as forgiving as we can.
>
> In our configure documentation, we ask users to specify
> --with-swig=PATH. Currently, when users specify the path to "swig" as
> the path to the SWIG binary, the build fails with an error message
> that is difficult to understand. This patch makes SWIG build correctly
> in that situation, and it therefore will make the Subversion build
> process just a little bit more user-friendly.
>
> ===================================================================
> --- build/ac-macros/swig.m4 (revision 10736)
> +++ build/ac-macros/swig.m4 (working copy)
> @@ -75,6 +75,7 @@
> AC_PATH_PROG(SWIG, swig, none)
> else
> SWIG=$where/bin/swig
> + test -x $SWIG || SWIG=$where
> fi
>
> if test "$SWIG" != "none"; then

Committed something that serves the same purpose but is more complete
about resolving the issue in r10868.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 10 07:05:45 2004

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.