I don't think that option name makes sense.
It seems that saying --disable-local-use will use the script editing
code to *ensure* the built-executables will work.
On Mon, May 4, 2009 at 19:21, Arfrever Frehtes Taifersar Arahesis
<Arfrever.FTA_at_gmail.com> wrote:
> Author: arfrever
> Date: Mon May  4 10:21:19 2009
> New Revision: 37573
>
> Log:
> Add the '--disable-local-use' option which allows to disable using of locally
> built executables.
>
> * configure.ac
> Â (local-use): New.
>
> * Makefile.in
> Â (local-all): Depend on '@TRANSFORM_LIBTOOL_SCRIPTS@'.
>
> * build/transform_libtool_scripts.sh: Delete the check for Mac OS which was
> Â moved to configure.ac.
>
> Modified:
> Â trunk/Makefile.in
> Â trunk/build/transform_libtool_scripts.sh
> Â trunk/configure.ac
>
> Modified: trunk/Makefile.in
> URL: http://svn.collab.net/viewvc/svn/trunk/Makefile.in?pathrev=37573&r1=37572&r2=37573
> ==============================================================================
> --- trunk/Makefile.in  Mon May  4 10:20:15 2009     (r37572)
> +++ trunk/Makefile.in  Mon May  4 10:21:19 2009     (r37573)
> @@ -313,7 +313,7 @@ install: external-install local-install
>
> Â @INCLUDE_OUTPUTS@
>
> -local-all: @BUILD_RULES@ transform-libtool-scripts
> +local-all: @BUILD_RULES@ @TRANSFORM_LIBTOOL_SCRIPTS@
>
> Â transform-libtool-scripts: @BUILD_RULES@
> Â Â Â Â @$(top_srcdir)/build/transform_libtool_scripts.sh
>
> Modified: trunk/build/transform_libtool_scripts.sh
> URL: http://svn.collab.net/viewvc/svn/trunk/build/transform_libtool_scripts.sh?pathrev=37573&r1=37572&r2=37573
> ==============================================================================
> --- trunk/build/transform_libtool_scripts.sh   Mon May  4 10:20:15 2009     (r37572)
> +++ trunk/build/transform_libtool_scripts.sh   Mon May  4 10:21:19 2009     (r37573)
> @@ -1,9 +1,5 @@
> Â #!/bin/sh
>
> -if test "$(uname)" = "Darwin"; then
> - Â exit
> -fi
> -
> Â # Dependencies of libraries
> Â subr="subr"
> Â auth_gnome_keyring="auth_gnome_keyring $subr"
>
> Modified: trunk/configure.ac
> URL: http://svn.collab.net/viewvc/svn/trunk/configure.ac?pathrev=37573&r1=37572&r2=37573
> ==============================================================================
> --- trunk/configure.ac  Mon May  4 10:20:15 2009     (r37572)
> +++ trunk/configure.ac  Mon May  4 10:21:19 2009     (r37573)
> @@ -244,6 +244,24 @@ AC_ARG_ENABLE(all-static,
> Â AC_SUBST(LT_CFLAGS)
> Â AC_SUBST(LT_LDFLAGS)
>
> +AC_ARG_ENABLE(local-use,
> + Â AS_HELP_STRING([--disable-local-use],
> + Â Â Â Â Â Â Â Â [Disable use of locally built executables]),
> + Â [
> + Â if test "$enableval" != "no"; then
> + Â Â TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts"
> + Â else
> + Â Â TRANSFORM_LIBTOOL_SCRIPTS=""
> + Â fi
> + Â ], [
> + Â if test "`uname`" != "Darwin"; then
> + Â Â TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts"
> + Â else
> + Â Â TRANSFORM_LIBTOOL_SCRIPTS=""
> + Â fi
> +])
> +AC_SUBST(TRANSFORM_LIBTOOL_SCRIPTS)
> +
> Â dnl Check if -no-undefined is needed for the platform.
> Â dnl It should always work but with libtool 1.4.3 on OS X it breaks the build.
> Â dnl So we only turn it on for platforms where we know we really need it.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=495&dsMessageId=2058255
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2070573
Received on 2009-05-05 18:09:10 CEST