On Tue, 14 Dec 2010, Peter Samuelson wrote:
>
> [Martin Furter]
>> I again fell over transform_libtool_scripts.sh on solaris.
>
> Would this patch help on Solaris? I believe autoconf goes to some
> effort to find a reasonable shell, in /usr/xpg4 or whatever.
>
> [[[
> * Makefile.in
> (transform-libtool-scripts): Run with $(SHELL) rather than /bin/sh,
> for systems like Solaris where /bin/sh is not a reasonable POSIX
> shell.
> ]]]
>
> --- Makefile.in
> +++ Makefile.in
> @@ -351,7 +351,7 @@
> local-all: @BUILD_RULES@ @TRANSFORM_LIBTOOL_SCRIPTS@
>
> transform-libtool-scripts: @BUILD_RULES@
> - @$(top_srcdir)/build/transform_libtool_scripts.sh
> + @$(SHELL) $(top_srcdir)/build/transform_libtool_scripts.sh
>
> locale-gnu-pot:
> cd $(abs_srcdir) && XGETTEXT="$(XGETTEXT)" MSGMERGE="$(MSGMERGE)" \
>
> Presumably the same patch could apply to other .sh scripts run from
> Makefile....
Configure has set SHELL=/bin/bash in Makefile. So this would solve one of
the problems of that script.
The other problem is that it does not read build.conf so always when
anyone changes build.conf he has to remember that he may have update
transform_libtool_scripts.sh depending on teh change he made. At the
moment it doesn't process subversion/svnrdump/svnrdump here.
Received on 2010-12-14 12:40:52 CET