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

Re: [PATCH]: transform_libtool_scripts.py

From: Peter Samuelson <peter_at_p12n.org>
Date: Tue, 14 Dec 2010 05:15:00 -0600

[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....
Received on 2010-12-14 12:15:54 CET

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.